Home
last modified time | relevance | path

Searched refs:bpf_net_context (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/
H A Dfilter.h863 struct bpf_net_context { struct
870 static inline struct bpf_net_context *bpf_net_ctx_set(struct bpf_net_context *bpf_net_ctx) in bpf_net_ctx_set() argument
874 if (tsk->bpf_net_context != NULL) in bpf_net_ctx_set()
878 tsk->bpf_net_context = bpf_net_ctx; in bpf_net_ctx_set()
882 static inline void bpf_net_ctx_clear(struct bpf_net_context *bpf_net_ctx) in bpf_net_ctx_clear()
885 current->bpf_net_context = NULL; in bpf_net_ctx_clear()
888 static inline struct bpf_net_context *bpf_net_ctx_get(void) in bpf_net_ctx_get()
890 return current->bpf_net_context; in bpf_net_ctx_get()
895 struct bpf_net_context *bpf_net_ctx = bpf_net_ctx_get(); in bpf_net_ctx_get_ri()
898 memset(&bpf_net_ctx->ri, 0, offsetof(struct bpf_net_context, ri.nh)); in bpf_net_ctx_get_ri()
[all …]
/linux/net/core/
H A Dlwt_bpf.c42 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in run_lwt_bpf()
H A Ddev.c4518 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in sch_handle_ingress()
4581 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in sch_handle_egress()
5720 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in do_xdp_generic()
6935 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in busy_poll_stop()
6995 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in __napi_busy_loop()
7893 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in napi_threaded_poll_loop()
7973 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in net_rx_action()
/linux/kernel/bpf/
H A Dcpumap.c254 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in cpu_map_bpf_prog_run()
/linux/net/bpf/
H A Dtest_run.c276 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in xdp_test_run_batch()
391 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in bpf_test_run()
/linux/drivers/net/
H A Dtun.c1689 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_build_skb()
2670 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_sendmsg()