diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2016-12-20 14:24:27 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-01-10 15:29:04 +0000 |
commit | 0fc0f14bfd9fdc5156c1930151b30baf4c46fcfb (patch) | |
tree | 57a7aa7d064ecbbe18e31011d72151fd76c2d4e7 /src/basic/socket-util.h | |
parent | 882ac6e769c5c8d1742e49028043ba2ce691b045 (diff) |
socket-util: add AF_VSOCK address family
The AF_VSOCK address family facilitates guest<->host communication on
VMware and KVM (virtio-vsock). Adding support to systemd allows guest
agents to be launched through .socket unit files. Today guest agents
are stand-alone daemons running inside guests that do not take advantage
of systemd socket activation.
Diffstat (limited to 'src/basic/socket-util.h')
-rw-r--r-- | src/basic/socket-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index 482055fafa..0df1a600af 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -30,6 +30,7 @@ #include <linux/if_packet.h> #include "macro.h" +#include "missing.h" #include "util.h" union sockaddr_union { @@ -40,6 +41,7 @@ union sockaddr_union { struct sockaddr_nl nl; struct sockaddr_storage storage; struct sockaddr_ll ll; + struct sockaddr_vm vm; }; typedef struct SocketAddress { |