Searched refs:bpf_net_context (Results 1 – 8 of 8) sorted by relevance
/linux/include/linux/ |
H A D | filter.h | 781 struct bpf_net_context { struct 788 static inline struct bpf_net_context *bpf_net_ctx_set(struct bpf_net_context *bpf_net_ctx) in bpf_net_ctx_set() argument 792 if (tsk->bpf_net_context != NULL) in bpf_net_ctx_set() 796 tsk->bpf_net_context = bpf_net_ctx; in bpf_net_ctx_set() 800 static inline void bpf_net_ctx_clear(struct bpf_net_context *bpf_net_ctx) in bpf_net_ctx_clear() 803 current->bpf_net_context = NULL; in bpf_net_ctx_clear() 806 static inline struct bpf_net_context *bpf_net_ctx_get(void) in bpf_net_ctx_get() 808 return current->bpf_net_context; in bpf_net_ctx_get() 813 struct bpf_net_context *bpf_net_ctx = bpf_net_ctx_get(); in bpf_net_ctx_get_ri() 816 memset(&bpf_net_ctx->ri, 0, offsetof(struct bpf_net_context, ri.nh)); in bpf_net_ctx_get_ri() [all …]
|
H A D | sched.h | 59 struct bpf_net_context; 1601 struct bpf_net_context *bpf_net_context; member
|
/linux/net/core/ |
H A D | lwt_bpf.c | 43 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in run_lwt_bpf()
|
H A D | dev.c | 4356 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in sch_handle_ingress() 4419 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in sch_handle_egress() 5442 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in do_xdp_generic() 6676 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in busy_poll_stop() 6727 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in __napi_busy_loop() 7610 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in napi_threaded_poll_loop() 7662 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in net_rx_action()
|
/linux/kernel/bpf/ |
H A D | cpumap.c | 251 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in cpu_map_bpf_prog_run()
|
/linux/net/bpf/ |
H A D | test_run.c | 288 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in xdp_test_run_batch() 403 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in bpf_test_run()
|
/linux/drivers/net/ |
H A D | netkit.c | 79 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in netkit_xmit()
|
H A D | tun.c | 1603 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_build_skb() 2519 struct bpf_net_context __bpf_net_ctx, *bpf_net_ctx; in tun_sendmsg()
|