Lines Matching refs:ifnet
114 struct ifnet *bif_ifp; /* corresponding interface */
199 static int bpf_movein(struct uio *, int, struct ifnet *, struct mbuf **,
272 * Each call allocates new bpf_if structure, references ifnet pointer
284 * There we need to be sure, that ifnet won't disappear during bpfwrite().
559 bpf_movein(struct uio *uio, int linktype, struct ifnet *ifp, struct mbuf **mp,
844 struct ifnet *ifp;
877 * If so and ifnet is not detached, turn it off.
1170 struct ifnet *ifp;
1221 * ifnet, free mbuf and return ENXIO.
1577 struct ifnet *const ifp = d->bd_bif->bif_ifp;
2057 struct ifnet *theywant;
2670 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
2683 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen,
2702 * Reference ifnet pointer, so it won't freed until
2746 bpfdetach(struct ifnet *ifp)
2784 struct ifnet *ifp;
2824 struct ifnet *ifp;
3028 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
3035 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp)
3042 bpfdetach(struct ifnet *ifp)