Searched refs:pkt_header (Results 1 – 2 of 2) sorted by relevance
262 struct pcap_pkthdr *pkt_header; in forward_to_hijacker() local267 if ( pcap_next_ex ( hijack->pcap, &pkt_header, &pkt_data ) < 0 ) { in forward_to_hijacker()272 if ( pkt_header->caplen != pkt_header->len ) { in forward_to_hijacker()274 pkt_header->caplen, pkt_header->len ); in forward_to_hijacker()277 if ( pkt_header->caplen == 0 ) in forward_to_hijacker()279 len = pkt_header->caplen; in forward_to_hijacker()
224 pcap_next_ex(pcap_t *p, struct pcap_pkthdr **pkt_header, in pcap_next_ex() argument234 *pkt_header= &p->pcap_header; in pcap_next_ex()