add support for retrieving pcap packet timestamps
This commit is contained in:
@@ -174,6 +174,9 @@ enum packet_action
|
||||
void packet_set_action(struct packet *pkt, enum packet_action action);
|
||||
enum packet_action packet_get_action(const struct packet *pkt);
|
||||
|
||||
void packet_set_timeval(struct packet *pkt, const struct timeval *tv);
|
||||
const struct timeval *packet_get_timeval(const struct packet *pkt);
|
||||
|
||||
const char *packet_get_raw_data(const struct packet *pkt);
|
||||
uint16_t packet_get_raw_len(const struct packet *pkt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user