add packet type raw and pseudo
This commit is contained in:
@@ -488,6 +488,7 @@ int pcap_io_recv(void *handle, uint16_t thr_idx, struct packet *pkts[], int nr_p
|
||||
packet_parse(pkt, pcap->data, pcap->len);
|
||||
memset(&pkt->meta, 0, sizeof(pkt->meta));
|
||||
packet_set_action(pkt, PACKET_ACTION_FORWARD);
|
||||
packet_set_type(pkt, PACKET_TYPE_RAW);
|
||||
packet_set_timeval(pkt, &pcap->ts);
|
||||
packet_set_origin(pkt, &origin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user