Home
last modified time | relevance | path

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

/linux-6.1.9/samples/bpf/
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()
Dxdp_router_ipv4_user.c114 } direct_entry; in read_route() local
170 direct_entry.mac = route.mac & 0xffffffffffff; in read_route()
171 direct_entry.ifindex = route.iface; in read_route()
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()
182 direct_entry.arp.dst = route.dst; 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()
[all …]
/linux-6.1.9/drivers/misc/lkdtm/
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