Ports structure used to get the source and destination ports for transport protocols.
Definition: protocols.h:78
Trace file processing library header.
uint16_t src
Source port.
Definition: protocols.h:79
uint16_t dst
Destination port.
Definition: protocols.h:80
void * trace_get_payload_from_ethernet(void *ethernet, uint16_t *type, uint32_t *remaining)
Gets a pointer to the payload following an Ethernet header.
Definition: protocols_l2.c:51