Home | History | Annotate | Download | only in libpcap

Lines Matching refs:nh

108 	register struct nit_hdr *nh;
153 nh = (struct nit_hdr *)bp;
154 cp = bp + sizeof(*nh);
156 switch (nh->nh_state) {
164 pn->stat.ps_drop = nh->nh_dropped;
172 "bad nit state %d", nh->nh_state);
176 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen +
179 caplen = nh->nh_wirelen;
182 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) {
184 h.ts = nh->nh_timestamp;
185 h.len = nh->nh_wirelen;