Searched refs:oifp (Results 1 – 5 of 5) sorted by relevance
| /xnu-10063.101.15/bsd/netinet6/ |
| H A D | raw_ip6.c | 374 struct ifnet *oifp = NULL; in rip6_output() local 587 oifp = ifindex2ifnet[pi->ipi6_ifindex]; in rip6_output() 589 if (oifp != NULL) { in rip6_output() 590 ifnet_reference(oifp); in rip6_output() 594 oifp = im6o_multicast_ifp; in rip6_output() 595 ifnet_reference(oifp); in rip6_output() 597 ip6->ip6_dst.s6_addr16[1] = htons(oifp->if_index); in rip6_output() 599 difscope = oifp->if_index; in rip6_output() 668 if (oifp != NULL) { in rip6_output() 669 ifnet_release(oifp); in rip6_output() [all …]
|
| H A D | mld6.c | 3686 struct ifnet *__single oifp = NULL; in mld_dispatch_packet() local 3756 &oifp, NULL); in mld_dispatch_packet() 3763 if (oifp != NULL) { in mld_dispatch_packet() 3764 ifnet_release(oifp); in mld_dispatch_packet() 3770 if (oifp != NULL) { in mld_dispatch_packet() 3771 icmp6_ifstat_inc(oifp, ifs6_out_msg); in mld_dispatch_packet() 3775 icmp6_ifstat_inc(oifp, ifs6_out_mldreport); in mld_dispatch_packet() 3778 icmp6_ifstat_inc(oifp, ifs6_out_mlddone); in mld_dispatch_packet() 3781 ifnet_release(oifp); in mld_dispatch_packet()
|
| H A D | in6.c | 3399 in6_ifawithscope(struct ifnet *oifp, struct in6_addr *dst) in in6_ifawithscope() argument 3407 if (oifp == NULL) { in in6_ifawithscope() 3422 if (in6_addr2scopeid(ifp, dst) != in6_addr2scopeid(oifp, dst)) { in in6_ifawithscope() 3621 if (bifp == oifp && ifp != oifp) { /* (1) */ in in6_ifawithscope() 3625 if (bifp != oifp && ifp == oifp) { /* (2) */ in in6_ifawithscope() 3684 if (oifp == ifa_best->ia_ifp) { in in6_ifawithscope()
|
| /xnu-10063.101.15/bsd/netinet/ |
| H A D | in_pcb.c | 3676 struct ifnet *rtifp, *oifp; in inp_flush() local 3691 oifp = inp->inp_last_outifp; in inp_flush() 3696 if (oifp != NULL && oifp != rtifp) { in inp_flush() 3697 if_qflush_sc(oifp, so_tc2msc(optval), flowhash, NULL, NULL, 0); in inp_flush()
|
| /xnu-10063.101.15/bsd/net/ |
| H A D | pf.c | 9234 pf_route(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route() argument 9252 (dir != PF_IN && dir != PF_OUT) || oifp == NULL) { in pf_route() 9338 if (oifp != ifp) { in pf_route() 9436 pf_route6(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route6() argument 9452 (dir != PF_IN && dir != PF_OUT) || oifp == NULL) { in pf_route6() 9501 ip6_output_setsrcifscope(m0, oifp->if_index, NULL); in pf_route6() 9502 ip6_output_setdstifscope(m0, oifp->if_index, NULL); in pf_route6() 9531 if (oifp != ifp) { in pf_route6()
|