From: Björn Töpel <bjorn.to...@gmail.com>

Hi!

This short series teaches ss about AF_XDP monitoring support using the
sock_diag interface.

The AF_XDP monitoring support was merged to kernel in commit
dbbd79ae166f ("Merge branch 'af-xdp-sock-diag'"), via the bpf-next
tree.

Note libc has to know about AF_XDP for iproute2 to build properly
after this series. For glibc, AF_XDP was added in commit 38b0593e9a86
("Add PF_XDP, AF_XDP and SOL_XDP from Linux 4.18 to bits/socket.h.")
and for musl AF_XDP was introduced in commit 0a9a5c20c7eb ("add AF_XDP
to sys/socket.h from linux v4.18").

Thanks,
Björn


Björn Töpel (2):
  uapi: add xdp_diag.h
  ss: add AF_XDP support

 include/uapi/linux/xdp_diag.h |  72 +++++++++++++++
 man/man8/ss.8                 |   9 +-
 misc/ss.c                     | 168 +++++++++++++++++++++++++++++++++-
 3 files changed, 244 insertions(+), 5 deletions(-)
 create mode 100644 include/uapi/linux/xdp_diag.h

-- 
2.19.1

Reply via email to