Searched refs:arp_entry (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/samples/bpf/ |
D | xdp_router_ipv4_user.c | 371 } arp_entry; in read_arp() local 400 arp_entry.dst = atoi(dsts); in read_arp() 401 arp_entry.mac = atol(mac); in read_arp() 402 printf("%x\t\t%llx\n", arp_entry.dst, arp_entry.mac); in read_arp() 404 if (bpf_map_lookup_elem(map_fd[3], &arp_entry.dst, in read_arp() 410 direct_entry.arp.dst = arp_entry.dst; in read_arp() 411 direct_entry.arp.mac = arp_entry.mac; in read_arp() 414 &arp_entry.dst, in read_arp() 420 assert(bpf_map_delete_elem(map_fd[2], &arp_entry.dst) == 0); in read_arp() 423 &arp_entry.dst, in read_arp() [all …]
|
D | xdp_router_ipv4_kern.c | 33 struct arp_entry { struct 39 struct arp_entry arp; argument
|
/Linux-v4.19/drivers/s390/net/ |
D | qeth_l3_main.c | 1910 struct qeth_arp_cache_entry arp_entry; in qeth_l3_do_ioctl() local 1933 if (copy_from_user(&arp_entry, rq->ifr_ifru.ifru_data, in qeth_l3_do_ioctl() 1937 rc = qeth_l3_arp_add_entry(card, &arp_entry); in qeth_l3_do_ioctl() 1944 if (copy_from_user(&arp_entry, rq->ifr_ifru.ifru_data, in qeth_l3_do_ioctl() 1948 rc = qeth_l3_arp_remove_entry(card, &arp_entry); in qeth_l3_do_ioctl()
|