Home
last modified time | relevance | path

Searched refs:saddr4 (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dreuseport_addr_any.c103 struct sockaddr_in saddr4 = {0}; in connect_and_send() local
112 saddr4.sin_family = AF_INET; in connect_and_send()
113 saddr4.sin_addr.s_addr = htonl(INADDR_ANY); in connect_and_send()
114 saddr4.sin_port = 0; in connect_and_send()
121 sz = sizeof(saddr4); in connect_and_send()
122 saddr = (struct sockaddr *)&saddr4; in connect_and_send()
Dreuseport_bpf_numa.c110 struct sockaddr_in *saddr4, *daddr4; in send_from_node() local
116 saddr4 = (struct sockaddr_in *)&saddr; in send_from_node()
117 saddr4->sin_family = AF_INET; in send_from_node()
118 saddr4->sin_addr.s_addr = htonl(INADDR_ANY); in send_from_node()
119 saddr4->sin_port = 0; in send_from_node()
Dtcp_fastopen_backup_key.c145 struct sockaddr_in saddr4 = {0}; in connect_and_send() local
155 saddr4.sin_family = AF_INET; in connect_and_send()
156 saddr4.sin_addr.s_addr = htonl(INADDR_ANY); in connect_and_send()
157 saddr4.sin_port = 0; in connect_and_send()
164 sz = sizeof(saddr4); in connect_and_send()
165 saddr = (struct sockaddr *)&saddr4; in connect_and_send()
Dreuseport_bpf_cpu.c97 struct sockaddr_in *saddr4, *daddr4; in send_from_cpu() local
104 saddr4 = (struct sockaddr_in *)&saddr; in send_from_cpu()
105 saddr4->sin_family = AF_INET; in send_from_cpu()
106 saddr4->sin_addr.s_addr = htonl(INADDR_ANY); in send_from_cpu()
107 saddr4->sin_port = 0; in send_from_cpu()
/kernel/linux/linux-5.10/fs/cifs/
Dcifsfs.c501 struct sockaddr_in *saddr4; in cifs_show_options() local
503 saddr4 = (struct sockaddr_in *)srcaddr; in cifs_show_options()
510 &saddr4->sin_addr.s_addr); in cifs_show_options()
Dconnect.c2301 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in cifs_match_ipaddr() local
2303 return (saddr4->sin_addr.s_addr == vaddr4->sin_addr.s_addr); in cifs_match_ipaddr()
3605 struct sockaddr_in *saddr4; in bind_socket() local
3607 saddr4 = (struct sockaddr_in *)&server->srcaddr; in bind_socket()
3614 &saddr4->sin_addr.s_addr, rc); in bind_socket()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c1195 u32 saddr4; in mlxsw_sp_ipip_entry_find_decap() local
1210 saddr4 = be32_to_cpu(saddr.addr4); in mlxsw_sp_ipip_entry_find_decap()
1211 saddrp = &saddr4; in mlxsw_sp_ipip_entry_find_decap()
1437 u32 saddr4; in mlxsw_sp_rif_ipip_lb_op() local
1441 saddr4 = be32_to_cpu(lb_cf.saddr.addr4); in mlxsw_sp_rif_ipip_lb_op()
1446 ul_vr_id, ul_rif_id, saddr4, lb_cf.okey); in mlxsw_sp_rif_ipip_lb_op()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma.c1481 const struct sockaddr_in *saddr4 = (const struct sockaddr_in *)saddr; in validate_net_dev() local
1488 validate_ipv4_net_dev(net_dev, daddr4, saddr4); in validate_net_dev()