summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Brown <nickbrow@google.com>2022-07-15 20:16:17 +0000
committerNick Brown <nickbrow@google.com>2022-07-15 20:32:23 +0000
commitf274d907620b8600ddb0d1774d258249bdd6ed06 (patch)
tree4909e5b7ccd90171848d30be4e459b27eef609d8 /src
parent8dbd2c9653b16ba04881edf5caa944e62889245f (diff)
downloadrust-libc-f274d907620b8600ddb0d1774d258249bdd6ed06.tar.gz
Add ETH_P_IP to Fuchsia public constants
Diffstat (limited to 'src')
-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;