Searched refs:pkthdr (Results 1 – 3 of 3) sorted by relevance
/external/libpcap/ |
D | dlpisubs.c | 127 struct pcap_pkthdr pkthdr; in pcap_process_pkts() local 181 pkthdr.ts.tv_sec = sbp->sbh_timestamp.tv_sec; in pcap_process_pkts() 182 pkthdr.ts.tv_usec = sbp->sbh_timestamp.tv_usec; in pcap_process_pkts() 184 (void) gettimeofday(&pkthdr.ts, NULL); in pcap_process_pkts() 186 pkthdr.len = origlen; in pcap_process_pkts() 187 pkthdr.caplen = caplen; in pcap_process_pkts() 189 if (pkthdr.caplen > p->snapshot) in pcap_process_pkts() 190 pkthdr.caplen = p->snapshot; in pcap_process_pkts() 191 (*callback)(user, &pkthdr, pk); in pcap_process_pkts()
|
D | pcap-bpf.c | 1008 struct pcap_pkthdr pkthdr; in pcap_read_bpf() local 1010 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec; in pcap_read_bpf() 1016 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000; in pcap_read_bpf() 1018 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec; in pcap_read_bpf() 1022 pkthdr.caplen = caplen - pad; in pcap_read_bpf() 1024 pkthdr.caplen = 0; in pcap_read_bpf() 1026 pkthdr.len = bhp->bh_datalen - pad; in pcap_read_bpf() 1028 pkthdr.len = 0; in pcap_read_bpf() 1031 pkthdr.caplen = caplen; in pcap_read_bpf() 1032 pkthdr.len = bhp->bh_datalen; in pcap_read_bpf() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-04-29-LinearScanBug.ll | 22 %18 = type { %struct.pkthdr, %19 } 92 %struct.pkthdr = type { i32, %struct.ifnet*, i8*, i32, i32, i32, i16, i16, %struct.packet_tags }
|