Searched refs:pkt_data (Results 1 – 4 of 4) sorted by relevance
103 const u_char *pkt_data) in l2_packet_receive_cb() argument108 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()111 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
148 const u_char *pkt_data) in l2_packet_receive_cb() argument155 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()158 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
263 const unsigned char *pkt_data; in forward_to_hijacker() local267 if ( pcap_next_ex ( hijack->pcap, &pkt_header, &pkt_data ) < 0 ) { in forward_to_hijacker()282 if ( write ( fd, pkt_data, len ) != len ) { in forward_to_hijacker()
225 const u_char **pkt_data) in pcap_next_ex() argument230 s.pkt = pkt_data; in pcap_next_ex()