Home | History | Annotate | Download | only in libpcap

Lines Matching refs:pkthdr

1012 			struct pcap_pkthdr pkthdr;
1014 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec;
1020 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000;
1022 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec;
1026 pkthdr.caplen = caplen - pad;
1028 pkthdr.caplen = 0;
1030 pkthdr.len = bhp->bh_datalen - pad;
1032 pkthdr.len = 0;
1035 pkthdr.caplen = caplen;
1036 pkthdr.len = bhp->bh_datalen;
1038 (*callback)(user, &pkthdr, datap);