Home
last modified time | relevance | path

Searched refs:direct_entry (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/samples/bpf/
H A Dxdp_router_ipv4.bpf.c111 struct direct_map *direct_entry; in xdp_router_ipv4_prog() local
118 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()
H A Dxdp_router_ipv4_user.c114 } direct_entry; in read_route() local
172 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() local
358 &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 …]
/openbmc/linux/drivers/misc/lkdtm/
H A Dcore.c36 static ssize_t direct_entry(struct file *f, const char __user *user_buf,
50 (_symbol) ? lkdtm_debugfs_entry : direct_entry
53 # define CRASHPOINT_WRITE(_symbol) direct_entry
301 static ssize_t direct_entry(struct file *f, const char __user *user_buf, in direct_entry() function