Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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_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()
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_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()
Dtcp_fastopen_backup_key.c148 struct sockaddr_in6 daddr6 = {0}; in connect_and_send() local
172 daddr6.sin6_family = AF_INET6; in connect_and_send()
173 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send()
175 daddr6.sin6_port = htons(PORT); in connect_and_send()
179 daddr = (struct sockaddr *)&daddr6; in connect_and_send()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.h154 struct sockaddr_in6 daddr6; member
/kernel/linux/linux-5.10/net/rds/
Dib_cm.c830 const struct in6_addr *daddr6; in rds_ib_cm_handle_connect() local
848 daddr6 = &dp->ricp_v6.dp_daddr; in rds_ib_cm_handle_connect()
853 if (ipv6_addr_type(daddr6) & IPV6_ADDR_LINKLOCAL) { in rds_ib_cm_handle_connect()
855 ifindex = __rds_find_ifindex(&init_net, daddr6); in rds_ib_cm_handle_connect()
863 ifindex = __rds_find_ifindex(&init_net, daddr6); in rds_ib_cm_handle_connect()
879 daddr6 = &d_mapped_addr; in rds_ib_cm_handle_connect()
883 saddr6, daddr6, RDS_PROTOCOL_MAJOR(version), in rds_ib_cm_handle_connect()
889 conn = rds_conn_create(&init_net, daddr6, saddr6, in rds_ib_cm_handle_connect()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_net.c133 struct in6_addr *daddr6; in rxe_find_route() local
136 daddr6 = &av->dgid_addr._sockaddr_in6.sin6_addr; in rxe_find_route()
137 dst = rxe_find_route6(ndev, saddr6, daddr6); in rxe_find_route()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c357 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
362 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
363 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
382 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
386 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
387 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
405 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
409 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
410 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
433 &csk->daddr6.sin6_addr, ntohs(csk->daddr.sin_port), in send_act_open_req6()
[all …]
/kernel/linux/linux-5.10/net/sched/
Dact_tunnel_key.c700 const struct in6_addr *daddr6 = &info->key.u.ipv6.dst; in tunnel_key_dump_addresses() local
705 TCA_TUNNEL_KEY_ENC_IPV6_DST, daddr6)) in tunnel_key_dump_addresses()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma.c1482 const struct sockaddr_in6 *daddr6 = (const struct sockaddr_in6 *)daddr; in validate_net_dev() local
1492 validate_ipv6_net_dev(net_dev, daddr6, saddr6); in validate_net_dev()
1603 const struct sockaddr_in6 *daddr6 = (const struct sockaddr_in6 *)daddr; in cma_is_req_ipv6_ll() local
1607 (ipv6_addr_type(&daddr6->sin6_addr) & IPV6_ADDR_LINKLOCAL)); in cma_is_req_ipv6_ll()