xdp_flags 2699 net/core/rtnetlink.c u32 xdp_flags = 0; xdp_flags 2713 net/core/rtnetlink.c xdp_flags = nla_get_u32(xdp[IFLA_XDP_FLAGS]); xdp_flags 2714 net/core/rtnetlink.c if (xdp_flags & ~XDP_FLAGS_MASK) { xdp_flags 2718 net/core/rtnetlink.c if (hweight32(xdp_flags & XDP_FLAGS_MODES) > 1) { xdp_flags 2727 net/core/rtnetlink.c xdp_flags); xdp_flags 22 samples/bpf/xdp1_user.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 29 samples/bpf/xdp1_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { xdp_flags 34 samples/bpf/xdp1_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); xdp_flags 98 samples/bpf/xdp1_user.c xdp_flags |= XDP_FLAGS_SKB_MODE; xdp_flags 101 samples/bpf/xdp1_user.c xdp_flags |= XDP_FLAGS_DRV_MODE; xdp_flags 104 samples/bpf/xdp1_user.c xdp_flags &= ~XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 149 samples/bpf/xdp1_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { xdp_flags 28 samples/bpf/xdp_adjust_tail_user.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 36 samples/bpf/xdp_adjust_tail_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { xdp_flags 41 samples/bpf/xdp_adjust_tail_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); xdp_flags 114 samples/bpf/xdp_adjust_tail_user.c xdp_flags |= XDP_FLAGS_SKB_MODE; xdp_flags 117 samples/bpf/xdp_adjust_tail_user.c xdp_flags |= XDP_FLAGS_DRV_MODE; xdp_flags 120 samples/bpf/xdp_adjust_tail_user.c xdp_flags &= ~XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 168 samples/bpf/xdp_adjust_tail_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { xdp_flags 42 samples/bpf/xdp_redirect_cpu_user.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 84 samples/bpf/xdp_redirect_cpu_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { xdp_flags 92 samples/bpf/xdp_redirect_cpu_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); xdp_flags 745 samples/bpf/xdp_redirect_cpu_user.c xdp_flags |= XDP_FLAGS_SKB_MODE; xdp_flags 773 samples/bpf/xdp_redirect_cpu_user.c xdp_flags &= ~XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 812 samples/bpf/xdp_redirect_cpu_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { xdp_flags 28 samples/bpf/xdp_redirect_map_user.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 35 samples/bpf/xdp_redirect_map_user.c if (bpf_get_link_xdp_id(ifindex_in, &curr_prog_id, xdp_flags)) { xdp_flags 40 samples/bpf/xdp_redirect_map_user.c bpf_set_link_xdp_fd(ifindex_in, -1, xdp_flags); xdp_flags 49 samples/bpf/xdp_redirect_map_user.c xdp_flags)) { xdp_flags 54 samples/bpf/xdp_redirect_map_user.c bpf_set_link_xdp_fd(ifindex_out, -1, xdp_flags); xdp_flags 116 samples/bpf/xdp_redirect_map_user.c xdp_flags |= XDP_FLAGS_SKB_MODE; xdp_flags 119 samples/bpf/xdp_redirect_map_user.c xdp_flags |= XDP_FLAGS_DRV_MODE; xdp_flags 122 samples/bpf/xdp_redirect_map_user.c xdp_flags &= ~XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 178 samples/bpf/xdp_redirect_map_user.c if (bpf_set_link_xdp_fd(ifindex_in, prog_fd, xdp_flags) < 0) { xdp_flags 192 samples/bpf/xdp_redirect_map_user.c (xdp_flags | XDP_FLAGS_UPDATE_IF_NOEXIST)) < 0) { xdp_flags 28 samples/bpf/xdp_redirect_user.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 35 samples/bpf/xdp_redirect_user.c if (bpf_get_link_xdp_id(ifindex_in, &curr_prog_id, xdp_flags)) { xdp_flags 40 samples/bpf/xdp_redirect_user.c bpf_set_link_xdp_fd(ifindex_in, -1, xdp_flags); xdp_flags 49 samples/bpf/xdp_redirect_user.c xdp_flags)) { xdp_flags 54 samples/bpf/xdp_redirect_user.c bpf_set_link_xdp_fd(ifindex_out, -1, xdp_flags); xdp_flags 117 samples/bpf/xdp_redirect_user.c xdp_flags |= XDP_FLAGS_SKB_MODE; xdp_flags 120 samples/bpf/xdp_redirect_user.c xdp_flags |= XDP_FLAGS_DRV_MODE; xdp_flags 123 samples/bpf/xdp_redirect_user.c xdp_flags &= ~XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 179 samples/bpf/xdp_redirect_user.c if (bpf_set_link_xdp_fd(ifindex_in, prog_fd, xdp_flags) < 0) { xdp_flags 193 samples/bpf/xdp_redirect_user.c (xdp_flags | XDP_FLAGS_UPDATE_IF_NOEXIST)) < 0) { xdp_flags 34 samples/bpf/xdp_rxq_info_user.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 65 samples/bpf/xdp_rxq_info_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { xdp_flags 73 samples/bpf/xdp_rxq_info_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); xdp_flags 529 samples/bpf/xdp_rxq_info_user.c xdp_flags |= XDP_FLAGS_SKB_MODE; xdp_flags 545 samples/bpf/xdp_rxq_info_user.c xdp_flags &= ~XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 594 samples/bpf/xdp_rxq_info_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { xdp_flags 24 samples/bpf/xdp_sample_pkts_user.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 34 samples/bpf/xdp_sample_pkts_user.c err = bpf_set_link_xdp_fd(idx, fd, xdp_flags); xdp_flags 128 samples/bpf/xdp_sample_pkts_user.c xdp_flags &= ~XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 26 samples/bpf/xdp_tx_iptunnel_user.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 35 samples/bpf/xdp_tx_iptunnel_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { xdp_flags 40 samples/bpf/xdp_tx_iptunnel_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); xdp_flags 231 samples/bpf/xdp_tx_iptunnel_user.c xdp_flags |= XDP_FLAGS_SKB_MODE; xdp_flags 234 samples/bpf/xdp_tx_iptunnel_user.c xdp_flags |= XDP_FLAGS_DRV_MODE; xdp_flags 237 samples/bpf/xdp_tx_iptunnel_user.c xdp_flags &= ~XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 294 samples/bpf/xdp_tx_iptunnel_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { xdp_flags 308 samples/bpf/xdp_tx_iptunnel_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); xdp_flags 326 samples/bpf/xdpsock_user.c cfg.xdp_flags = opt_xdp_flags; xdp_flags 134 tools/lib/bpf/xsk.c cfg->xdp_flags = 0; xdp_flags 145 tools/lib/bpf/xsk.c cfg->xdp_flags = usr_cfg->xdp_flags; xdp_flags 383 tools/lib/bpf/xsk.c err = bpf_set_link_xdp_fd(xsk->ifindex, prog_fd, xsk->config.xdp_flags); xdp_flags 523 tools/lib/bpf/xsk.c xsk->config.xdp_flags); xdp_flags 211 tools/lib/bpf/xsk.h __u32 xdp_flags; xdp_flags 27 tools/testing/selftests/bpf/xdping.c static __u32 xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST; xdp_flags 31 tools/testing/selftests/bpf/xdping.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); xdp_flags 128 tools/testing/selftests/bpf/xdping.c xdp_flags |= XDP_FLAGS_DRV_MODE; xdp_flags 135 tools/testing/selftests/bpf/xdping.c xdp_flags |= XDP_FLAGS_SKB_MODE; xdp_flags 152 tools/testing/selftests/bpf/xdping.c if ((xdp_flags & mode_flags) == mode_flags) { xdp_flags 206 tools/testing/selftests/bpf/xdping.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) {