/Linux-v5.10/samples/bpf/ |
D | xdp_router_ipv4_kern.c | 142 __be32 src_ip = 0, dest_ip = 0; in xdp_router_ipv4_prog() local 144 ipproto = parse_ipv4(data, nh_off, data_end, &src_ip, &dest_ip); in xdp_router_ipv4_prog() 145 direct_entry = bpf_map_lookup_elem(&exact_match, &dest_ip); in xdp_router_ipv4_prog() 154 key4.b8[4] = dest_ip & 0xff; in xdp_router_ipv4_prog() 155 key4.b8[5] = (dest_ip >> 8) & 0xff; in xdp_router_ipv4_prog() 156 key4.b8[6] = (dest_ip >> 16) & 0xff; in xdp_router_ipv4_prog() 157 key4.b8[7] = (dest_ip >> 24) & 0xff; in xdp_router_ipv4_prog() 164 dest_mac = bpf_map_lookup_elem(&arp_table, &dest_ip); in xdp_router_ipv4_prog() 168 dest_ip = prefix_value->gw; in xdp_router_ipv4_prog() 169 dest_mac = bpf_map_lookup_elem(&arp_table, &dest_ip); in xdp_router_ipv4_prog()
|
/Linux-v5.10/include/net/ |
D | arp.h | 68 void arp_send(int type, int ptype, __be32 dest_ip, 75 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
|
/Linux-v5.10/net/bridge/ |
D | br_arp_nd_proxy.c | 44 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-v5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_hw.c | 623 info->dest_ip[0] = cpu_to_le32(cminfo->loc_addr[0]); in i40iw_manage_qhash() 624 info->dest_ip[1] = cpu_to_le32(cminfo->loc_addr[1]); in i40iw_manage_qhash() 625 info->dest_ip[2] = cpu_to_le32(cminfo->loc_addr[2]); in i40iw_manage_qhash() 626 info->dest_ip[3] = cpu_to_le32(cminfo->loc_addr[3]); in i40iw_manage_qhash() 643 info->dest_ip, in i40iw_manage_qhash() 649 info->dest_ip, in i40iw_manage_qhash()
|
D | i40iw_ctrl.c | 1372 LS_64(info->dest_ip[0], I40IW_CQPSQ_QHASH_ADDR3)); in i40iw_sc_manage_qhash_table_entry() 1376 LS_64(info->dest_ip[0], I40IW_CQPSQ_QHASH_ADDR0) | in i40iw_sc_manage_qhash_table_entry() 1377 LS_64(info->dest_ip[1], I40IW_CQPSQ_QHASH_ADDR1)); in i40iw_sc_manage_qhash_table_entry() 1381 LS_64(info->dest_ip[2], I40IW_CQPSQ_QHASH_ADDR2) | in i40iw_sc_manage_qhash_table_entry() 1382 LS_64(info->dest_ip[3], I40IW_CQPSQ_QHASH_ADDR3)); in i40iw_sc_manage_qhash_table_entry()
|
D | i40iw_type.h | 929 u32 dest_ip[4]; member
|
/Linux-v5.10/net/ipv4/ |
D | arp.c | 300 static void arp_send_dst(int type, int ptype, __be32 dest_ip, in arp_send_dst() argument 313 skb = arp_create(type, ptype, dest_ip, dev, src_ip, in arp_send_dst() 322 void arp_send(int type, int ptype, __be32 dest_ip, in arp_send() argument 327 arp_send_dst(type, ptype, dest_ip, dev, src_ip, dest_hw, src_hw, in arp_send() 523 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip, in arp_create() argument 620 memcpy(arp_ptr, &dest_ip, 4); in arp_create()
|
/Linux-v5.10/tools/testing/selftests/net/forwarding/ |
D | vxlan_bridge_1d.sh | 557 local dest_ip=$1; shift 563 -b $next_hop_mac -B $dest_ip \
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | ipsec.c | 627 static int udp_ping_send(int sock[2], in_addr_t dest_ip, unsigned int port, in udp_ping_send() argument 637 server.sin_addr.s_addr = dest_ip; in udp_ping_send() 664 static int udp_ping_reply(int sock[2], in_addr_t dest_ip, unsigned int port, in udp_ping_reply() argument 674 server.sin_addr.s_addr = dest_ip; in udp_ping_reply() 703 typedef int (*ping_f)(int sock[2], in_addr_t dest_ip, unsigned int port,
|
/Linux-v5.10/drivers/net/bonding/ |
D | bond_main.c | 2569 static void bond_arp_send(struct slave *slave, int arp_op, __be32 dest_ip, in bond_arp_send() argument 2578 arp_op, &dest_ip, &src_ip); in bond_arp_send() 2580 skb = arp_create(arp_op, ETH_P_ARP, dest_ip, slave_dev, src_ip, in bond_arp_send()
|