Searched refs:ifunit (Results 1 – 19 of 19) sorted by relevance
235 if (ifunit(name) != NULL) in if_clone_createif()244 ifp = ifunit(name); in if_clone_createif()620 if (ifunit(name) != NULL) { in ifc_alloc_unit_specific()
776 if (ifunit(name) != NULL) in epair_clone_create()779 if (ifunit(name) != NULL) in epair_clone_create()
666 struct ifnet *ifunit(const char *);
1024 ifp = ifunit(db_tok_string); in debugnet_parse_ddb_cmd()
1404 difp = ifunit(ifname); in if_vmove_loan()1454 ifp = ifunit(ifname); /* XXX Lock to avoid races. */ in if_vmove_reclaim()2375 ifunit(const char *name) in ifunit() function2663 if (ifunit(new_name) != NULL) in ifhwioctl()
1148 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add()1681 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_addspan()1720 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_delspan()
2061 theywant = ifunit(ifr->ifr_name); in bpf_setif()
1024 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()
84 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in codel_pfattach()
215 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in cbq_pfattach()
86 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in priq_pfattach()
129 if ((ifp = ifunit(name)) != NULL) {498 if ((ifp = ifunit(a->ifname)) == NULL) in altq_pfdetach()
141 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in fairq_pfattach()
149 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in hfsc_pfattach()
366 m->m_pkthdr.rcvif = ifunit(sin->sin_zero); in div_output()
837 if (V_reply_src[0] != '\0' && (ifp = ifunit(V_reply_src))) { in icmp_reflect()
620 ifp = ifunit(ifname); in ng_source_store_output_ifp()
761 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_enable_altq()784 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_disable_altq()814 if ((ifp1 = ifunit(altq->ifname)) == NULL || in pf_altq_ifnet_event_add()2720 ifp = ifunit(ps.ifname); in pfioctl()2813 if ((ifp = ifunit(altq->ifname)) == NULL) in pfioctl()
507 # define GETIFP(n, v) ifunit(n)