Home
last modified time | relevance | path

Searched refs:saddr6 (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/
Dreuseport_bpf_cpu.c98 struct sockaddr_in6 *saddr6, *daddr6; in send_from_cpu() local
115 saddr6 = (struct sockaddr_in6 *)&saddr; in send_from_cpu()
116 saddr6->sin6_family = AF_INET6; in send_from_cpu()
117 saddr6->sin6_addr = in6addr_any; in send_from_cpu()
118 saddr6->sin6_port = 0; in send_from_cpu()
Dreuseport_addr_any.c105 struct sockaddr_in6 saddr6 = {0}; in connect_and_send() local
126 saddr6.sin6_family = AF_INET6; in connect_and_send()
127 saddr6.sin6_addr = in6addr_any; in connect_and_send()
134 sz = sizeof(saddr6); in connect_and_send()
135 saddr = (struct sockaddr *)&saddr6; in connect_and_send()
Dreuseport_bpf_numa.c111 struct sockaddr_in6 *saddr6, *daddr6; in send_from_node() local
127 saddr6 = (struct sockaddr_in6 *)&saddr; in send_from_node()
128 saddr6->sin6_family = AF_INET6; in send_from_node()
129 saddr6->sin6_addr = in6addr_any; in send_from_node()
130 saddr6->sin6_port = 0; in send_from_node()
Dtcp_fastopen_backup_key.c145 struct sockaddr_in6 saddr6 = {0}; in connect_and_send() local
167 saddr6.sin6_family = AF_INET6; in connect_and_send()
168 saddr6.sin6_addr = in6addr_any; in connect_and_send()
175 sz = sizeof(saddr6); in connect_and_send()
176 saddr = (struct sockaddr *)&saddr6; in connect_and_send()
/linux-6.6.21/include/trace/events/
Dtcp.h26 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument
32 *pin6 = saddr6; \
40 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument
/linux-6.6.21/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c357 req->local_port = csk->saddr6.sin6_port; in send_act_open_req6()
360 req->local_ip_hi = *(__be64 *)(csk->saddr6.sin6_addr.s6_addr); in send_act_open_req6()
361 req->local_ip_lo = *(__be64 *)(csk->saddr6.sin6_addr.s6_addr + in send_act_open_req6()
382 req->local_port = csk->saddr6.sin6_port; in send_act_open_req6()
384 req->local_ip_hi = *(__be64 *)(csk->saddr6.sin6_addr.s6_addr); in send_act_open_req6()
385 req->local_ip_lo = *(__be64 *)(csk->saddr6.sin6_addr.s6_addr + in send_act_open_req6()
405 req->local_port = csk->saddr6.sin6_port; in send_act_open_req6()
407 req->local_ip_hi = *(__be64 *)(csk->saddr6.sin6_addr.s6_addr); in send_act_open_req6()
408 req->local_ip_lo = *(__be64 *)(csk->saddr6.sin6_addr.s6_addr + in send_act_open_req6()
433 &csk->saddr6.sin6_addr, ntohs(csk->saddr.sin_port), in send_act_open_req6()
[all …]
/linux-6.6.21/net/rds/
Dib_cm.c795 const struct in6_addr *saddr6; in rds_ib_cm_handle_connect() local
813 saddr6 = &dp->ricp_v6.dp_saddr; in rds_ib_cm_handle_connect()
827 } else if (ipv6_addr_type(saddr6) & IPV6_ADDR_LINKLOCAL) { in rds_ib_cm_handle_connect()
844 saddr6 = &s_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/drivers/infiniband/sw/rxe/
Drxe_net.c113 struct in6_addr *saddr6; in rxe_find_route() local
116 saddr6 = &av->sgid_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/fs/smb/client/
Dconnect.c1347 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_ipaddr_cmp() local
1380 return memcmp(saddr6, in cifs_ipaddr_cmp()
1408 struct sockaddr_in6 *saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_match_ipaddr() local
1410 return (ipv6_addr_equal(&saddr6->sin6_addr, &vaddr6->sin6_addr) in cifs_match_ipaddr()
1411 && saddr6->sin6_scope_id == vaddr6->sin6_scope_id); in cifs_match_ipaddr()
2945 struct sockaddr_in6 *saddr6; in bind_socket() local
2947 saddr6 = (struct sockaddr_in6 *)&server->srcaddr; in bind_socket()
2948 if (saddr6->sin6_family == AF_INET6) in bind_socket()
2950 &saddr6->sin6_addr, rc); in bind_socket()
Dcifsfs.c563 struct sockaddr_in6 *saddr6; in cifs_show_options() local
565 saddr6 = (struct sockaddr_in6 *)srcaddr; in cifs_show_options()
568 &saddr6->sin6_addr); in cifs_show_options()
/linux-6.6.21/net/sched/
Dact_tunnel_key.c703 const struct in6_addr *saddr6 = &info->key.u.ipv6.src; in tunnel_key_dump_addresses() local
707 TCA_TUNNEL_KEY_ENC_IPV6_SRC, saddr6) && in tunnel_key_dump_addresses()
/linux-6.6.21/tools/testing/selftests/net/mptcp/
Duserspace_pm.sh582 saddr=$(mptcp_lib_evts_get_info saddr6 "$evt" $e_type)
930 saddr=$(mptcp_lib_evts_get_info saddr6 $evt $e_type)
Dmptcp_join.sh2857 saddr=$(mptcp_lib_evts_get_info saddr6 "$evt" "$e_type")
/linux-6.6.21/drivers/scsi/cxgbi/
Dlibcxgbi.h149 struct sockaddr_in6 saddr6; member
Dlibcxgbi.c456 port = &csk->saddr6.sin6_port; in sock_get_port()
509 port = &csk->saddr6.sin6_port; in sock_put_port()
812 csk->saddr6.sin6_family = daddr6->sin6_family; in cxgbi_check_route6()
813 csk->saddr6.sin6_addr = pref_saddr; in cxgbi_check_route6()
/linux-6.6.21/drivers/infiniband/core/
Dcma.c1629 const struct sockaddr_in6 *saddr6 = (const struct sockaddr_in6 *)saddr; in validate_net_dev() local
1638 validate_ipv6_net_dev(net_dev, daddr6, saddr6); in validate_net_dev()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c1649 struct in6_addr *saddr6; in mlxsw_sp_rif_ipip_lb_op() local
1665 saddr6 = &lb_cf.saddr.addr6; in mlxsw_sp_rif_ipip_lb_op()
1670 ul_rif_id, saddr6, in mlxsw_sp_rif_ipip_lb_op()