diff options
| author | Björn Töpel <[email protected]> | 2019-01-24 18:59:39 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-01-25 00:50:03 +0000 |
| commit | a36b38aa2af61146ea80980a01cf6e952ab021c1 (patch) | |
| tree | 910d7378db7613ea6d36759dce35211dfb9766b8 /tools/testing/selftests/bpf/verifier/div_overflow.c | |
| parent | xsk: add id to umem (diff) | |
| download | kernel-a36b38aa2af61146ea80980a01cf6e952ab021c1.tar.gz kernel-a36b38aa2af61146ea80980a01cf6e952ab021c1.zip | |
xsk: add sock_diag interface for AF_XDP
This patch adds the sock_diag interface for querying sockets from user
space. Tools like iproute2 ss(8) can use this interface to list open
AF_XDP sockets.
The user-space ABI is defined in linux/xdp_diag.h and includes netlink
request and response structs. The request can query sockets and the
response contains socket information about the rings, umems, inode and
more.
Signed-off-by: Björn Töpel <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/div_overflow.c')
0 files changed, 0 insertions, 0 deletions
