summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-04-01 23:32:11 +0200
committerDavid Lönnhager <david.l@mullvad.net>2020-06-02 10:05:02 +0200
commit15580b15cc53c379b5de3d01817935a06db6f1ac (patch)
treebef23a7c297689a8e4ab9c41a0babe615e0bf8f1
parent908e502cda9f47fe2f1f549ffe70f2cf5d96a897 (diff)
downloadmullvadvpn-15580b15cc53c379b5de3d01817935a06db6f1ac.tar.xz
mullvadvpn-15580b15cc53c379b5de3d01817935a06db6f1ac.zip
Clarify comments about constants in split module
-rw-r--r--talpid-core/src/split.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/talpid-core/src/split.rs b/talpid-core/src/split.rs
index fe47d9af53..dc19b1e861 100644
--- a/talpid-core/src/split.rs
+++ b/talpid-core/src/split.rs
@@ -13,8 +13,10 @@ use talpid_types::SPLIT_TUNNEL_CGROUP_NAME;
const NETCLS_DIR: &str = "/sys/fs/cgroup/net_cls/";
/// Identifies packets coming from the cgroup.
+/// This should be an arbitrary but unique integer.
pub const NETCLS_CLASSID: u32 = 0x4d9f41;
/// Value used to mark packets and associated connections.
+/// This should be an arbitrary but unique integer.
pub const MARK: i32 = 0xf41;
const ROUTING_TABLE_NAME: &str = "mullvad_exclusions";