Lines Matching refs:PF_NDRV
37 * PF_NDRV allows raw access to a specified network device, directly
45 * PF_NDRV permits a fairly flexible mechanism for implementing
359 // PPP doesn't support PF_NDRV.
370 result = ifnet_attach_protocol(ifp, PF_NDRV, &ndrv_proto);
375 np->nd_proto_family = PF_NDRV;
550 if (proto_family != PF_NDRV && proto_family != 0) {
564 /* If there are no other interfaces, detach PF_NDRV from the interface */
567 ifnet_detach_protocol(ifp, PF_NDRV);
668 if (np->nd_proto_family != PF_NDRV)
807 if (np->nd_proto_family == PF_NDRV ||
813 np->nd_proto_family = PF_NDRV;
823 if (protocol == PF_NDRV) return NULL;
881 ifnet_detach_protocol(ifp, PF_NDRV);