Searched refs:fprog_tmp (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/sched/
H A Dact_bpf.c173 struct sock_fprog_kern fprog_tmp; tcf_bpf_init_from_ops() local
192 fprog_tmp.len = bpf_num_ops; tcf_bpf_init_from_ops()
193 fprog_tmp.filter = bpf_ops; tcf_bpf_init_from_ops()
195 ret = bpf_prog_create(&fp, &fprog_tmp); tcf_bpf_init_from_ops()
H A Dcls_bpf.c188 struct sock_fprog_kern fprog_tmp; cls_bpf_prog_from_ops() local
207 fprog_tmp.len = bpf_num_ops; cls_bpf_prog_from_ops()
208 fprog_tmp.filter = bpf_ops; cls_bpf_prog_from_ops()
210 ret = bpf_prog_create(&fp, &fprog_tmp); cls_bpf_prog_from_ops()

Completed in 70 milliseconds