/linux-6.12.1/tools/testing/selftests/net/ |
D | reuseport_addr_any.c | 103 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()
|
D | tcp_fastopen_backup_key.c | 143 struct sockaddr_in saddr4 = {0}; in connect_and_send() local 153 saddr4.sin_family = AF_INET; in connect_and_send() 154 saddr4.sin_addr.s_addr = htonl(INADDR_ANY); in connect_and_send() 155 saddr4.sin_port = 0; in connect_and_send() 162 sz = sizeof(saddr4); in connect_and_send() 163 saddr = (struct sockaddr *)&saddr4; in connect_and_send()
|
D | reuseport_bpf_numa.c | 110 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()
|
D | reuseport_bpf_cpu.c | 97 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()
|
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/ |
D | icmps-accept.c | 364 struct sockaddr_in *saddr4 = src; in icmp_interfere() local 370 if (saddr4->sin_family != daddr4->sin_family) in icmp_interfere() 374 if (saddr4->sin_family == AF_INET) { in icmp_interfere() 376 rcv_nxt, saddr4, daddr4); in icmp_interfere() 378 rcv_nxt, saddr4, daddr4); in icmp_interfere() 380 rcv_nxt, saddr4, daddr4); in icmp_interfere() 382 } else if (saddr4->sin_family == AF_INET6) { in icmp_interfere()
|
D | icmps-discard.c | 364 struct sockaddr_in *saddr4 = src; in icmp_interfere() local 370 if (saddr4->sin_family != daddr4->sin_family) in icmp_interfere() 374 if (saddr4->sin_family == AF_INET) { in icmp_interfere() 376 rcv_nxt, saddr4, daddr4); in icmp_interfere() 378 rcv_nxt, saddr4, daddr4); in icmp_interfere() 380 rcv_nxt, saddr4, daddr4); in icmp_interfere() 382 } else if (saddr4->sin_family == AF_INET6) { in icmp_interfere()
|
/linux-6.12.1/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 156 u_int32_t saddr4 = ntohl(*(__u32 *)RTA_DATA(attrs)); in capture_events() local 158 fprintf(stderr, ",saddr4:%u.%u.%u.%u", saddr4 >> 24, in capture_events() 159 (saddr4 >> 16) & 0xFF, (saddr4 >> 8) & 0xFF, in capture_events() 160 (saddr4 & 0xFF)); in capture_events()
|
D | mptcp_lib.sh | 540 saddr=$(mptcp_lib_evts_get_info saddr4 "${evt}" "${e_type}")
|
D | userspace_pm.sh | 523 saddr=$(mptcp_lib_evts_get_info saddr4 "$evt" $e_type)
|
/linux-6.12.1/fs/smb/client/ |
D | connect.c | 1356 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in cifs_ipaddr_cmp() local 1377 return memcmp(saddr4, vaddr4, in cifs_ipaddr_cmp() 1414 struct sockaddr_in *saddr4 = (struct sockaddr_in *)srcaddr; in cifs_match_ipaddr() local 1417 return (saddr4->sin_addr.s_addr == vaddr4->sin_addr.s_addr); in cifs_match_ipaddr() 2969 struct sockaddr_in *saddr4; in bind_socket() local 2972 saddr4 = (struct sockaddr_in *)&server->srcaddr; in bind_socket() 2979 &saddr4->sin_addr.s_addr, rc); in bind_socket()
|
D | cifsfs.c | 577 struct sockaddr_in *saddr4; in cifs_show_options() local 579 saddr4 = (struct sockaddr_in *)srcaddr; in cifs_show_options() 586 &saddr4->sin_addr.s_addr); in cifs_show_options()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 1400 u32 saddr4; in mlxsw_sp_ipip_entry_find_decap() local 1415 saddr4 = be32_to_cpu(saddr.addr4); in mlxsw_sp_ipip_entry_find_decap() 1416 saddrp = &saddr4; in mlxsw_sp_ipip_entry_find_decap() 1652 u32 saddr4; in mlxsw_sp_rif_ipip_lb_op() local 1657 saddr4 = be32_to_cpu(lb_cf.saddr.addr4); in mlxsw_sp_rif_ipip_lb_op() 1662 ul_rif_id, saddr4, in mlxsw_sp_rif_ipip_lb_op()
|
/linux-6.12.1/drivers/infiniband/core/ |
D | cma.c | 1629 const struct sockaddr_in *saddr4 = (const struct sockaddr_in *)saddr; in validate_net_dev() local 1636 validate_ipv4_net_dev(net_dev, daddr4, saddr4); in validate_net_dev()
|