Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/net/
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()
Dreuseport_addr_any.c100 struct sockaddr_in daddr4 = {0}; in connect_and_send() local
112 daddr4.sin_family = AF_INET; in connect_and_send()
113 if (!inet_pton(family, IP4_ADDR, &daddr4.sin_addr.s_addr)) in connect_and_send()
115 daddr4.sin_port = htons(PORT); in connect_and_send()
119 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()
Dtcp_fastopen_backup_key.c146 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-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c131 __be32 daddr4 = mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev); in mlxsw_sp_ipip_nexthop_update_gre4() local
137 mlxsw_reg_ratr_ipip4_entry_pack(ratr_pl, be32_to_cpu(daddr4)); in mlxsw_sp_ipip_nexthop_update_gre4()
153 u32 daddr4; in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp() local
173 daddr4 = be32_to_cpu(mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev)); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
176 type_check, has_ikey, daddr4, ikey); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
/Linux-v5.4/drivers/infiniband/core/
Dcma.c1466 const struct sockaddr_in *daddr4 = (const struct sockaddr_in *)daddr; in validate_net_dev() local
1474 validate_ipv4_net_dev(net_dev, daddr4, saddr4); in validate_net_dev()