Home
last modified time | relevance | path

Searched refs:daddr6 (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/
Dtxtimestamp.c82 static struct sockaddr_in6 daddr6; variable
459 ip6h->saddr = daddr6.sin6_addr; in fill_header_ipv6()
460 ip6h->daddr = daddr6.sin6_addr; in fill_header_ipv6()
508 daddr6.sin6_port = htons(cfg_ipproto); in do_test()
546 if (connect(fd, (void *) &daddr6, sizeof(daddr6))) in do_test()
614 msg.msg_name = (void *)&daddr6; in do_test()
615 msg.msg_namelen = sizeof(daddr6); in do_test()
824 memcpy(&daddr6, cur->ai_addr, sizeof(daddr6)); in resolve_hostname()
825 daddr6.sin6_port = htons(dest_port); in resolve_hostname()
917 do_listen(PF_INET6, &daddr6, sizeof(daddr6)); in main()
Dreuseport_bpf_cpu.c98 struct sockaddr_in6 *saddr6, *daddr6; in send_from_cpu() local
120 daddr6 = (struct sockaddr_in6 *)&daddr; in send_from_cpu()
121 daddr6->sin6_family = AF_INET6; in send_from_cpu()
122 daddr6->sin6_addr = in6addr_loopback; in send_from_cpu()
123 daddr6->sin6_port = htons(PORT); in send_from_cpu()
Dreuseport_addr_any.c106 struct sockaddr_in6 daddr6 = {0}; in connect_and_send() local
129 daddr6.sin6_family = AF_INET6; in connect_and_send()
130 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send()
132 daddr6.sin6_port = htons(PORT); in connect_and_send()
136 daddr = (struct sockaddr *)&daddr6; in connect_and_send()
Dreuseport_bpf_numa.c111 struct sockaddr_in6 *saddr6, *daddr6; in send_from_node() local
132 daddr6 = (struct sockaddr_in6 *)&daddr; in send_from_node()
133 daddr6->sin6_family = AF_INET6; in send_from_node()
134 daddr6->sin6_addr = in6addr_loopback; in send_from_node()
135 daddr6->sin6_port = htons(PORT); in send_from_node()
Dtcp_fastopen_backup_key.c146 struct sockaddr_in6 daddr6 = {0}; in connect_and_send() local
170 daddr6.sin6_family = AF_INET6; in connect_and_send()
171 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send()
173 daddr6.sin6_port = htons(PORT); in connect_and_send()
177 daddr = (struct sockaddr *)&daddr6; in connect_and_send()
/linux-6.6.21/drivers/scsi/cxgbi/
Dlibcxgbi.c722 struct sockaddr_in6 *daddr6 = (struct sockaddr_in6 *)dst_addr; in cxgbi_check_route6() local
734 rt = find_route_ipv6(NULL, &daddr6->sin6_addr, ifindex); in cxgbi_check_route6()
738 daddr6->sin6_addr.s6_addr, in cxgbi_check_route6()
739 be16_to_cpu(daddr6->sin6_port)); in cxgbi_check_route6()
746 n = dst_neigh_lookup(dst, &daddr6->sin6_addr); in cxgbi_check_route6()
750 daddr6->sin6_addr.s6_addr, in cxgbi_check_route6()
751 be16_to_cpu(daddr6->sin6_port)); in cxgbi_check_route6()
763 if (ipv6_addr_is_multicast(&daddr6->sin6_addr)) { in cxgbi_check_route6()
765 daddr6->sin6_addr.s6_addr, in cxgbi_check_route6()
766 ntohs(daddr6->sin6_port), ndev->name); in cxgbi_check_route6()
[all …]
Dlibcxgbi.h153 struct sockaddr_in6 daddr6; member
/linux-6.6.21/net/rds/
Dib_cm.c796 const struct in6_addr *daddr6; in rds_ib_cm_handle_connect() local
814 daddr6 = &dp->ricp_v6.dp_daddr; in rds_ib_cm_handle_connect()
819 if (ipv6_addr_type(daddr6) & IPV6_ADDR_LINKLOCAL) { in rds_ib_cm_handle_connect()
821 ifindex = __rds_find_ifindex(&init_net, daddr6); in rds_ib_cm_handle_connect()
829 ifindex = __rds_find_ifindex(&init_net, daddr6); in rds_ib_cm_handle_connect()
845 daddr6 = &d_mapped_addr; in rds_ib_cm_handle_connect()
849 saddr6, daddr6, RDS_PROTOCOL_MAJOR(version), in rds_ib_cm_handle_connect()
855 conn = rds_conn_create(&init_net, daddr6, saddr6, in rds_ib_cm_handle_connect()
/linux-6.6.21/tools/testing/selftests/netfilter/
Dnft_fib.sh167 local daddr6=$2
177 ip netns exec ${ns1} ping -c 3 -q $daddr6 > /dev/null
181 echo "FAIL: ${ns1} cannot reach $daddr6, ret $ret" 1>&2
/linux-6.6.21/include/trace/events/
Dtcp.h26 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument
34 *pin6 = daddr6; \
40 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument
/linux-6.6.21/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c358 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
363 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
364 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
383 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
387 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
388 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
406 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
410 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
411 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
434 &csk->daddr6.sin6_addr, ntohs(csk->daddr.sin_port), in send_act_open_req6()
[all …]
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_net.c114 struct in6_addr *daddr6; in rxe_find_route() local
117 daddr6 = &av->dgid_addr._sockaddr_in6.sin6_addr; in rxe_find_route()
118 dst = rxe_find_route6(qp, ndev, saddr6, daddr6); in rxe_find_route()
/linux-6.6.21/net/sched/
Dact_tunnel_key.c704 const struct in6_addr *daddr6 = &info->key.u.ipv6.dst; in tunnel_key_dump_addresses() local
709 TCA_TUNNEL_KEY_ENC_IPV6_DST, daddr6)) in tunnel_key_dump_addresses()
/linux-6.6.21/tools/testing/selftests/net/mptcp/
Duserspace_pm.sh335 addr=$(mptcp_lib_evts_get_info daddr6 "$evt" $e_type)
583 daddr=$(mptcp_lib_evts_get_info daddr6 "$evt" $e_type)
/linux-6.6.21/drivers/infiniband/core/
Dcma.c1628 const struct sockaddr_in6 *daddr6 = (const struct sockaddr_in6 *)daddr; in validate_net_dev() local
1638 validate_ipv6_net_dev(net_dev, daddr6, saddr6); in validate_net_dev()
1749 const struct sockaddr_in6 *daddr6 = (const struct sockaddr_in6 *)daddr; in cma_is_req_ipv6_ll() local
1753 (ipv6_addr_type(&daddr6->sin6_addr) & IPV6_ADDR_LINKLOCAL)); in cma_is_req_ipv6_ll()