Searched refs:XDP_FLAGS_MODES (Results 1 – 5 of 5) sorted by relevance
1193 #define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \ macro1197 XDP_FLAGS_MODES | XDP_FLAGS_REPLACE)
1300 #define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \ macro1304 XDP_FLAGS_MODES | XDP_FLAGS_REPLACE)
515 flags &= XDP_FLAGS_MODES; in bpf_xdp_query_id()
9250 unsigned int num_modes = hweight32(flags & XDP_FLAGS_MODES); in dev_xdp_attach()9264 if (link && (flags & ~XDP_FLAGS_MODES)) { in dev_xdp_attach()
3084 if (hweight32(xdp_flags & XDP_FLAGS_MODES) > 1) { in do_setlink()