Lines Matching refs:nh
110 register struct nit_hdr *nh;
158 nh = (struct nit_hdr *)bp;
159 cp = bp + sizeof(*nh);
161 switch (nh->nh_state) {
169 pn->stat.ps_drop = nh->nh_dropped;
177 "bad nit state %d", nh->nh_state);
181 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen +
184 caplen = nh->nh_wirelen;
187 if (pcapint_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) {
189 h.ts = nh->nh_timestamp;
190 h.len = nh->nh_wirelen;