Lines Matching refs:BPF_FUNC
125 #ifndef BPF_FUNC
126 # define BPF_FUNC(NAME, ...) \ macro
131 static void *BPF_FUNC(map_lookup_elem, void *map, const void *key);
132 static int BPF_FUNC(map_update_elem, void *map, const void *key,
134 static int BPF_FUNC(map_delete_elem, void *map, const void *key);
137 static uint64_t BPF_FUNC(ktime_get_ns);
146 static void BPF_FUNC(trace_printk, const char *fmt, int fmt_size, ...);
157 static uint32_t BPF_FUNC(get_prandom_u32);
160 static void BPF_FUNC(tail_call, struct __sk_buff *skb, void *map,
164 static uint32_t BPF_FUNC(get_smp_processor_id);
165 static uint32_t BPF_FUNC(get_numa_node_id);
168 static uint32_t BPF_FUNC(get_cgroup_classid, struct __sk_buff *skb);
169 static int BPF_FUNC(skb_under_cgroup, void *map, uint32_t index);
171 static uint32_t BPF_FUNC(get_route_realm, struct __sk_buff *skb);
172 static uint32_t BPF_FUNC(get_hash_recalc, struct __sk_buff *skb);
173 static uint32_t BPF_FUNC(set_hash_invalid, struct __sk_buff *skb);
176 static int BPF_FUNC(redirect, int ifindex, uint32_t flags);
177 static int BPF_FUNC(clone_redirect, struct __sk_buff *skb, int ifindex,
181 static int BPF_FUNC(skb_load_bytes, struct __sk_buff *skb, uint32_t off,
183 static int BPF_FUNC(skb_store_bytes, struct __sk_buff *skb, uint32_t off,
186 static int BPF_FUNC(l3_csum_replace, struct __sk_buff *skb, uint32_t off,
188 static int BPF_FUNC(l4_csum_replace, struct __sk_buff *skb, uint32_t off,
190 static int BPF_FUNC(csum_diff, const void *from, uint32_t from_size,
192 static int BPF_FUNC(csum_update, struct __sk_buff *skb, uint32_t wsum);
194 static int BPF_FUNC(skb_change_type, struct __sk_buff *skb, uint32_t type);
195 static int BPF_FUNC(skb_change_proto, struct __sk_buff *skb, uint32_t proto,
197 static int BPF_FUNC(skb_change_tail, struct __sk_buff *skb, uint32_t nlen,
200 static int BPF_FUNC(skb_pull_data, struct __sk_buff *skb, uint32_t len);
208 static int BPF_FUNC(skb_vlan_push, struct __sk_buff *skb, uint16_t proto,
210 static int BPF_FUNC(skb_vlan_pop, struct __sk_buff *skb);
213 static int BPF_FUNC(skb_get_tunnel_key, struct __sk_buff *skb,
215 static int BPF_FUNC(skb_set_tunnel_key, struct __sk_buff *skb,
219 static int BPF_FUNC(skb_get_tunnel_opt, struct __sk_buff *skb,
221 static int BPF_FUNC(skb_set_tunnel_opt, struct __sk_buff *skb,