Searched refs:arp_table (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/samples/bpf/ |
D | xdp_router_ipv4.bpf.c | 56 } arp_table SEC(".maps"); 146 dest_mac = bpf_map_lookup_elem(&arp_table, &iph->daddr); in xdp_router_ipv4_prog() 151 dest_mac = bpf_map_lookup_elem(&arp_table, in xdp_router_ipv4_prog()
|
D | xdp_router_ipv4_user.c | 105 struct arp_table { in read_route() struct 111 struct arp_table arp; in read_route() 323 struct arp_table { in read_arp() struct 328 struct arp_table arp; in read_arp() 643 arp_table_map_fd = bpf_map__fd(skel->maps.arp_table); in main()
|
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | utils.c | 27 if (!memcmp(rf->arp_table[arp_index].ip_addr, ip, sizeof(ip))) in irdma_arp_table() 45 memcpy(rf->arp_table[arp_index].ip_addr, ip, in irdma_arp_table() 46 sizeof(rf->arp_table[arp_index].ip_addr)); in irdma_arp_table() 47 ether_addr_copy(rf->arp_table[arp_index].mac_addr, mac_addr); in irdma_arp_table() 59 memset(rf->arp_table[arp_index].ip_addr, 0, in irdma_arp_table() 60 sizeof(rf->arp_table[arp_index].ip_addr)); in irdma_arp_table() 61 eth_zero_addr(rf->arp_table[arp_index].mac_addr); in irdma_arp_table() 86 if (ether_addr_equal(rf->arp_table[arpidx].mac_addr, mac)) in irdma_add_arp() 89 irdma_manage_arp_cache(rf, rf->arp_table[arpidx].mac_addr, ip, in irdma_add_arp()
|
D | main.h | 308 struct irdma_arp_entry *arp_table; member
|
D | hw.c | 2038 rf->arp_table = (struct irdma_arp_entry *)rf->mem_rsrc; in irdma_initialize_hw_rsrc()
|
D | cm.c | 2353 iwdev->rf->arp_table[arpindex].mac_addr); in irdma_make_cm_node()
|
/linux-6.6.21/net/atm/ |
D | lec.c | 821 int arp_table; member 852 for (p = state->arp_table; p < LEC_ARP_TABLE_SIZE; p++) { in lec_arp_walk() 857 state->arp_table = p; in lec_arp_walk() 892 state->arp_table = state->misc_table = 0; in lec_priv_walk() 933 state->arp_table = 0; in lec_seq_start()
|