Skip to content

Commit

Permalink
samples/bpf: xdp_ddos01 remove todo, general stats counter-map is done
Browse files Browse the repository at this point in the history
This is the verdict_cnt map, and cmdline --stats implement reading this.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
  • Loading branch information
netoptimizer committed Feb 28, 2017
1 parent 1c5a1f0 commit dbe78bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/samples/bpf/xdp_ddos01_blacklist_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ struct bpf_map_def SEC("maps") verdict_cnt = {
.max_entries = XDP_ACTION_MAX,
};

// TODO: Add general stats counter-map per XDP action

// TODO: Add map for controlling behavior

// TODO: Add map for port+(protocol) filtering
Expand Down

0 comments on commit dbe78bc

Please sign in to comment.