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 kernel module for Linux was posted in "[PATCH 0/5] VSOCK: add sock_diag interface". That patch series also adds the <linux/vm_sockets_diag.h> header file that this patch series relies on. The Linux patches are also available here: https://github.com/stefanha/linux/commits/vsock-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