Lines Matching defs:hdrlen
1629 int hdrlen = d->bd_bif->bif_hdrlen;
1636 totlen = hdrlen + min(snaplen, pktlen);
1675 hp->bh_hdrlen = hdrlen;
1679 (*cpfn)(pkt, (u_char *)hp + hdrlen, (hp->bh_caplen = totlen - hdrlen));
1728 * in the driver's softc; dlt is the link layer type; hdrlen is the fixed
1732 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
1734 bpf_attach(ifp, dlt, hdrlen, NULL, NULL);
1741 u_int32_t hdrlen,
1796 bp_new->bif_hdrlen = BPF_WORDALIGN(hdrlen + SIZEOF_BPF_HDR) - hdrlen;