Searched refs:ifunit (Results 1 – 23 of 23) sorted by relevance
131 ifconfig_inet(char *ifname, int ifunit, char *ip, char *netmask) in ifconfig_inet() argument145 ifunit); in ifconfig_inet()159 ifunit, ip); in ifconfig_inet()
235 if (ifunit(name) != NULL) in if_clone_createif()244 ifp = ifunit(name); in if_clone_createif()619 if (ifunit(name) != NULL) { in ifc_alloc_unit_specific()
775 if (ifunit(name) != NULL) in epair_clone_create()778 if (ifunit(name) != NULL) in epair_clone_create()
642 struct ifnet *ifunit(const char *);
1380 difp = ifunit(ifname); in if_vmove_loan()1430 ifp = ifunit(ifname); /* XXX Lock to avoid races. */ in if_vmove_reclaim()2529 ifunit(const char *name) in ifunit() function2804 if (ifunit(new_name) != NULL) in ifhwioctl()
1097 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add()1633 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_addspan()1672 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_delspan()
911 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()
1969 theywant = ifunit(ifr->ifr_name); in bpf_setif()
111 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in priq_pfattach()885 if ((ifp = ifunit(ap->ifname)) == NULL)
252 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in cbq_pfattach()913 if ((ifp = ifunit(ifacename)) == NULL)
84 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in codel_pfattach()
213 if ((ifp = ifunit(ifname)) != NULL)875 if ((ifp = ifunit(ifname)) == NULL)
563 ifp = ifunit(((struct rio_interface *)addr)->rio_ifname);
132 if ((ifp = ifunit(name)) != NULL) {528 if ((ifp = ifunit(a->ifname)) == NULL) in altq_pfdetach()
141 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in fairq_pfattach()
176 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in hfsc_pfattach()2121 if ((ifp = ifunit(ap->iface.hfsc_ifname)) == NULL)
807 ifp = ifunit(((struct red_interface *)addr)->red_ifname);
363 m->m_pkthdr.rcvif = ifunit(sin->sin_zero); in div_output()
817 if (V_reply_src[0] != '\0' && (ifp = ifunit(V_reply_src))) { in icmp_reflect()
620 ifp = ifunit(ifname); in ng_source_store_output_ifp()
748 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_enable_altq()771 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_disable_altq()801 if ((ifp1 = ifunit(altq->ifname)) == NULL || in pf_altq_ifnet_event_add()2415 ifp = ifunit(ps.ifname); in pfioctl()2508 if ((ifp = ifunit(altq->ifname)) == NULL) in pfioctl()
528 # define GETIFP(n, v) ifunit(n)
1207 ifnet.9 ifunit.9 \