aboutsummaryrefslogtreecommitdiff
path: root/src/device/socket/protocol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/socket/protocol.rs')
-rw-r--r--src/device/socket/protocol.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/socket/protocol.rs b/src/device/socket/protocol.rs
index 3587005..ab0650b 100644
--- a/src/device/socket/protocol.rs
+++ b/src/device/socket/protocol.rs
@@ -12,6 +12,9 @@ use zerocopy::{
AsBytes, FromBytes,
};
+/// Well-known CID for the host.
+pub const VMADDR_CID_HOST: u64 = 2;
+
/// Currently only stream sockets are supported. type is 1 for stream socket types.
#[derive(Copy, Clone, Debug)]
#[repr(u16)]