Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/net/
Dreuseport_addr_any.c104 struct sockaddr_in daddr4 = {0}; in connect_and_send() local
116 daddr4.sin_family = AF_INET; in connect_and_send()
117 if (!inet_pton(family, IP4_ADDR, &daddr4.sin_addr.s_addr)) in connect_and_send()
119 daddr4.sin_port = htons(PORT); in connect_and_send()
123 daddr = (struct sockaddr *)&daddr4; in connect_and_send()
Dreuseport_bpf_cpu.c97 struct sockaddr_in *saddr4, *daddr4; in send_from_cpu() local
109 daddr4 = (struct sockaddr_in *)&daddr; in send_from_cpu()
110 daddr4->sin_family = AF_INET; in send_from_cpu()
111 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_cpu()
112 daddr4->sin_port = htons(PORT); in send_from_cpu()
Dreuseport_bpf_numa.c110 struct sockaddr_in *saddr4, *daddr4; in send_from_node() local
121 daddr4 = (struct sockaddr_in *)&daddr; in send_from_node()
122 daddr4->sin_family = AF_INET; in send_from_node()
123 daddr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in send_from_node()
124 daddr4->sin_port = htons(PORT); in send_from_node()
Dtcp_fastopen_backup_key.c144 struct sockaddr_in daddr4 = {0}; in connect_and_send() local
157 daddr4.sin_family = AF_INET; in connect_and_send()
158 if (!inet_pton(family, IP4_ADDR, &daddr4.sin_addr.s_addr)) in connect_and_send()
160 daddr4.sin_port = htons(PORT); in connect_and_send()
164 daddr = (struct sockaddr *)&daddr4; in connect_and_send()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c171 __be32 daddr4 = mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev); in mlxsw_sp_ipip_nexthop_update_gre4() local
178 mlxsw_reg_ratr_ipip4_entry_pack(ratr_pl, be32_to_cpu(daddr4)); in mlxsw_sp_ipip_nexthop_update_gre4()
194 u32 daddr4; in mlxsw_sp_ipip_decap_config_gre4() local
214 daddr4 = be32_to_cpu(mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev)); in mlxsw_sp_ipip_decap_config_gre4()
217 type_check, has_ikey, daddr4, ikey); in mlxsw_sp_ipip_decap_config_gre4()
/linux-6.1.9/tools/testing/selftests/netfilter/
Dnft_fib.sh166 local daddr4=$1
169 ip netns exec ${ns1} ping -c 1 -q $daddr4 > /dev/null
173 echo "FAIL: ${ns1} cannot reach $daddr4, ret $ret" 1>&2
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c168 u_int32_t daddr4 = ntohl(*(__u32 *)RTA_DATA(attrs)); in capture_events() local
170 fprintf(stderr, ",daddr4:%u.%u.%u.%u", daddr4 >> 24, in capture_events()
171 (daddr4 >> 16) & 0xFF, (daddr4 >> 8) & 0xFF, in capture_events()
172 (daddr4 & 0xFF)); in capture_events()
/linux-6.1.9/drivers/infiniband/core/
Dcma.c1599 const struct sockaddr_in *daddr4 = (const struct sockaddr_in *)daddr; in validate_net_dev() local
1607 validate_ipv4_net_dev(net_dev, daddr4, saddr4); in validate_net_dev()