summaryrefslogtreecommitdiff
path: root/samples/bpf/xdpsock_user.c
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2018-05-02 14:01:35 +0300
committerAlexei Starovoitov <ast@kernel.org>2018-05-04 01:55:25 +0300
commitaf75d9e02d08dc55ce6a1e42e485465c630d7349 (patch)
tree7185c5ca061b68c48b239ae8d2df958ac19223a8 /samples/bpf/xdpsock_user.c
parent35fcde7f8deb51b707b161bf19cbd22363aef2df (diff)
downloadlinux-af75d9e02d08dc55ce6a1e42e485465c630d7349.tar.xz
xsk: statistics support
In this commit, a new getsockopt is added: XDP_STATISTICS. This is used to obtain stats from the sockets. v2: getsockopt now returns size of stats structure. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/xdpsock_user.c')
0 files changed, 0 insertions, 0 deletions