Searched refs:dstsock (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | raw_ip6.c | 367 struct sockaddr_in6 *dstsock, in rip6_output() argument 406 if (CFIL_DGRAM_FILTERED(so) && !dstsock) { in rip6_output() 415 dstsock = cfil_sin6; in rip6_output() 431 if (dstsock != NULL) { in rip6_output() 445 dstsock = &tmp; in rip6_output() 447 if (dstsock == NULL) { in rip6_output() 451 tmp = *dstsock; in rip6_output() 452 dstsock = &tmp; in rip6_output() 456 if (dstsock->sin6_scope_id == 0) { /* not change if specified */ in rip6_output() 457 dstsock->sin6_scope_id = scope6_addr2default(&dstsock->sin6_addr); in rip6_output() [all …]
|
| H A D | in6_src.c | 272 in6_selectsrc_core(struct sockaddr_in6 *dstsock, uint32_t hint_mask, in in6_selectsrc_core() argument 289 VERIFY(dstsock != NULL); in in6_selectsrc_core() 301 dst = dstsock->sin6_addr; /* make a copy for local operation */ in in6_selectsrc_core() 562 dst_policy = in6_addrsel_lookup_policy(dstsock); in in6_selectsrc_core() 734 in6_selectsrc(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, in in6_selectsrc() argument 807 if ((*errorp = in6_selectif(dstsock, opts, mopts, ro, &ip6oa, in in6_selectsrc() 866 if ((*errorp = in6_selectif(dstsock, opts, mopts, ro, &ip6oa, in in6_selectsrc() 887 if (in6_selectsrc_core(dstsock, hint_mask, ifp, inp_debug, src_storage, in in6_selectsrc() 931 selectroute(struct sockaddr_in6 *srcsock, struct sockaddr_in6 *dstsock, in selectroute() argument 942 struct in6_addr *__single dst = &dstsock->sin6_addr; in selectroute() [all …]
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | dlil_subr.c | 684 struct sockaddr_in6 dstsock = {}; in dlil_clat46() local 749 if ((error = nat464_synthesize_ipv6(ifp, &odst, &dstsock.sin6_addr)) != 0) { in dlil_clat46() 754 dstsock.sin6_len = sizeof(struct sockaddr_in6); in dlil_clat46() 755 dstsock.sin6_family = AF_INET6; in dlil_clat46() 761 src = in6_selectsrc_core(&dstsock, 0, ifp, 0, &src_storage, NULL, &error, in dlil_clat46() 777 iph->ip_ttl, src_storage, dstsock.sin6_addr, tot_len) == NT_NAT64) ? 0 : -1; in dlil_clat46()
|