Home | History | Annotate | Download | only in libpcap

Lines Matching defs:nh

112 	register struct nit_hdr *nh;
157 nh = (struct nit_hdr *)bp;
158 cp = bp + sizeof(*nh);
160 switch (nh->nh_state) {
168 pn->stat.ps_drop = nh->nh_dropped;
176 "bad nit state %d", nh->nh_state);
180 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen +
183 caplen = nh->nh_wirelen;
186 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) {
188 h.ts = nh->nh_timestamp;
189 h.len = nh->nh_wirelen;