Home
last modified time | relevance | path

Searched refs:ifunit (Results 1 – 23 of 23) sorted by relevance

/freebsd/tools/regression/netinet/msocket_ifnet_remove/
H A Dmsocket_ifnet_remove.c129 ifconfig_inet(char *ifname, int ifunit, char *ip, char *netmask) in ifconfig_inet() argument
143 ifunit); in ifconfig_inet()
157 ifunit, ip); in ifconfig_inet()
/freebsd/sys/net/
H A Dif_clone.c391 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()
H A Dif_epair.c677 if (ifunit(name) != NULL) { in epair_handle_unit()
683 if (ifunit(name) != NULL) { in epair_handle_unit()
H A Droute.c387 return (ifunit(if_name)); in info_get_ifp()
H A Dif_var.h541 if_t ifunit(const char *);
H A Ddebugnet.c1076 ifp = ifunit(db_tok_string); in debugnet_parse_ddb_cmd()
H A Dif_bridge.c1249 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()
H A Dif.c1326 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() function
3139 if (ifunit(new_name) != NULL) in if_rename()
H A Dbpf.c2092 theywant = ifunit(ifr->ifr_name); in bpf_setif()
H A Dif_lagg.c1032 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()
H A Dif_ovpn.c2451 if (ifunit(name) != NULL) in ovpn_clone_create()
/freebsd/sys/net/altq/
H A Daltq_codel.c83 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in codel_pfattach()
H A Daltq_cbq.c215 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in cbq_pfattach()
H A Daltq_priq.c86 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in priq_pfattach()
H A Daltq_subr.c154 if ((ifp = ifunit(name)) != NULL) { in altq_lookup()
502 if ((ifp = ifunit(a->ifname)) == NULL) in altq_pfdetach()
H A Daltq_fairq.c141 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in fairq_pfattach()
H A Daltq_hfsc.c149 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in hfsc_pfattach()
/freebsd/sys/netinet/
H A Dip_divert.c381 m->m_pkthdr.rcvif = ifunit(sin->sin_zero); in div_send()
H A Dip_icmp.c852 if (V_reply_src[0] != '\0' && (ifp = ifunit(V_reply_src))) { in icmp_reflect()
/freebsd/sys/compat/linux/
H A Dlinux.c260 ifp = ifunit(bsdname); in ifname_bsd_to_linux_name()
/freebsd/sys/netgraph/
H A Dng_source.c622 ifp = ifunit(ifname); in ng_source_store_output_ifp()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h493 # define GETIFP(n, v) ifunit(n)
/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c1041 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()