Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/netinet6/
H A Draw_ip6.c364 struct ifnet *oifp = NULL; in rip6_output() local
573 oifp = ifindex2ifnet[pi->ipi6_ifindex]; in rip6_output()
575 if (oifp != NULL) { in rip6_output()
576 ifnet_reference(oifp); in rip6_output()
580 oifp = im6o_multicast_ifp; in rip6_output()
581 ifnet_reference(oifp); in rip6_output()
583 ip6->ip6_dst.s6_addr16[1] = htons(oifp->if_index); in rip6_output()
585 difscope = oifp->if_index; in rip6_output()
654 if (oifp != NULL) { in rip6_output()
655 ifnet_release(oifp); in rip6_output()
[all …]
H A Dmld6.c3594 struct ifnet *oifp = NULL; in mld_dispatch_packet() local
3669 &oifp, NULL); in mld_dispatch_packet()
3676 if (oifp != NULL) { in mld_dispatch_packet()
3677 ifnet_release(oifp); in mld_dispatch_packet()
3683 if (oifp != NULL) { in mld_dispatch_packet()
3684 icmp6_ifstat_inc(oifp, ifs6_out_msg); in mld_dispatch_packet()
3688 icmp6_ifstat_inc(oifp, ifs6_out_mldreport); in mld_dispatch_packet()
3691 icmp6_ifstat_inc(oifp, ifs6_out_mlddone); in mld_dispatch_packet()
3694 ifnet_release(oifp); in mld_dispatch_packet()
H A Din6.c3397 in6_ifawithscope(struct ifnet *oifp, struct in6_addr *dst) in in6_ifawithscope() argument
3405 if (oifp == NULL) { in in6_ifawithscope()
3420 if (in6_addr2scopeid(ifp, dst) != in6_addr2scopeid(oifp, dst)) { in in6_ifawithscope()
3619 if (bifp == oifp && ifp != oifp) { /* (1) */ in in6_ifawithscope()
3623 if (bifp != oifp && ifp == oifp) { /* (2) */ in in6_ifawithscope()
3682 if (oifp == ifa_best->ia_ifp) { in in6_ifawithscope()
/xnu-8020.101.4/bsd/netinet/
H A Din_pcb.c3436 struct ifnet *rtifp, *oifp; in inp_flush() local
3451 oifp = inp->inp_last_outifp; in inp_flush()
3456 if (oifp != NULL && oifp != rtifp) { in inp_flush()
3457 if_qflush_sc(oifp, so_tc2msc(optval), flowhash, NULL, NULL, 0); in inp_flush()
/xnu-8020.101.4/bsd/net/
H A Dpf.c9051 pf_route(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route() argument
9069 (dir != PF_IN && dir != PF_OUT) || oifp == NULL) { in pf_route()
9155 if (oifp != ifp) { in pf_route()
9253 pf_route6(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route6() argument
9269 (dir != PF_IN && dir != PF_OUT) || oifp == NULL) { in pf_route6()
9318 ip6_output_setsrcifscope(m0, oifp->if_index, NULL); in pf_route6()
9319 ip6_output_setdstifscope(m0, oifp->if_index, NULL); in pf_route6()
9348 if (oifp != ifp) { in pf_route6()