v2: * Use uint64_t instead of __u64 for filter->families * Added reference to net-next commit that merged vsock_diag.ko
This patch series adds AF_VSOCK support to ss(8). AF_VSOCK is a host<->guest communications channel supported by VMware, KVM (virtio-vsock), and Hyper-V. To dump AF_VSOCK sockets: $ ss --vsock The vsock_diag.ko module has now been merged in the Linux net-next tree. I have verified that the <linux/vm_sockets_diag.h> header copy in this patch series is in sync with Linux net-next. See commit 5820299a271fd3dc9b1733e1e10cd7b983edd028 ("Merge branch 'VSOCK-sock_diag'"). Stefan Hajnoczi (3): ss: allow AF_FAMILY constants >32 include: add <linux/vm_sockets_diag.h> ss: add AF_VSOCK support include/linux/vm_sockets_diag.h | 33 ++++++ misc/ss.c | 238 +++++++++++++++++++++++++++++++++++----- man/man8/ss.8 | 8 +- 3 files changed, 249 insertions(+), 30 deletions(-) create mode 100644 include/linux/vm_sockets_diag.h -- 2.13.6