Searched refs:bpf_flags (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/sched/ |
D | cls_bpf.c | 473 u32 bpf_flags = nla_get_u32(tb[TCA_BPF_FLAGS]); in cls_bpf_change() local 475 if (bpf_flags & ~TCA_BPF_FLAG_ACT_DIRECT) { in cls_bpf_change() 480 have_exts = bpf_flags & TCA_BPF_FLAG_ACT_DIRECT; in cls_bpf_change() 582 u32 bpf_flags = 0; in cls_bpf_dump() local 611 bpf_flags |= TCA_BPF_FLAG_ACT_DIRECT; in cls_bpf_dump() 612 if (bpf_flags && nla_put_u32(skb, TCA_BPF_FLAGS, bpf_flags)) in cls_bpf_dump()
|
/linux-6.6.21/tools/lib/bpf/ |
D | netlink.c | 720 __u32 protocol, bpf_flags, handle, priority, parent, prog_id, flags; in bpf_tc_attach() local 775 bpf_flags = TCA_BPF_FLAG_ACT_DIRECT; in bpf_tc_attach() 776 ret = nlattr_add(&req, TCA_BPF_FLAGS, &bpf_flags, sizeof(bpf_flags)); in bpf_tc_attach()
|