Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c72 static struct sockaddr_in6 daddr6; variable
364 ip6h->saddr = daddr6.sin6_addr; in fill_header_ipv6()
365 ip6h->daddr = daddr6.sin6_addr; in fill_header_ipv6()
409 daddr6.sin6_port = htons(cfg_ipproto); in do_test()
433 if (connect(fd, (void *) &daddr6, sizeof(daddr6))) in do_test()
501 msg.msg_name = (void *)&daddr6; in do_test()
502 msg.msg_namelen = sizeof(daddr6); in do_test()
679 memcpy(&daddr6, cur->ai_addr, sizeof(daddr6)); in resolve_hostname()
680 daddr6.sin6_port = htons(dest_port); in resolve_hostname()
772 do_listen(PF_INET6, &daddr6, sizeof(daddr6)); in main()
/Linux-v5.4/tools/testing/selftests/net/
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.c102 struct sockaddr_in6 daddr6 = {0}; in connect_and_send() local
125 daddr6.sin6_family = AF_INET6; in connect_and_send()
126 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send()
128 daddr6.sin6_port = htons(PORT); in connect_and_send()
132 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()
/Linux-v5.4/drivers/scsi/cxgbi/
Dlibcxgbi.c719 struct sockaddr_in6 *daddr6 = (struct sockaddr_in6 *)dst_addr; in cxgbi_check_route6() local
731 rt = find_route_ipv6(NULL, &daddr6->sin6_addr, ifindex); in cxgbi_check_route6()
735 daddr6->sin6_addr.s6_addr, in cxgbi_check_route6()
736 be16_to_cpu(daddr6->sin6_port)); in cxgbi_check_route6()
743 n = dst_neigh_lookup(dst, &daddr6->sin6_addr); in cxgbi_check_route6()
747 daddr6->sin6_addr.s6_addr, in cxgbi_check_route6()
748 be16_to_cpu(daddr6->sin6_port)); in cxgbi_check_route6()
760 if (ipv6_addr_is_multicast(&daddr6->sin6_addr)) { in cxgbi_check_route6()
762 daddr6->sin6_addr.s6_addr, in cxgbi_check_route6()
763 ntohs(daddr6->sin6_port), ndev->name); in cxgbi_check_route6()
[all …]
Dlibcxgbi.h146 struct sockaddr_in6 daddr6; member
/Linux-v5.4/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-v5.4/net/rds/
Dib_cm.c735 const struct in6_addr *daddr6; in rds_ib_cm_handle_connect() local
753 daddr6 = &dp->ricp_v6.dp_daddr; in rds_ib_cm_handle_connect()
758 if (ipv6_addr_type(daddr6) & IPV6_ADDR_LINKLOCAL) { in rds_ib_cm_handle_connect()
760 ifindex = __rds_find_ifindex(&init_net, daddr6); in rds_ib_cm_handle_connect()
768 ifindex = __rds_find_ifindex(&init_net, daddr6); in rds_ib_cm_handle_connect()
784 daddr6 = &d_mapped_addr; in rds_ib_cm_handle_connect()
788 saddr6, daddr6, RDS_PROTOCOL_MAJOR(version), in rds_ib_cm_handle_connect()
794 conn = rds_conn_create(&init_net, daddr6, saddr6, in rds_ib_cm_handle_connect()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_net.c170 struct in6_addr *daddr6; in rxe_find_route() local
173 daddr6 = &av->dgid_addr._sockaddr_in6.sin6_addr; in rxe_find_route()
174 dst = rxe_find_route6(ndev, saddr6, daddr6); in rxe_find_route()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c353 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
358 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
359 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
378 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
382 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
383 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
401 req->peer_port = csk->daddr6.sin6_port; in send_act_open_req6()
405 req->peer_ip_hi = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr); in send_act_open_req6()
406 req->peer_ip_lo = *(__be64 *)(csk->daddr6.sin6_addr.s6_addr + in send_act_open_req6()
429 &csk->daddr6.sin6_addr, ntohs(csk->daddr.sin_port), in send_act_open_req6()
[all …]
/Linux-v5.4/net/sched/
Dact_tunnel_key.c500 const struct in6_addr *daddr6 = &info->key.u.ipv6.dst; in tunnel_key_dump_addresses() local
505 TCA_TUNNEL_KEY_ENC_IPV6_DST, daddr6)) in tunnel_key_dump_addresses()
/Linux-v5.4/drivers/infiniband/core/
Dcma.c1468 const struct sockaddr_in6 *daddr6 = (const struct sockaddr_in6 *)daddr; in validate_net_dev() local
1478 validate_ipv6_net_dev(net_dev, daddr6, saddr6); in validate_net_dev()
1589 const struct sockaddr_in6 *daddr6 = (const struct sockaddr_in6 *)daddr; in cma_is_req_ipv6_ll() local
1593 (ipv6_addr_type(&daddr6->sin6_addr) & IPV6_ADDR_LINKLOCAL)); in cma_is_req_ipv6_ll()