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()
391 if (ifunit(name) != NULL) in if_clone_createif_nl() 574 *ifpp = ifunit(name); in ifc_advanced_destroy_wrapper() 616 *ifpp = ifunit(name); in ifc_simple_destroy_wrapper() 841 if (ifunit(name) != NULL) { in ifc_alloc_unit_specific()
677 if (ifunit(name) != NULL) { in epair_handle_unit()683 if (ifunit(name) != NULL) { in epair_handle_unit()
387 return (ifunit(if_name)); in info_get_ifp()
541 if_t ifunit(const char *);
1076 ifp = ifunit(db_tok_string); in debugnet_parse_ddb_cmd()
1249 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add() 1806 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_addspan() 1845 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_delspan()
1326 difp = ifunit(ifname); in if_vmove_loan()1382 ifp = ifunit(ifname); /* XXX Lock to avoid races. */ in if_vmove_reclaim()2266 ifunit(const char *name) in ifunit() function3139 if (ifunit(new_name) != NULL) in if_rename()
2092 theywant = ifunit(ifr->ifr_name); in bpf_setif()
1032 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()
2451 if (ifunit(name) != NULL) in ovpn_clone_create()
83 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()
154 if ((ifp = ifunit(name)) != NULL) { in altq_lookup()502 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()
381 m->m_pkthdr.rcvif = ifunit(sin->sin_zero); in div_send()
852 if (V_reply_src[0] != '\0' && (ifp = ifunit(V_reply_src))) { in icmp_reflect()
260 ifp = ifunit(bsdname); in ifname_bsd_to_linux_name()
622 ifp = ifunit(ifname); in ng_source_store_output_ifp()
493 # define GETIFP(n, v) ifunit(n)
1041 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_enable_altq()1064 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_disable_altq()1094 if ((ifp1 = ifunit(altq->ifname)) == NULL || in pf_altq_ifnet_event_add()4187 ifp = ifunit(ps.ifname); in pfioctl()4279 if ((ifp = ifunit(altq->ifname)) == NULL) in pfioctl()