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

/linux-4.1.27/net/sched/
H A Dact_bpf.c273 bool is_bpf, is_ebpf; tcf_bpf_init() local
283 is_bpf = tb[TCA_ACT_BPF_OPS_LEN] && tb[TCA_ACT_BPF_OPS]; tcf_bpf_init()
286 if ((!is_bpf && !is_ebpf) || (is_bpf && is_ebpf) || tcf_bpf_init()
294 ret = is_bpf ? tcf_bpf_init_from_ops(tb, &cfg) : tcf_bpf_init()
H A Dcls_bpf.c270 bool is_bpf, is_ebpf; cls_bpf_modify_existing() local
274 is_bpf = tb[TCA_BPF_OPS_LEN] && tb[TCA_BPF_OPS]; cls_bpf_modify_existing()
277 if ((!is_bpf && !is_ebpf) || (is_bpf && is_ebpf) || cls_bpf_modify_existing()
288 ret = is_bpf ? cls_bpf_prog_from_ops(tb, prog, classid) : cls_bpf_modify_existing()

Completed in 58 milliseconds