Searched refs:ip6oa (Results 1 - 12 of 12) sorted by relevance

/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/
H A Dudp6_output.c161 struct ip6_out_args ip6oa = local
163 struct flowadv *adv = &ip6oa.ip6oa_flowadv;
177 ip6oa.ip6oa_boundif = in6p->inp_boundifp->if_index;
178 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
181 ip6oa.ip6oa_flags |= IP6OAF_NO_CELLULAR;
183 ip6oa.ip6oa_flags |= IP6OAF_NO_EXPENSIVE;
185 ip6oa.ip6oa_flags |= IP6OAF_AWDL_UNRESTRICTED;
256 ip6oa.ip6oa_boundif, &error);
348 ip6oa.ip6oa_flags |= IP6OAF_BOUND_SRCADDR;
405 error = ip6_output(m, optp, &ro, flags, im6o, NULL, &ip6oa);
[all...]
H A Din6_src.c152 struct ip6_out_args *ip6oa);
212 struct ip6_out_args ip6oa = { ifscope, { 0 }, IP6OAF_SELECT_SRCIF, 0 }; local
224 ip6oa.ip6oa_flags |= IP6OAF_NO_CELLULAR;
226 ip6oa.ip6oa_flags |= IP6OAF_NO_EXPENSIVE;
228 ip6oa.ip6oa_flags |= IP6OAF_AWDL_UNRESTRICTED;
234 if (ip6oa.ip6oa_boundif != IFSCOPE_NONE)
235 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
249 if ((*errorp = in6_selectif(dstsock, opts, mopts, ro, &ip6oa,
310 if ((*errorp = in6_selectif(dstsock, opts, mopts, ro, &ip6oa,
614 int norouteok, struct ip6_out_args *ip6oa)
610 selectroute(struct sockaddr_in6 *srcsock, struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct in6_ifaddr **retsrcia, struct route_in6 *ro, struct ifnet **retifp, struct rtentry **retrt, int clone, int norouteok, struct ip6_out_args *ip6oa) argument
1141 in6_selectif(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ip6_out_args *ip6oa, struct ifnet **retifp) argument
1216 in6_selectroute(struct sockaddr_in6 *srcsock, struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct in6_ifaddr **retsrcia, struct route_in6 *ro, struct ifnet **retifp, struct rtentry **retrt, int clone, struct ip6_out_args *ip6oa) argument
[all...]
H A Draw_ip6.c346 struct ip6_out_args ip6oa = local
369 ip6oa.ip6oa_boundif = in6p->inp_boundifp->if_index;
370 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
373 ip6oa.ip6oa_flags |= IP6OAF_NO_CELLULAR;
375 ip6oa.ip6oa_flags |= IP6OAF_NO_EXPENSIVE;
377 ip6oa.ip6oa_flags |= IP6OAF_AWDL_UNRESTRICTED;
489 &in6p->in6p_route, NULL, &storage, ip6oa.ip6oa_boundif,
495 ip6oa.ip6oa_flags |= IP6OAF_BOUND_SRCADDR;
589 &oifp, &ip6oa);
626 if (error != 0 && (ip6oa
[all...]
H A Dip6_output.c227 struct ifnet **ifpp, struct ip6_out_args *ip6oa)
240 error = ip6_output(m, opt, ro, flags, im6o, ifpp, ip6oa);
270 struct ip6_out_args *ip6oa)
368 ip6oa = &saved_ip6oa;
401 (ip6oa->ip6oa_flags & IPOAF_BOUND_IF) &&
402 ip6oa->ip6oa_boundif != IFSCOPE_NONE) {
407 flags, ip6oa, &noipsec, &sp) != 0)
428 (ip6oa->ip6oa_flags & IP6OAF_SELECT_SRCIF))))
431 if ((ip6oa->ip6oa_flags & IP6OAF_BOUND_IF) &&
432 ip6oa
225 ip6_output_list(struct mbuf *m0, int packetlist, struct ip6_pktopts *opt, struct route_in6 *ro, int flags, struct ip6_moptions *im6o, struct ifnet **ifpp, struct ip6_out_args *ip6oa) argument
268 ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, struct route_in6 *ro, int flags, struct ip6_moptions *im6o, struct ifnet **ifpp, struct ip6_out_args *ip6oa) argument
[all...]
H A Dnd6_nbr.c562 struct ip6_out_args ip6oa = { IFSCOPE_NONE, { 0 }, local
571 ip6oa.ip6oa_boundif = ifp->if_index;
572 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
691 NULL, &ro, NULL, &src_storage, ip6oa.ip6oa_boundif,
733 ip6oa.ip6oa_flags &= ~IP6OAF_BOUND_SRCADDR;
800 ip6_output(m, NULL, NULL, flags, im6o, &outif, &ip6oa);
1231 struct ip6_out_args ip6oa = { IFSCOPE_NONE, { 0 }, local
1238 ip6oa.ip6oa_boundif = ifp->if_index;
1239 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
1313 ip6oa
[all...]
H A Dicmp6.c2145 struct ip6_out_args ip6oa = { IFSCOPE_NONE, { 0 }, local
2149 ip6oa.ip6oa_boundif = m->m_pkthdr.rcvif->if_index;
2150 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
2275 &src_storage, ip6oa.ip6oa_boundif, &e);
2330 ip6_output(m, NULL, NULL, IPV6_OUTARGS, NULL, &outif, &ip6oa);
2582 struct ip6_out_args ip6oa = { IFSCOPE_NONE, { 0 }, local
2851 ip6oa.ip6oa_boundif = ifp->if_index;
2852 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
2854 ip6_output(m, NULL, NULL, IPV6_OUTARGS, NULL, &outif, &ip6oa);
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Dkpi_ipfilter.c372 struct ip6_out_args ip6oa = { IFSCOPE_NONE, { 0 }, 0, 0 }; local
402 ip6oa.ip6oa_flags |= IP6OAF_SELECT_SRCIF;
404 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
405 ip6oa.ip6oa_boundif = options->ippo_flags >>
409 ip6oa.ip6oa_flags |= IP6OAF_NO_CELLULAR;
411 ip6oa.ip6oa_flags |= IP6OAF_BOUND_SRCADDR;
413 ip6oa.ip6oa_flags |= IP6OAF_NO_EXPENSIVE;
423 error = ip6_output(m, NULL, &ro, IPV6_OUTARGS, im6o, NULL, &ip6oa);
H A Dtcp_output.c2303 struct ip6_out_args ip6oa = local
2307 (isipv6 ? &ip6oa.ip6oa_flowadv : &ipoa.ipoa_flowadv);
2316 ip6oa.ip6oa_boundif = inp->inp_boundifp->if_index;
2317 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
2329 ip6oa.ip6oa_flags |= IP6OAF_NO_CELLULAR;
2337 ip6oa.ip6oa_flags |= IP6OAF_NO_EXPENSIVE;
2346 ip6oa.ip6oa_flags |= IP6OAF_AWDL_UNRESTRICTED;
2440 &ip6oa);
2441 ifdenied = (ip6oa.ip6oa_retflags & IP6OARF_IFDENIED);
H A Dtcp_subr.c812 struct ip6_out_args ip6oa = { tra->ifscope, { 0 }, local
816 ip6oa.ip6oa_flags |= IP6OAF_BOUND_IF;
818 ip6oa.ip6oa_flags |= IP6OAF_NO_CELLULAR;
820 ip6oa.ip6oa_flags |= IP6OAF_NO_EXPENSIVE;
822 ip6oa.ip6oa_flags |= IP6OAF_AWDL_UNRESTRICTED;
825 NULL, &ip6oa);
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dif_ipsec.c627 struct ip6_out_args ip6oa; local
743 bzero(&ip6oa, sizeof(ip6oa));
744 ip6oa.ip6oa_flowadv.code = 0;
745 ip6oa.ip6oa_flags = IPOAF_SELECT_SRCIF | IPOAF_BOUND_SRCADDR;
747 ip6oa.ip6oa_boundif = ipsec_state.outgoing_if;
748 ip6oa.ip6oa_flags |= IPOAF_BOUND_IF;
751 adv = &ip6oa.ip6oa_flowadv;
753 (void) ip6_output(data, NULL, &ro6, flags, NULL, NULL, &ip6oa);
H A Dnecp.h360 necp_kernel_policy_id necp_ip6_output_find_policy_match(struct mbuf *packet, int flags, struct ip6_out_args *ip6oa, necp_kernel_policy_result *result, necp_kernel_policy_result_parameter *result_parameter);
H A Dnecp.c4862 necp_ip6_output_find_policy_match(struct mbuf *packet, int flags, struct ip6_out_args *ip6oa, necp_kernel_policy_result *result, necp_kernel_policy_result_parameter *result_parameter) argument
4928 if ((flags & IPV6_OUTARGS) && (ip6oa != NULL) &&
4929 (ip6oa->ip6oa_flags & IP6OAF_BOUND_IF) &&
4930 ip6oa->ip6oa_boundif != IFSCOPE_NONE) {
4931 bound_interface_index = ip6oa->ip6oa_boundif;

Completed in 229 milliseconds