Skip to content

Commit 3ee93e9

Browse files
committed
More missing macros
1 parent 9f2be49 commit 3ee93e9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

toolbelt/sockets.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ struct sockaddr_vm {
4747
uint32_t svm_reserved2;
4848
};
4949
#define VMADDR_CID_ANY (~0U)
50+
#define VMADDR_CID_HOST 1
51+
#define VMADDR_CID_HYPERVISOR 2
52+
#define VMADDR_CID_LOCAL 3
53+
#define AF_VSOCK 40
5054
#endif
5155

5256
#include <unistd.h>

0 commit comments

Comments
 (0)