add support for retrieving pcap packet timestamps
This commit is contained in:
@@ -98,6 +98,10 @@ static void metadata_from_mbuff_to_packet(marsio_buff_t *mbuff, struct packet *p
|
||||
|
||||
packet_set_action(pkt, PACKET_ACTION_FORWARD);
|
||||
packet_set_origin_ctx(pkt, mbuff);
|
||||
|
||||
// TODO
|
||||
const struct timeval tv = {};
|
||||
packet_set_timeval(pkt, &tv);
|
||||
}
|
||||
|
||||
static void metadata_from_packet_to_mbuff(struct packet *pkt, marsio_buff_t *mbuff)
|
||||
|
||||
Reference in New Issue
Block a user