Home
last modified time | relevance | path

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

/linux/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/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.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/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/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/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
643 memcpy(arp_ptr, &dest_ip, 4); in arp_create()
/linux/drivers/net/ethernet/airoha/
H A Dairoha_ppe.c505 t->dest_ip = be32_to_cpu(data->v4.dst_addr); in airoha_ppe_foe_entry_set_ipv4_tuple()
530 dest = hwe->ipv6.dest_ip; in airoha_ppe_foe_entry_set_ipv6_tuple()
554 hv2 = hwe->ipv4.orig_tuple.dest_ip; in airoha_ppe_foe_get_entry_hash()
559 hv1 = hwe->ipv6.src_ip[3] ^ hwe->ipv6.dest_ip[3]; in airoha_ppe_foe_get_entry_hash()
562 hv2 = hwe->ipv6.src_ip[2] ^ hwe->ipv6.dest_ip[2]; in airoha_ppe_foe_get_entry_hash()
563 hv2 ^= hwe->ipv6.dest_ip[0]; in airoha_ppe_foe_get_entry_hash()
565 hv3 = hwe->ipv6.src_ip[1] ^ hwe->ipv6.dest_ip[1]; in airoha_ppe_foe_get_entry_hash()
H A Dairoha_eth.h379 u32 dest_ip; member
424 u32 dest_ip[4]; member
/linux/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1d_ipv6.sh678 local dest_ip=$1; shift
686 -b $next_hop_mac -B $dest_ip \
H A Dvxlan_bridge_1d.sh565 local dest_ip=$1; shift
586 -b $next_hop_mac -B $dest_ip \
/linux/tools/testing/selftests/net/
H A Dipsec.c670 static int udp_ping_send(int sock[2], in_addr_t dest_ip, unsigned int port, in udp_ping_send()
680 server.sin_addr.s_addr = dest_ip; in udp_ping_send()
707 static int udp_ping_reply(int sock[2], in_addr_t dest_ip, unsigned int port, in udp_ping_reply()
717 server.sin_addr.s_addr = dest_ip; in udp_ping_reply()
746 typedef int (*ping_f)(int sock[2], in_addr_t dest_ip, unsigned int port,
669 udp_ping_send(int sock[2],in_addr_t dest_ip,unsigned int port,char * buf,size_t buf_len) udp_ping_send() argument
706 udp_ping_reply(int sock[2],in_addr_t dest_ip,unsigned int port,char * buf,size_t buf_len) udp_ping_reply() argument
/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dcommand_defs.h821 __be32 dest_ip; member
853 __be32 dest_ip; member
/linux/drivers/net/bonding/
H A Dbond_main.c3014 static void bond_arp_send(struct slave *slave, int arp_op, __be32 dest_ip, in bond_arp_send() argument
3022 arp_op, &dest_ip, &src_ip); in bond_arp_send()
3024 skb = arp_create(arp_op, ETH_P_ARP, dest_ip, slave_dev, src_ip, in bond_arp_send()