Home
last modified time | relevance | path

Searched refs:oifp (Results 1 – 6 of 6) sorted by relevance

/freebsd-12-stable/sys/net/
Dif_epair.c141 struct ifnet *oifp; /* other ifp of pair. */ member
404 struct ifnet *oifp; in epair_start_locked() local
422 oifp = sc->oifp; in epair_start_locked()
423 sc = oifp->if_softc; in epair_start_locked()
434 if ((oifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in epair_start_locked()
435 (oifp->if_flags & IFF_UP) ==0) { in epair_start_locked()
440 DPRINTF("packet %s -> %s\n", ifp->if_xname, oifp->if_xname); in epair_start_locked()
449 m->m_pkthdr.rcvif = oifp; in epair_start_locked()
450 CURVNET_SET_QUIET(oifp->if_vnet); in epair_start_locked()
456 if_inc_counter(oifp, IFCOUNTER_IPACKETS, 1); in epair_start_locked()
[all …]
Dif.c3720 struct ifnet *oifp; in if_delmulti() local
3723 CK_STAILQ_FOREACH(oifp, &V_ifnet, if_link) in if_delmulti()
3724 if (ifp == oifp) in if_delmulti()
3726 if (ifp != oifp) in if_delmulti()
3794 struct ifnet *oifp; in if_delmulti_ifma_flags() local
3797 CK_STAILQ_FOREACH(oifp, &V_ifnet, if_link) in if_delmulti_ifma_flags()
3798 if (ifp == oifp) in if_delmulti_ifma_flags()
3800 if (ifp != oifp) in if_delmulti_ifma_flags()
/freebsd-12-stable/sys/netinet6/
Din6_src.c188 struct ifnet *ifp = NULL, *oifp = NULL; in in6_selectsrc() local
210 oifp = *ifpp; in in6_selectsrc()
230 if ((error = in6_selectif(dstsock, opts, mopts, &ifp, oifp, in in6_selectsrc()
299 if ((error = in6_selectif(dstsock, opts, mopts, &ifp, oifp, in in6_selectsrc()
844 struct ifnet *oifp, u_int fibnum) in in6_selectif() argument
865 if (oifp != NULL && fibnum == RT_DEFAULT_FIB) { in in6_selectif()
866 *retifp = oifp; in in6_selectif()
Draw_ip6.c403 struct ifnet *oifp = NULL; in rip6_output() local
542 error = ip6_output(m, optp, NULL, 0, inp->in6p_moptions, &oifp, inp); in rip6_output()
544 if (oifp) in rip6_output()
545 icmp6_ifoutstat_inc(oifp, type, code); in rip6_output()
Dmld6.c3085 struct ifnet *oifp; in mld_dispatch_packet() local
3158 oifp = NULL; in mld_dispatch_packet()
3160 &oifp, NULL); in mld_dispatch_packet()
3166 if (oifp != NULL) { in mld_dispatch_packet()
3167 icmp6_ifstat_inc(oifp, ifs6_out_msg); in mld_dispatch_packet()
3171 icmp6_ifstat_inc(oifp, ifs6_out_mldreport); in mld_dispatch_packet()
3174 icmp6_ifstat_inc(oifp, ifs6_out_mlddone); in mld_dispatch_packet()
/freebsd-12-stable/sys/netpfil/pf/
Dpf.c6023 pf_route(struct mbuf **m, struct pf_krule *r, int dir, struct ifnet *oifp, in pf_route() argument
6035 KASSERT(m && *m && r && oifp, ("%s: invalid parameters", __func__)); in pf_route()
6194 pf_route6(struct mbuf **m, struct pf_krule *r, int dir, struct ifnet *oifp, in pf_route6() argument
6204 KASSERT(m && *m && r && oifp, ("%s: invalid parameters", __func__)); in pf_route6()