Searched refs:ifunit (Results 1 – 25 of 25) 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()
220 if (ifunit(name) != NULL) in if_clone_createif()229 ifp = ifunit(name); in if_clone_createif()624 if (ifunit(name) != NULL) { in ifc_alloc_unit()
769 if (ifunit(name) != NULL) in epair_clone_create()772 if (ifunit(name) != NULL) in epair_clone_create()
818 if ((ifp = ifunit(ifname)) == NULL)885 p = ifunit(vlr.vlr_parent);1654 p = ifunit(vlr.vlr_parent);
982 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()1424 (tpif = ifunit(rp->rp_portname)) == NULL) { in lagg_ioctl()1445 (tpif = ifunit(rp->rp_portname)) == NULL) { in lagg_ioctl()1478 (tpif = ifunit(rp->rp_portname)) == NULL) { in lagg_ioctl()
553 struct ifnet *ifunit(const char *);
1095 difp = ifunit(ifname); in if_vmove_loan()1130 ifp = ifunit(ifname); /* XXX Lock to avoid races. */ in if_vmove_reclaim()2163 ifunit(const char *name) in ifunit() function2358 if (ifunit(new_name) != NULL) in ifhwioctl()
1086 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add()1619 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_addspan()1658 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_delspan()
1933 theywant = ifunit(ifr->ifr_name); in bpf_setif()
84 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in codel_pfattach()98 if ((ifp = ifunit(a->ifname)) == NULL) in codel_add_altq()
111 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in priq_pfattach()126 if ((ifp = ifunit(a->ifname)) == NULL) in priq_add_altq()886 if ((ifp = ifunit(ap->ifname)) == NULL)
252 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in cbq_pfattach()267 if ((ifp = ifunit(a->ifname)) == NULL) in cbq_add_altq()914 if ((ifp = ifunit(ifacename)) == NULL)
141 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in fairq_pfattach()156 if ((ifp = ifunit(a->ifname)) == NULL) in fairq_add_altq()
213 if ((ifp = ifunit(ifname)) != NULL)875 if ((ifp = ifunit(ifname)) == NULL)
174 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in hfsc_pfattach()189 if ((ifp = ifunit(a->ifname)) == NULL) in hfsc_add_altq()2035 if ((ifp = ifunit(ap->iface.hfsc_ifname)) == NULL)
563 ifp = ifunit(((struct rio_interface *)addr)->rio_ifname);
132 if ((ifp = ifunit(name)) != NULL) {538 if ((ifp = ifunit(a->ifname)) == NULL) in altq_pfdetach()
807 ifp = ifunit(((struct red_interface *)addr)->red_ifname);
192 ifp = ifunit(snatm->snatm_if); in natm_usr_connect()
368 m->m_pkthdr.rcvif = ifunit(sin->sin_zero); in div_output()
735 if (V_reply_src[0] != '\0' && (ifp = ifunit(V_reply_src))) { in icmp_reflect()
621 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_enable_altq()644 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_disable_altq()707 if ((ifp1 = ifunit(a2->ifname)) == NULL || in pf_altq_ifnet_event()1998 ifp = ifunit(ps.ifname); in pfioctl()2087 if ((ifp = ifunit(altq->ifname)) == NULL) in pfioctl()
612 ifp = ifunit(ifname); in ng_source_store_output_ifp()
539 # define GETIFP(n, v) ifunit(n)
925 ifnet.9 ifunit.9 \