Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
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.6.21/drivers/net/ethernet/mediatek/
Dmtk_ppe_debugfs.c114 ai.dest = &entry->ipv4.orig.dest_ip; in mtk_ppe_debugfs_foe_show()
123 ai.dest = &entry->ipv6.dest_ip; in mtk_ppe_debugfs_foe_show()
139 ai.dest = &entry->ipv4.new.dest_ip; in mtk_ppe_debugfs_foe_show()
Dmtk_ppe.h144 u32 dest_ip; member
191 u32 dest_ip[4]; member
215 u32 dest_ip[4]; member
Dmtk_ppe.c150 hv2 = e->ipv4.orig.dest_ip; in mtk_ppe_hash_entry()
155 hv1 = e->ipv6.src_ip[3] ^ e->ipv6.dest_ip[3]; in mtk_ppe_hash_entry()
158 hv2 = e->ipv6.src_ip[2] ^ e->ipv6.dest_ip[2]; in mtk_ppe_hash_entry()
159 hv2 ^= e->ipv6.dest_ip[0]; in mtk_ppe_hash_entry()
161 hv3 = e->ipv6.src_ip[1] ^ e->ipv6.dest_ip[1]; in mtk_ppe_hash_entry()
323 t->dest_ip = be32_to_cpu(dest_addr); in mtk_foe_entry_set_ipv4_tuple()
355 dest = entry->ipv6.dest_ip; in mtk_foe_entry_set_ipv6_tuple()
/linux-6.6.21/net/bridge/
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.6.21/net/ipv4/
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()
544 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip, in arp_create() argument
641 memcpy(arp_ptr, &dest_ip, 4); in arp_create()
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh557 local dest_ip=$1; shift
563 -b $next_hop_mac -B $dest_ip \
Dvxlan_bridge_1d_ipv6.sh678 local dest_ip=$1; shift
686 -b $next_hop_mac -B $dest_ip \
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dhw.c2490 info->dest_ip[0] = cminfo->loc_addr[0]; in irdma_manage_qhash()
2491 info->dest_ip[1] = cminfo->loc_addr[1]; in irdma_manage_qhash()
2492 info->dest_ip[2] = cminfo->loc_addr[2]; in irdma_manage_qhash()
2493 info->dest_ip[3] = cminfo->loc_addr[3]; in irdma_manage_qhash()
2516 info->src_port, info->dest_ip, info->src_ip, in irdma_manage_qhash()
2524 info->src_port, info->dest_ip, info->src_ip, in irdma_manage_qhash()
Dmain.h222 u32 dest_ip[4]; member
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()
Dtype.h1119 u32 dest_ip[4]; member
Dverbs.c3963 if (!memcmp(mc_qht_el->mc_info.dest_ip, ip_mcast, in mcast_list_lookup_ip()
3964 sizeof(mc_qht_el->mc_info.dest_ip))) in mcast_list_lookup_ip()
4090 memcpy(mc_qht_elem->mc_info.dest_ip, ip_addr, in irdma_attach_mcast()
4091 sizeof(mc_qht_elem->mc_info.dest_ip)); in irdma_attach_mcast()
/linux-6.6.21/tools/testing/selftests/net/
Dipsec.c668 static int udp_ping_send(int sock[2], in_addr_t dest_ip, unsigned int port, in udp_ping_send() argument
678 server.sin_addr.s_addr = dest_ip; in udp_ping_send()
705 static int udp_ping_reply(int sock[2], in_addr_t dest_ip, unsigned int port, in udp_ping_reply() argument
715 server.sin_addr.s_addr = dest_ip; in udp_ping_reply()
744 typedef int (*ping_f)(int sock[2], in_addr_t dest_ip, unsigned int port,
/linux-6.6.21/drivers/net/bonding/
Dbond_main.c2936 static void bond_arp_send(struct slave *slave, int arp_op, __be32 dest_ip, in bond_arp_send() argument
2944 arp_op, &dest_ip, &src_ip); in bond_arp_send()
2946 skb = arp_create(arp_op, ETH_P_ARP, dest_ip, slave_dev, src_ip, in bond_arp_send()