Searched refs:direct_entry (Results 1 – 3 of 3) sorted by relevance
141 struct direct_map *direct_entry; in xdp_router_ipv4_prog() local145 direct_entry = bpf_map_lookup_elem(&exact_match, &dest_ip); in xdp_router_ipv4_prog()147 if (direct_entry && direct_entry->mac && direct_entry->arp.mac) { in xdp_router_ipv4_prog()148 src_mac = &direct_entry->mac; in xdp_router_ipv4_prog()149 dest_mac = &direct_entry->arp.mac; in xdp_router_ipv4_prog()150 forward_to = direct_entry->ifindex; in xdp_router_ipv4_prog()
146 } direct_entry; in read_route() local216 direct_entry.mac = route.mac & 0xffffffffffff; in read_route()217 direct_entry.ifindex = route.iface; in read_route()218 direct_entry.arp.mac = 0; in read_route()219 direct_entry.arp.dst = 0; in read_route()227 &direct_entry.arp.mac) == 0) in read_route()228 direct_entry.arp.dst = route.dst; in read_route()231 &direct_entry, 0) == 0); in read_route()392 } direct_entry; in read_arp() local422 &direct_entry) == 0) { in read_arp()[all …]
35 static ssize_t direct_entry(struct file *f, const char __user *user_buf,49 (_symbol) ? lkdtm_debugfs_entry : direct_entry52 # define CRASHPOINT_WRITE(_symbol) direct_entry359 static ssize_t direct_entry(struct file *f, const char __user *user_buf, in direct_entry() function