Searched refs:direct_entry (Results 1 – 3 of 3) sorted by relevance
111 struct direct_map *direct_entry; in xdp_router_ipv4_prog() local118 direct_entry = bpf_map_lookup_elem(&exact_match, &iph->daddr); in xdp_router_ipv4_prog()121 if (direct_entry && direct_entry->mac && in xdp_router_ipv4_prog()122 direct_entry->arp.mac) { in xdp_router_ipv4_prog()123 src_mac = &direct_entry->mac; in xdp_router_ipv4_prog()124 dest_mac = &direct_entry->arp.mac; in xdp_router_ipv4_prog()125 forward_to = direct_entry->ifindex; in xdp_router_ipv4_prog()
114 } direct_entry; in read_route() local172 direct_entry.arp.mac = 0; in read_route()173 direct_entry.arp.dst = 0; in read_route()181 &direct_entry.arp.mac) == 0) in read_route()185 &direct_entry, 0) == 0); in read_route()331 } direct_entry; in read_arp() local358 &direct_entry) == 0) { in read_arp()360 direct_entry.arp.dst = 0; in read_arp()361 direct_entry.arp.mac = 0; in read_arp()368 &direct_entry, 0 in read_arp()[all …]
36 static ssize_t direct_entry(struct file *f, const char __user *user_buf,50 (_symbol) ? lkdtm_debugfs_entry : direct_entry53 # define CRASHPOINT_WRITE(_symbol) direct_entry301 static ssize_t direct_entry(struct file *f, const char __user *user_buf, in direct_entry() function