- Clearing global state added
- IPRA timer debugging temporarily added
This commit is contained in:
parent
c01907fdde
commit
ae2c228bda
@ -10,7 +10,7 @@
|
||||
#include "etherlib/prefab/packet_parsers/tcp_segment.h"
|
||||
#include "utils.h"
|
||||
|
||||
EthState gEthState;
|
||||
EthState gEthState = { 0 };
|
||||
|
||||
static void register_packet_parsers() {
|
||||
PcktClassDesc cdesc;
|
||||
|
@ -142,6 +142,7 @@ void ipra_input(IPv4Assembler *ipra, const IPv4Props *ipProps, const uint8_t *pa
|
||||
aud.ptr = ipra;
|
||||
aud.u = chainDesc->id;
|
||||
timer_sched_rel(E.tmr, IP_REASSEMBLY_TIMEOUT_US, ipra_timeout, aud);
|
||||
timer_report(E.tmr);
|
||||
}
|
||||
|
||||
bool ipra_try_reassemble(IPv4Assembler *ipra, uint16_t id, uint8_t **payload, uint16_t *size, PcktHeaderElement *pcktHdrLe) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user