summaryrefslogtreecommitdiff
path: root/src/fuchsia/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuchsia/mod.rs')
-rw-r--r--src/fuchsia/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fuchsia/mod.rs b/src/fuchsia/mod.rs
index 0406f06b42..4a18a8daab 100644
--- a/src/fuchsia/mod.rs
+++ b/src/fuchsia/mod.rs
@@ -2677,6 +2677,9 @@ pub const PT_GNU_EH_FRAME: u32 = 0x6474e550;
pub const PT_GNU_STACK: u32 = 0x6474e551;
pub const PT_GNU_RELRO: u32 = 0x6474e552;
+// Ethernet protocol IDs.
+pub const ETH_P_IP: ::c_int = 0x0800;
+
pub const SFD_CLOEXEC: ::c_int = 0x080000;
pub const NCCS: usize = 32;