Home | History | Annotate | Download | only in libpcap

Lines Matching refs:nh

104 	register struct nit_hdr *nh;
149 nh = (struct nit_hdr *)bp;
150 cp = bp + sizeof(*nh);
152 switch (nh->nh_state) {
160 p->md.stat.ps_drop = nh->nh_dropped;
168 "bad nit state %d", nh->nh_state);
172 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen +
175 caplen = nh->nh_wirelen;
178 if (bpf_filter(fcode, cp, nh->nh_wirelen, caplen)) {
180 h.ts = nh->nh_timestamp;
181 h.len = nh->nh_wirelen;