Lines Matching refs:pcaphdr
4909 struct pcap_pkthdr pcaphdr; local
4993 pcaphdr.ts.tv_sec = tp_sec;
4994 pcaphdr.ts.tv_usec = tp_usec;
4995 pcaphdr.caplen = tp_snaplen;
4996 pcaphdr.len = tp_len;
5001 pcaphdr.caplen += SLL_HDR_LEN;
5002 pcaphdr.len += SLL_HDR_LEN;
5030 pcaphdr.caplen += VLAN_TAG_LEN;
5031 pcaphdr.len += VLAN_TAG_LEN;
5044 if (pcaphdr.caplen > (bpf_u_int32)handle->snapshot)
5045 pcaphdr.caplen = handle->snapshot;
5048 callback(user, &pcaphdr, bp);