Searched refs:daddr4 (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/net/ |
A D | reuseport_bpf_cpu.c | 97 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()
|
A D | reuseport_addr_any.c | 104 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()
|
A D | reuseport_bpf_numa.c | 110 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()
|
A D | tcp_fastopen_backup_key.c | 146 struct sockaddr_in daddr4 = {0}; in connect_and_send() local 159 daddr4.sin_family = AF_INET; in connect_and_send() 160 if (!inet_pton(family, IP4_ADDR, &daddr4.sin_addr.s_addr)) in connect_and_send() 162 daddr4.sin_port = htons(PORT); in connect_and_send() 166 daddr = (struct sockaddr *)&daddr4; in connect_and_send()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_ipip.c | 171 __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/tools/testing/selftests/netfilter/ |
A D | nft_fib.sh | 152 local daddr4=$1 155 ip netns exec ${ns1} ping -c 1 -q $daddr4 > /dev/null 159 echo "FAIL: ${ns1} cannot reach $daddr4, ret $ret" 1>&2
|
/linux/drivers/infiniband/core/ |
A D | cma.c | 1471 const struct sockaddr_in *daddr4 = (const struct sockaddr_in *)daddr; in validate_net_dev() local 1479 validate_ipv4_net_dev(net_dev, daddr4, saddr4); in validate_net_dev()
|
Completed in 18 milliseconds