Searched refs:ifunit (Results 1 – 23 of 23) sorted by relevance
129 ifconfig_inet(char *ifname, int ifunit, char *ip, char *netmask) in ifconfig_inet() argument143 ifunit); in ifconfig_inet()157 ifunit, ip); in ifconfig_inet()
248 if (ifunit(name) != NULL) in if_clone_createif()430 *ifpp = ifunit(name); in ifc_advanced_create_wrapper()472 *ifpp = ifunit(name); in ifc_simple_create_wrapper()699 if (ifunit(name) != NULL) { in ifc_alloc_unit_specific()
546 if (ifunit(name) != NULL) in epair_clone_create()549 if (ifunit(name) != NULL) in epair_clone_create()
529 return (ifunit(if_name)); in info_get_ifp()
671 struct ifnet *ifunit(const char *);
1048 ifp = ifunit(db_tok_string); in debugnet_parse_ddb_cmd()
1371 difp = ifunit(ifname); in if_vmove_loan()1426 ifp = ifunit(ifname); /* XXX Lock to avoid races. */ in if_vmove_reclaim()2344 ifunit(const char *name) in ifunit() function2621 if (ifunit(new_name) != NULL) in ifhwioctl()
1236 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add()1776 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_addspan()1815 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_delspan()
2092 theywant = ifunit(ifr->ifr_name); in bpf_setif()
1020 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()
82 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in codel_pfattach()
214 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in cbq_pfattach()
85 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in priq_pfattach()
160 if ((ifp = ifunit(name)) != NULL) {529 if ((ifp = ifunit(a->ifname)) == NULL) in altq_pfdetach()
140 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in fairq_pfattach()
148 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in hfsc_pfattach()
257 ifp = ifunit(bsdname); in ifname_bsd_to_linux_name()
394 m->m_pkthdr.rcvif = ifunit(sin->sin_zero); in div_output()
846 if (V_reply_src[0] != '\0' && (ifp = ifunit(V_reply_src))) { in icmp_reflect()
621 ifp = ifunit(ifname); in ng_source_store_output_ifp()
494 # define GETIFP(n, v) ifunit(n)
830 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_enable_altq()853 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_disable_altq()883 if ((ifp1 = ifunit(altq->ifname)) == NULL || in pf_altq_ifnet_event_add()3322 ifp = ifunit(ps.ifname); in pfioctl()3414 if ((ifp = ifunit(altq->ifname)) == NULL) in pfioctl()
1336 ifnet.9 ifunit.9 \