Searched refs:XDP_FLAGS_MODES (Results 1 – 5 of 5) sorted by relevance
1191 #define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \ macro1195 XDP_FLAGS_MODES | XDP_FLAGS_REPLACE)
1288 #define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \ macro1292 XDP_FLAGS_MODES | XDP_FLAGS_REPLACE)
408 flags &= XDP_FLAGS_MODES; in bpf_xdp_query_id()
9161 unsigned int num_modes = hweight32(flags & XDP_FLAGS_MODES); in dev_xdp_attach()9175 if (link && (flags & ~XDP_FLAGS_MODES)) { in dev_xdp_attach()
2984 if (hweight32(xdp_flags & XDP_FLAGS_MODES) > 1) { in do_setlink()