Home
last modified time | relevance | path

Searched refs:dst6 (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/usr.sbin/faithd/
H A Dfaithd.c425 char dst6[NI_MAXHOST]; in play_child() local
447 dst6, (socklen_t)sizeof(dst6), NULL, 0, NI_NUMERICHOST); in play_child()
448 syslog(LOG_INFO, "the client is connecting to %s", dst6); in play_child()
580 struct sockaddr_in6 *dst6 = (struct sockaddr_in *)dst; in faith_prefix() local
601 struct sockaddr_in6 *dst6; in faith_prefix()
605 dst6 = (void *)dst; in faith_prefix()
607 && IN6_IS_ADDR_V4MAPPED(&dst6->sin6_addr)) { in faith_prefix()
612 memcpy(&dstmap.sin_addr, &dst6->sin6_addr.s6_addr[12], in faith_prefix()
617 dst6 = (void *)dst; in faith_prefix()
630 if (sin6->sin6_scope_id == dst6->sin6_scope_id in faith_prefix()
[all …]
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dsockmisc.c389 struct sockaddr_in6 src6, dst6; local
392 memcpy(&dst6, dst, sizeof(dst6));
404 src6.sin6_flowinfo = dst6.sin6_flowinfo = 0;
407 m.msg_name = (caddr_t)&dst6;
408 m.msg_namelen = sizeof(dst6);
432 saddr2str((struct sockaddr *)&dst6),
433 dst6.sin6_scope_id);
461 struct sockaddr_in src6, dst6; local
464 memcpy(&dst6, dst, sizeof(dst6));
467 m.msg_name = (caddr_t)&dst6;
[all …]
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dip_fil_netbsd.c912 i6addr_t dst6; in ipf_send_icmp_err() local
961 &dst6, NULL) == -1) { in ipf_send_icmp_err()
965 dst4 = dst6.in4; in ipf_send_icmp_err()
1001 &dst6, NULL) == -1) { in ipf_send_icmp_err()
1006 dst6 = fin->fin_dst6; in ipf_send_icmp_err()
1063 ip6->ip6_src = dst6.in6; in ipf_send_icmp_err()
1410 struct sockaddr_in6 dst6; in ipf_fastroute6() member
1415 struct sockaddr_in6 *dst6; in ipf_fastroute6()
1433 sockaddr_in6_init(&u.dst6, &fdp->fd_ip6.in6, 0, 0, 0); in ipf_fastroute6()
1435 sockaddr_in6_init(&u.dst6, &fin->fin_fi.fi_dst.in6, 0, 0, 0); in ipf_fastroute6()
[all …]
/netbsd-src/usr.sbin/altq/libaltq/
H A Dquip_server.c331 char dst6[INET6_ADDRSTRLEN], dmask6[INET6_ADDRSTRLEN]; in query_filterspec() local
340 snprintf(dst6, sizeof(dst6), "0"); in query_filterspec()
344 dst6, sizeof(dst6)); in query_filterspec()
379 dst6, dmask6, in query_filterspec()
/netbsd-src/sys/netinet/
H A Dudp_usrreq.c403 struct sockaddr_in6 src6, dst6; in udp_input() local
410 memset(&dst6, 0, sizeof(dst6)); in udp_input()
411 dst6.sin6_family = AF_INET6; in udp_input()
412 dst6.sin6_len = sizeof(struct sockaddr_in6); in udp_input()
413 in6_in_2_v4mapin6(&ip->ip_dst, &dst6.sin6_addr); in udp_input()
414 dst6.sin6_port = uh->uh_dport; in udp_input()
416 n += udp6_realinput(AF_INET, &src6, &dst6, &m, iphlen); in udp_input()
H A Dtcp_subr.c1393 struct in6_addr src6, dst6; in tcp_ctlinput() local
1421 in6_in_2_v4mapin6(&ip->ip_dst, &dst6); in tcp_ctlinput()
1427 else if ((inp = in6pcb_lookup(&tcbtable, &dst6, in tcp_ctlinput()
/netbsd-src/sys/netinet6/
H A Din6_gif.c472 const struct sockaddr_in6 *dst6; in in6_gif_ctlinput() local
511 dst6 = satocsin6(rtcache_getdst(ro_pc)); in in6_gif_ctlinput()
513 if (dst6 == NULL) in in6_gif_ctlinput()
515 else if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &dst6->sin6_addr)) in in6_gif_ctlinput()
H A Din6_pcb.c686 const struct sockaddr_in6 *dst6; in in6pcb_notify() local
688 dst6 = (const struct sockaddr_in6 *) in in6pcb_notify()
690 if (dst6 == NULL) in in6pcb_notify()
692 else if (IN6_ARE_ADDR_EQUAL(&dst6->sin6_addr, in in6pcb_notify()
1023 struct sockaddr_in6 dst6; in in6pcb_rtentry() member
1026 sockaddr_in6_init(&u.dst6, &in6p_faddr(inp), 0, 0, 0); in in6pcb_rtentry()
H A Dudp6_usrreq.c421 struct in6_addr src6, *dst6; in udp6_realinput() local
443 dst6 = &dst->sin6_addr; in udp6_realinput()
445 if (IN6_IS_ADDR_MULTICAST(dst6) || in udp6_realinput()
478 dst6)) in udp6_realinput()
481 if (IN6_IS_ADDR_V4MAPPED(dst6) && in udp6_realinput()
514 inp = in6pcb_lookup(&udbtable, &src6, sport, dst6, in udp6_realinput()
518 inp = in6pcb_lookup_bound(&udbtable, dst6, dport, 0); in udp6_realinput()
H A Din6.c1065 struct sockaddr_in6 dst6; in in6_update_ifa1() local
1121 dst6 = ifra->ifra_dstaddr; in in6_update_ifa1()
1123 (dst6.sin6_family == AF_INET6)) { in in6_update_ifa1()
1127 in6_tmp = dst6.sin6_addr; in in6_update_ifa1()
1131 if (dst6.sin6_scope_id != 0) { in in6_update_ifa1()
1132 if (dst6.sin6_scope_id != zoneid) in in6_update_ifa1()
1135 dst6.sin6_scope_id = zoneid; in in6_update_ifa1()
1138 if (sa6_embedscope(&dst6, 0)) in in6_update_ifa1()
1259 if (dst6.sin6_family == AF_INET6) { in in6_update_ifa1()
1260 if (!IN6_ARE_ADDR_EQUAL(&dst6.sin6_addr, in in6_update_ifa1()
[all …]
H A Dip6_forward.c199 struct sockaddr_in6 dst6; in ip6_forward() member
202 sockaddr_in6_init(&u.dst6, &ip6->ip6_dst, 0, 0, 0); in ip6_forward()
H A Din6_src.c616 struct sockaddr_in6 dst6; in in6_selectroute() member
690 u.dst6 = *dstsock; in in6_selectroute()
691 u.dst6.sin6_scope_id = 0; in in6_selectroute()
H A Dfrag6.c182 struct sockaddr_in6 dst6; in frag6_input() member
192 sockaddr_in6_init(&u.dst6, &ip6->ip6_dst, 0, 0, 0); in frag6_input()
H A Dip6_output.c705 struct sockaddr_in6 dst6; in ip6_output() member
709 sockaddr_in6_init(&u.dst6, &finaldst, 0, 0, 0); in ip6_output()
1851 struct sockaddr_in6 dst6; in ip6_ctloutput() member
1861 sockaddr_in6_init(&u.dst6, &in6p_faddr(inp), 0, 0, 0); in ip6_ctloutput()
2392 struct sockaddr_in6 dst6; in ip6_get_membership() member
2405 sockaddr_in6_init(&u.dst6, ia, 0, 0, 0); in ip6_get_membership()
H A Dip6_mroute.c1532 struct sockaddr_in6 dst6; in phyint_send() local
1586 sockaddr_in6_init(&dst6, &ip6->ip6_dst, 0, 0, 0); in phyint_send()
1599 error = ip6_if_output(ifp, ifp, mb_copy, &dst6, NULL); in phyint_send()
H A Dnd6_nbr.c911 struct sockaddr_in6 dst6; in nd6_na_output()
973 sockaddr_in6_init(&u.dst6, &daddr6, 0, 0, 0); in nd6_na_output()
910 struct sockaddr_in6 dst6; nd6_na_output() member
H A Dip6_input.c262 struct sockaddr_in6 dst6; in ip6_input() member
435 sockaddr_in6_init(&u.dst6, &ip6->ip6_dst, 0, 0, 0); in ip6_input()
H A Dicmp6.c2231 struct in6_addr *dst6, struct in6_addr *tgt6) in icmp6_redirect_diag() argument
2237 IN6_PRINT(ip6bufs, src6), IN6_PRINT(ip6bufd, dst6), in icmp6_redirect_diag()
/netbsd-src/sys/net/
H A Dif_stf.c357 const struct sockaddr_in6 *dst6; in stf_output() local
369 dst6 = (const struct sockaddr_in6 *)dst; in stf_output()
405 else if (IN6_IS_ADDR_6TO4(&dst6->sin6_addr)) in stf_output()
406 in4 = GET_V4(&dst6->sin6_addr); in stf_output()
/netbsd-src/sys/netipsec/
H A Dipsecif.c526 struct sockaddr_in6 dst6; in ipsecif6_output() member
616 sockaddr_in6_init(&u.dst6, &sin6_dst->sin6_addr, 0, 0, 0); in ipsecif6_output()
1012 const struct sockaddr_in6 *dst6; in ipsecif6_ctlinput() local
1039 dst6 = satocsin6(rtcache_getdst(ro_pc)); in ipsecif6_ctlinput()
1041 if (dst6 == NULL) in ipsecif6_ctlinput()
1043 else if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &dst6->sin6_addr)) in ipsecif6_ctlinput()
/netbsd-src/sys/dist/pf/net/
H A Dpf.c2948 struct sockaddr_in6 dst6; member
2970 sockaddr_in6_init(&u.dst6, &addr->v6, 0, 0, 0);
5071 struct sockaddr_in6 dst6; member
5084 sockaddr_in6_init(&u.dst6, &addr->v6, 0, 0, 0);
5106 struct sockaddr_in6 *dst6;
5128 dst6 = (struct sockaddr_in6 *)&ro.ro_dst;
5129 dst6->sin6_family = AF_INET6;
5130 dst6->sin6_len = sizeof(*dst6);
5131 dst6->sin6_addr = addr->v6;
5189 struct sockaddr_in6 *dst6;
[all …]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/sh/
H A Dmovxy.s24 dst6: .word 0 label
188 dstp6: .long dst6
279 dstp6b: .long dst6