From f274d907620b8600ddb0d1774d258249bdd6ed06 Mon Sep 17 00:00:00 2001 From: Nick Brown Date: Fri, 15 Jul 2022 20:16:17 +0000 Subject: Add ETH_P_IP to Fuchsia public constants --- src/fuchsia/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.1