/openbmc/linux/tools/testing/selftests/net/ |
H A D | txtimestamp.c | 82 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()
|
H A D | reuseport_bpf_cpu.c | 98 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()
|
H A D | reuseport_addr_any.c | 106 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()
|
H A D | reuseport_bpf_numa.c | 111 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()
|
H A D | tcp_fastopen_backup_key.c | 146 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()
|
/openbmc/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 738 daddr6->sin6_addr.s6_addr, in cxgbi_check_route6() 739 be16_to_cpu(daddr6->sin6_port)); 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() 765 daddr6->sin6_addr.s6_addr, in cxgbi_check_route6() 766 ntohs(daddr6->sin6_port), ndev->name); in cxgbi_check_route6() 782 daddr6->sin6_addr.s6_addr, ntohs(daddr6->sin6_port), port, in cxgbi_check_route6() 803 &daddr6->sin6_addr); in cxgbi_check_route6() 809 csk->daddr6.sin6_addr = daddr6->sin6_addr; in cxgbi_check_route6() 810 csk->daddr6.sin6_port = daddr6->sin6_port; in cxgbi_check_route6() [all …]
|
H A D | libcxgbi.h | 153 struct sockaddr_in6 daddr6; member
|
/openbmc/linux/net/rds/ |
H A D | ib_cm.c | 796 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()
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nft_fib.sh | 167 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
|
/openbmc/linux/include/trace/events/ |
H A D | tcp.h | 26 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument 34 *pin6 = daddr6; \ 40 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument
|
/openbmc/linux/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 358 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 …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_net.c | 114 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()
|
/openbmc/linux/net/sched/ |
H A D | act_tunnel_key.c | 704 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()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | userspace_pm.sh | 338 addr=$(mptcp_lib_evts_get_info daddr6 "$evt" $e_type) 592 daddr=$(mptcp_lib_evts_get_info daddr6 "$evt" $e_type)
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | cma.c | 1630 const struct sockaddr_in6 *daddr6 = (const struct sockaddr_in6 *)daddr; in validate_net_dev() local 1640 validate_ipv6_net_dev(net_dev, daddr6, saddr6); in validate_net_dev() 1751 const struct sockaddr_in6 *daddr6 = (const struct sockaddr_in6 *)daddr; in cma_is_req_ipv6_ll() local 1755 (ipv6_addr_type(&daddr6->sin6_addr) & IPV6_ADDR_LINKLOCAL)); in cma_is_req_ipv6_ll()
|