Home
last modified time | relevance | path

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

/f-stack/freebsd/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.c776 if (ifunit(name) != NULL) in epair_clone_create()
779 if (ifunit(name) != NULL) in epair_clone_create()
H A Dif_var.h666 struct ifnet *ifunit(const char *);
H A Ddebugnet.c1024 ifp = ifunit(db_tok_string); in debugnet_parse_ddb_cmd()
H A Dif.c1404 difp = ifunit(ifname); in if_vmove_loan()
1454 ifp = ifunit(ifname); /* XXX Lock to avoid races. */ in if_vmove_reclaim()
2375 ifunit(const char *name) in ifunit() function
2663 if (ifunit(new_name) != NULL) in ifhwioctl()
H A Dif_bridge.c1148 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add()
1681 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_addspan()
1720 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_delspan()
H A Dbpf.c2061 theywant = ifunit(ifr->ifr_name); in bpf_setif()
H A Dif_lagg.c1024 ifunit(rp->rp_portname) != ifp) { in lagg_port_ioctl()
/f-stack/freebsd/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.c129 if ((ifp = ifunit(name)) != NULL) {
498 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()
/f-stack/freebsd/netinet/
H A Dip_divert.c366 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()
/f-stack/freebsd/netgraph/
H A Dng_source.c620 ifp = ifunit(ifname); in ng_source_store_output_ifp()
/f-stack/freebsd/netpfil/pf/
H A Dpf_ioctl.c761 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_enable_altq()
784 if ((ifp = ifunit(altq->ifname)) == NULL) in pf_disable_altq()
814 if ((ifp1 = ifunit(altq->ifname)) == NULL || in pf_altq_ifnet_event_add()
2720 ifp = ifunit(ps.ifname); in pfioctl()
2813 if ((ifp = ifunit(altq->ifname)) == NULL) in pfioctl()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_compat.h507 # define GETIFP(n, v) ifunit(n)