Home
last modified time | relevance | path

Searched refs:dest_ip (Results 1 – 22 of 22) sorted by relevance

/linux-6.15/drivers/infiniband/hw/mana/
H A Dah.c38 copy_in_reverse(ah->av->dest_ip, grh->dgid.raw, 16); in mana_ib_create_ah()
41 ah->av->dest_ip[10] = 0xFF; in mana_ib_create_ah()
42 ah->av->dest_ip[11] = 0xFF; in mana_ib_create_ah()
43 copy_in_reverse(&ah->av->dest_ip[12], &grh->dgid.raw[12], 4); in mana_ib_create_ah()
H A Dmana_ib.h107 u8 dest_ip[16]; member
/linux-6.15/drivers/net/ethernet/airoha/
H A Dairoha_ppe_debugfs.c95 dest_addr = &hwe->ipv4.orig_tuple.dest_ip; in airoha_ppe_debugfs_foe_show()
104 dest_addr = &hwe->ipv6.dest_ip; in airoha_ppe_debugfs_foe_show()
125 dest_addr = &hwe->ipv4.new_tuple.dest_ip; in airoha_ppe_debugfs_foe_show()
H A Dairoha_ppe.c320 t->dest_ip = be32_to_cpu(data->v4.dst_addr); in airoha_ppe_foe_entry_set_ipv4_tuple()
345 dest = hwe->ipv6.dest_ip; in airoha_ppe_foe_entry_set_ipv6_tuple()
367 hv2 = hwe->ipv4.orig_tuple.dest_ip; in airoha_ppe_foe_get_entry_hash()
372 hv1 = hwe->ipv6.src_ip[3] ^ hwe->ipv6.dest_ip[3]; in airoha_ppe_foe_get_entry_hash()
375 hv2 = hwe->ipv6.src_ip[2] ^ hwe->ipv6.dest_ip[2]; in airoha_ppe_foe_get_entry_hash()
376 hv2 ^= hwe->ipv6.dest_ip[0]; in airoha_ppe_foe_get_entry_hash()
378 hv3 = hwe->ipv6.src_ip[1] ^ hwe->ipv6.dest_ip[1]; in airoha_ppe_foe_get_entry_hash()
H A Dairoha_eth.h312 u32 dest_ip; member
357 u32 dest_ip[4]; member
/linux-6.15/include/net/
H A Darp.h62 void arp_send(int type, int ptype, __be32 dest_ip,
70 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
/linux-6.15/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c115 ai.dest = &entry->ipv4.orig.dest_ip; in mtk_ppe_debugfs_foe_show()
124 ai.dest = &entry->ipv6.dest_ip; in mtk_ppe_debugfs_foe_show()
140 ai.dest = &entry->ipv4.new.dest_ip; in mtk_ppe_debugfs_foe_show()
H A Dmtk_ppe.h144 u32 dest_ip; member
191 u32 dest_ip[4]; member
215 u32 dest_ip[4]; member
H A Dmtk_ppe.c153 hv2 = e->ipv4.orig.dest_ip; in mtk_ppe_hash_entry()
158 hv1 = e->ipv6.src_ip[3] ^ e->ipv6.dest_ip[3]; in mtk_ppe_hash_entry()
161 hv2 = e->ipv6.src_ip[2] ^ e->ipv6.dest_ip[2]; in mtk_ppe_hash_entry()
162 hv2 ^= e->ipv6.dest_ip[0]; in mtk_ppe_hash_entry()
164 hv3 = e->ipv6.src_ip[1] ^ e->ipv6.dest_ip[1]; in mtk_ppe_hash_entry()
326 t->dest_ip = be32_to_cpu(dest_addr); in mtk_foe_entry_set_ipv4_tuple()
357 dest = entry->ipv6.dest_ip; in mtk_foe_entry_set_ipv6_tuple()
/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Dsetup.c206 union tcp_addr dest_ip; member
213 this_ip_dest = p->dest_ip; in new_pthread_entry()
267 targ.dest_ip = addr1; in __test_init()
/linux-6.15/net/bridge/
H A Dbr_arp_nd_proxy.c44 struct net_device *dev, __be32 dest_ip, __be32 src_ip, in br_arp_send() argument
55 dev->name, &dest_ip, dest_hw, &src_ip, src_hw); in br_arp_send()
58 arp_send(ARPOP_REPLY, ETH_P_ARP, dest_ip, dev, src_ip, in br_arp_send()
63 skb = arp_create(ARPOP_REPLY, ETH_P_ARP, dest_ip, dev, src_ip, in br_arp_send()
/linux-6.15/tools/testing/selftests/net/forwarding/
H A Dvxlan_reserved.sh163 local dest_ip=$1; shift
171 -b $next_hop_mac -B $dest_ip \
H A Dvxlan_bridge_1d.sh565 local dest_ip=$1; shift
571 -b $next_hop_mac -B $dest_ip \
H A Dvxlan_bridge_1d_ipv6.sh678 local dest_ip=$1; shift
686 -b $next_hop_mac -B $dest_ip \
/linux-6.15/net/ipv4/
H A Darp.c301 static void arp_send_dst(int type, int ptype, __be32 dest_ip, in arp_send_dst() argument
314 skb = arp_create(type, ptype, dest_ip, dev, src_ip, in arp_send_dst()
323 void arp_send(int type, int ptype, __be32 dest_ip, in arp_send() argument
328 arp_send_dst(type, ptype, dest_ip, dev, src_ip, dest_hw, src_hw, in arp_send()
545 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip, in arp_create() argument
642 memcpy(arp_ptr, &dest_ip, 4); in arp_create()
/linux-6.15/drivers/infiniband/hw/irdma/
H A Dhw.c2488 info->dest_ip[0] = cminfo->loc_addr[0]; in irdma_manage_qhash()
2489 info->dest_ip[1] = cminfo->loc_addr[1]; in irdma_manage_qhash()
2490 info->dest_ip[2] = cminfo->loc_addr[2]; in irdma_manage_qhash()
2491 info->dest_ip[3] = cminfo->loc_addr[3]; in irdma_manage_qhash()
2514 info->src_port, info->dest_ip, info->src_ip, in irdma_manage_qhash()
2522 info->src_port, info->dest_ip, info->src_ip, in irdma_manage_qhash()
H A Dmain.h224 u32 dest_ip[4]; member
H A Dctrl.c320 FIELD_PREP(IRDMA_CQPSQ_QHASH_ADDR3, info->dest_ip[0])); in irdma_sc_manage_qhash_table_entry()
323 FIELD_PREP(IRDMA_CQPSQ_QHASH_ADDR0, info->dest_ip[0]) | in irdma_sc_manage_qhash_table_entry()
324 FIELD_PREP(IRDMA_CQPSQ_QHASH_ADDR1, info->dest_ip[1])); in irdma_sc_manage_qhash_table_entry()
327 FIELD_PREP(IRDMA_CQPSQ_QHASH_ADDR2, info->dest_ip[2]) | in irdma_sc_manage_qhash_table_entry()
328 FIELD_PREP(IRDMA_CQPSQ_QHASH_ADDR3, info->dest_ip[3])); in irdma_sc_manage_qhash_table_entry()
H A Dtype.h1119 u32 dest_ip[4]; member
H A Dverbs.c4108 if (!memcmp(mc_qht_el->mc_info.dest_ip, ip_mcast, in mcast_list_lookup_ip()
4109 sizeof(mc_qht_el->mc_info.dest_ip))) in mcast_list_lookup_ip()
4235 memcpy(mc_qht_elem->mc_info.dest_ip, ip_addr, in irdma_attach_mcast()
4236 sizeof(mc_qht_elem->mc_info.dest_ip)); in irdma_attach_mcast()
/linux-6.15/tools/testing/selftests/net/
H A Dipsec.c669 static int udp_ping_send(int sock[2], in_addr_t dest_ip, unsigned int port, in udp_ping_send() argument
679 server.sin_addr.s_addr = dest_ip; in udp_ping_send()
706 static int udp_ping_reply(int sock[2], in_addr_t dest_ip, unsigned int port, in udp_ping_reply() argument
716 server.sin_addr.s_addr = dest_ip; in udp_ping_reply()
745 typedef int (*ping_f)(int sock[2], in_addr_t dest_ip, unsigned int port,
/linux-6.15/drivers/net/bonding/
H A Dbond_main.c3073 static void bond_arp_send(struct slave *slave, int arp_op, __be32 dest_ip, in bond_arp_send() argument
3081 arp_op, &dest_ip, &src_ip); in bond_arp_send()
3083 skb = arp_create(arp_op, ETH_P_ARP, dest_ip, slave_dev, src_ip, in bond_arp_send()