Home
last modified time | relevance | path

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

/freebsd-13.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-13.1/sys/net/
H A Dif_clone.c235 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()
H A Dif_epair.c521 if (ifunit(name) != NULL) in epair_clone_create()
524 if (ifunit(name) != NULL) in epair_clone_create()
H A Droute.c529 return (ifunit(if_name)); in info_get_ifp()
H A Dif_var.h670 struct ifnet *ifunit(const char *);
H A Ddebugnet.c1033 ifp = ifunit(db_tok_string); in debugnet_parse_ddb_cmd()
H A Dif.c1414 difp = ifunit(ifname); in if_vmove_loan()
1464 ifp = ifunit(ifname); /* XXX Lock to avoid races. */ in if_vmove_reclaim()
2407 ifunit(const char *name) in ifunit() function
2690 if (ifunit(new_name) != NULL) in ifhwioctl()
H A Dif_bridge.c1188 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add()
1728 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_addspan()
1767 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_delspan()
H A Dbpf.c2083 theywant = ifunit(ifr->ifr_name); in bpf_setif()
H A Dif_lagg.c1028 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()
/freebsd-13.1/sys/net/altq/
H A Daltq_codel.c84 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.c161 if ((ifp = ifunit(name)) != NULL) {
530 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-13.1/sys/netinet/
H A Dip_divert.c396 m->m_pkthdr.rcvif = ifunit(sin->sin_zero); in div_output()
H A Dip_icmp.c837 if (V_reply_src[0] != '\0' && (ifp = ifunit(V_reply_src))) { in icmp_reflect()
/freebsd-13.1/sys/netgraph/
H A Dng_source.c623 ifp = ifunit(ifname); in ng_source_store_output_ifp()
/freebsd-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h495 # define GETIFP(n, v) ifunit(n)
/freebsd-13.1/sys/netpfil/pf/
H A Dpf_ioctl.c805 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_enable_altq()
828 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_disable_altq()
858 if ((ifp1 = ifunit(altq->ifname)) == NULL || in pf_altq_ifnet_event_add()
3299 ifp = ifunit(ps.ifname); in pfioctl()
3391 if ((ifp = ifunit(altq->ifname)) == NULL) in pfioctl()
/freebsd-13.1/share/man/man9/
H A DMakefile1304 ifnet.9 ifunit.9 \