Searched refs:ipoa (Results 1 - 16 of 16) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Dkpi_ipfilter.c296 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, 0, 0 }; local
326 ipoa.ipoa_flags |= IPOAF_SELECT_SRCIF;
328 ipoa.ipoa_flags |= IPOAF_BOUND_IF;
329 ipoa.ipoa_boundif = options->ippo_flags >>
333 ipoa.ipoa_flags |= IPOAF_NO_CELLULAR;
335 ipoa.ipoa_flags |= IPOAF_BOUND_SRCADDR;
337 ipoa.ipoa_flags |= IPOAF_NO_EXPENSIVE;
351 IP_ALLOWBROADCAST | IP_RAWOUTPUT | IP_OUTARGS, imo, &ipoa);
H A Dip_output.c227 struct ip_moptions *imo, struct ip_out_args *ipoa)
229 return (ip_output_list(m0, 0, opt, ro, flags, imo, ipoa));
248 struct ip_out_args *ipoa)
362 ipoa = &saved_ipoa;
402 if ((flags & IP_OUTARGS) && (ipoa != NULL) &&
403 (ipoa->ipoa_flags & IPOAF_BOUND_IF) &&
404 ipoa->ipoa_boundif != IFSCOPE_NONE) {
406 &flags, ipoa, &sp) != 0)
420 (ipoa->ipoa_flags & IPOAF_SELECT_SRCIF)))) {
424 if ((ipoa
226 ip_output(struct mbuf *m0, struct mbuf *opt, struct route *ro, int flags, struct ip_moptions *imo, struct ip_out_args *ipoa) argument
246 ip_output_list(struct mbuf *m0, int packetchain, struct mbuf *opt, struct route *ro, int flags, struct ip_moptions *imo, struct ip_out_args *ipoa) argument
[all...]
H A Draw_ip.c356 struct ip_out_args ipoa = local
383 ipoa.ipoa_boundif = inp->inp_boundifp->if_index;
384 ipoa.ipoa_flags |= IPOAF_BOUND_IF;
387 ipoa.ipoa_flags |= IPOAF_NO_CELLULAR;
389 ipoa.ipoa_flags |= IPOAF_NO_EXPENSIVE;
391 ipoa.ipoa_flags |= IPOAF_AWDL_UNRESTRICTED;
439 ipoa.ipoa_flags |= IPOAF_BOUND_SRCADDR;
483 imo, &ipoa);
519 if (error != 0 && (ipoa.ipoa_retflags & IPOARF_IFDENIED) &&
H A Dudp_usrreq.c1309 struct ip_out_args ipoa = local
1312 struct flowadv *adv = &ipoa.ipoa_flowadv;
1334 ipoa.ipoa_boundif = outif->if_index;
1359 if (ipoa.ipoa_boundif == IFSCOPE_NONE &&
1366 ipoa.ipoa_boundif = outif->if_index;
1369 ipoa.ipoa_flags |= IPOAF_NO_CELLULAR;
1371 ipoa.ipoa_flags |= IPOAF_NO_EXPENSIVE;
1373 ipoa.ipoa_flags |= IPOAF_AWDL_UNRESTRICTED;
1418 (ipoa.ipoa_boundif != IFSCOPE_NONE && pktinfo)) {
1456 error = in_pcbconnect(inp, addr, p, ipoa
[all...]
H A Din_gif.c113 struct ip_out_args ipoa = local
229 error = ip_output(m, NULL, &sc->gif_ro, IP_OUTARGS, NULL, &ipoa);
H A Dip_icmp.c825 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, local
829 ipoa.ipoa_boundif = m->m_pkthdr.rcvif->if_index;
830 ipoa.ipoa_flags |= IPOAF_BOUND_IF;
855 (void) ip_output(m, opts, &ro, IP_OUTARGS, NULL, &ipoa);
H A Dtcp_output.c2298 struct ip_out_args ipoa = local
2307 (isipv6 ? &ip6oa.ip6oa_flowadv : &ipoa.ipoa_flowadv);
2309 struct flowadv *adv = &ipoa.ipoa_flowadv;
2321 ipoa.ipoa_boundif = inp->inp_boundifp->if_index;
2322 ipoa.ipoa_flags |= IPOAF_BOUND_IF;
2332 ipoa.ipoa_flags |= IPOAF_NO_CELLULAR;
2340 ipoa.ipoa_flags |= IPOAF_NO_EXPENSIVE;
2349 ipoa.ipoa_flags |= IPOAF_AWDL_UNRESTRICTED;
2445 &ipoa);
2446 ifdenied = (ipoa
[all...]
H A Dip_divert.c372 struct ip_out_args ipoa = local
410 imo, &ipoa);
H A Dtcp_subr.c837 struct ip_out_args ipoa = { tra->ifscope, { 0 }, local
841 ipoa.ipoa_flags |= IPOAF_BOUND_IF;
843 ipoa.ipoa_flags |= IPOAF_NO_CELLULAR;
845 ipoa.ipoa_flags |= IPOAF_NO_EXPENSIVE;
847 ipoa.ipoa_flags |= IPOAF_AWDL_UNRESTRICTED;
856 (void) ip_output(m, NULL, &sro, IP_OUTARGS, NULL, &ipoa);
H A Dip_input.c2636 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, 0, 0 }; local
2684 ipoa.ipoa_boundif = pf_mtag->pftag_rtableid;
2685 ipoa.ipoa_flags |= IPOAF_BOUND_IF;
2699 rtalloc_scoped_ign(&fwd_rt, RTF_PRCLONING, ipoa.ipoa_boundif);
2799 NULL, &ipoa);
/xnu-2782.1.97/bsd/net/
H A Dif_ipsec.c626 struct ip_out_args ipoa; local
687 bzero(&ipoa, sizeof(ipoa));
688 ipoa.ipoa_flowadv.code = 0;
689 ipoa.ipoa_flags = IPOAF_SELECT_SRCIF | IPOAF_BOUND_SRCADDR;
691 ipoa.ipoa_boundif = ipsec_state.outgoing_if;
692 ipoa.ipoa_flags |= IPOAF_BOUND_IF;
695 adv = &ipoa.ipoa_flowadv;
697 (void) ip_output(data, NULL, &ro, flags, NULL, &ipoa);
H A Dif_stf.c528 struct ip_out_args ipoa = local
618 result = ip_output(m, NULL, &sc->sc_ro, IP_OUTARGS, NULL, &ipoa);
H A Dnecp.h359 necp_kernel_policy_id necp_ip_output_find_policy_match(struct mbuf *packet, int flags, struct ip_out_args *ipoa, necp_kernel_policy_result *result, necp_kernel_policy_result_parameter *result_parameter);
H A Dif_utun_crypto_ipsec.c706 struct ip_out_args ipoa = local
925 (IP_OUTARGS | IP_NOIPSEC), NULL, &ipoa))) {
H A Dnecp.c4721 necp_ip_output_find_policy_match(struct mbuf *packet, int flags, struct ip_out_args *ipoa, necp_kernel_policy_result *result, necp_kernel_policy_result_parameter *result_parameter) argument
4793 if ((flags & IP_OUTARGS) && (ipoa != NULL) &&
4794 (ipoa->ipoa_flags & IPOAF_BOUND_IF) &&
4795 ipoa->ipoa_boundif != IFSCOPE_NONE) {
4796 bound_interface_index = ipoa->ipoa_boundif;
/xnu-2782.1.97/bsd/netinet6/
H A Dipsec.c578 struct ip_out_args *ipoa,
588 if (m == NULL || ipoa == NULL || sp == NULL)
591 if (ipoa->ipoa_boundif == IFSCOPE_NONE)
599 ipoa->ipoa_boundif, 4);
622 ipoa->ipoa_boundif = (*sp)->ipsec_if->if_index;
3599 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, local
3693 error = ip_output(state->m, NULL, &ro4_copy, IP_OUTARGS, NULL, &ipoa);
4560 struct ip_out_args ipoa = local
4627 error = ip_output(m, NULL, &ro, IP_OUTARGS | IP_NOIPSEC, NULL, &ipoa);
575 ipsec4_getpolicybyinterface(struct mbuf *m, u_int dir, int *flags, struct ip_out_args *ipoa, struct secpolicy **sp) argument

Completed in 184 milliseconds