Searched refs:bpf_fd (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/net/sched/
H A Dact_bpf.c31 u32 bpf_fd; member in struct:tcf_bpf_cfg
113 if (nla_put_u32(skb, TCA_ACT_BPF_FD, prog->bpf_fd)) tcf_bpf_dump_ebpf_info()
213 u32 bpf_fd; tcf_bpf_init_from_efd() local
215 bpf_fd = nla_get_u32(tb[TCA_ACT_BPF_FD]); tcf_bpf_init_from_efd()
217 fp = bpf_prog_get(bpf_fd); tcf_bpf_init_from_efd()
236 cfg->bpf_fd = bpf_fd; tcf_bpf_init_from_efd()
329 if (cfg.bpf_fd) tcf_bpf_init()
330 prog->bpf_fd = cfg.bpf_fd; tcf_bpf_init()
H A Dcls_bpf.c44 u32 bpf_fd; member in union:cls_bpf_prog::__anon14228
231 u32 bpf_fd; cls_bpf_prog_from_efd() local
233 bpf_fd = nla_get_u32(tb[TCA_BPF_FD]); cls_bpf_prog_from_efd()
235 fp = bpf_prog_get(bpf_fd); cls_bpf_prog_from_efd()
255 prog->bpf_fd = bpf_fd; cls_bpf_prog_from_efd()
403 if (nla_put_u32(skb, TCA_BPF_FD, prog->bpf_fd)) cls_bpf_dump_ebpf_info()
/linux-4.1.27/include/net/tc_act/
H A Dtc_bpf.h20 u32 bpf_fd; member in union:tcf_bpf::__anon12831

Completed in 34 milliseconds