Home
last modified time | relevance | path

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

/freebsd-12.1/tools/regression/netinet/msocket_ifnet_remove/
H A Dmsocket_ifnet_remove.c131 ifconfig_inet(char *ifname, int ifunit, char *ip, char *netmask) in ifconfig_inet() argument
145 ifunit); in ifconfig_inet()
159 ifunit, ip); in ifconfig_inet()
/freebsd-12.1/sys/net/
H A Dif_clone.c235 if (ifunit(name) != NULL) in if_clone_createif()
244 ifp = ifunit(name); in if_clone_createif()
619 if (ifunit(name) != NULL) { in ifc_alloc_unit_specific()
H A Dif_epair.c775 if (ifunit(name) != NULL) in epair_clone_create()
778 if (ifunit(name) != NULL) in epair_clone_create()
H A Dif_var.h642 struct ifnet *ifunit(const char *);
H A Dif.c1380 difp = ifunit(ifname); in if_vmove_loan()
1430 ifp = ifunit(ifname); /* XXX Lock to avoid races. */ in if_vmove_reclaim()
2529 ifunit(const char *name) in ifunit() function
2804 if (ifunit(new_name) != NULL) in ifhwioctl()
H A Dif_bridge.c1097 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add()
1633 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_addspan()
1672 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_delspan()
H A Dif_lagg.c911 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()
H A Dbpf.c1969 theywant = ifunit(ifr->ifr_name); in bpf_setif()
/freebsd-12.1/sys/net/altq/
H A Daltq_priq.c111 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in priq_pfattach()
885 if ((ifp = ifunit(ap->ifname)) == NULL)
H A Daltq_cbq.c252 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in cbq_pfattach()
913 if ((ifp = ifunit(ifacename)) == NULL)
H A Daltq_codel.c84 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in codel_pfattach()
H A Daltq_cdnr.c213 if ((ifp = ifunit(ifname)) != NULL)
875 if ((ifp = ifunit(ifname)) == NULL)
H A Daltq_rio.c563 ifp = ifunit(((struct rio_interface *)addr)->rio_ifname);
H A Daltq_subr.c132 if ((ifp = ifunit(name)) != NULL) {
528 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.c176 if ((ifp = ifunit(a->ifname)) == NULL || a->altq_disc == NULL) in hfsc_pfattach()
2121 if ((ifp = ifunit(ap->iface.hfsc_ifname)) == NULL)
H A Daltq_red.c807 ifp = ifunit(((struct red_interface *)addr)->red_ifname);
/freebsd-12.1/sys/netinet/
H A Dip_divert.c363 m->m_pkthdr.rcvif = ifunit(sin->sin_zero); in div_output()
H A Dip_icmp.c817 if (V_reply_src[0] != '\0' && (ifp = ifunit(V_reply_src))) { in icmp_reflect()
/freebsd-12.1/sys/netgraph/
H A Dng_source.c620 ifp = ifunit(ifname); in ng_source_store_output_ifp()
/freebsd-12.1/sys/netpfil/pf/
H A Dpf_ioctl.c748 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_enable_altq()
771 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_disable_altq()
801 if ((ifp1 = ifunit(altq->ifname)) == NULL || in pf_altq_ifnet_event_add()
2415 ifp = ifunit(ps.ifname); in pfioctl()
2508 if ((ifp = ifunit(altq->ifname)) == NULL) in pfioctl()
/freebsd-12.1/sys/contrib/ipfilter/netinet/
H A Dip_compat.h528 # define GETIFP(n, v) ifunit(n)
/freebsd-12.1/share/man/man9/
H A DMakefile1207 ifnet.9 ifunit.9 \