Skip to content

Commit f274d90

Browse files
committed
Add ETH_P_IP to Fuchsia public constants
1 parent 8dbd2c9 commit f274d90

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libc-test/semver/fuchsia.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ ERFKILL
256256
ESOCKTNOSUPPORT
257257
ESRMNT
258258
ESTRPIPE
259+
ETH_P_IP
259260
ETIME
260261
ETOOMANYREFS
261262
EUCLEAN

src/fuchsia/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2677,6 +2677,9 @@ pub const PT_GNU_EH_FRAME: u32 = 0x6474e550;
26772677
pub const PT_GNU_STACK: u32 = 0x6474e551;
26782678
pub const PT_GNU_RELRO: u32 = 0x6474e552;
26792679

2680+
// Ethernet protocol IDs.
2681+
pub const ETH_P_IP: ::c_int = 0x0800;
2682+
26802683
pub const SFD_CLOEXEC: ::c_int = 0x080000;
26812684

26822685
pub const NCCS: usize = 32;

0 commit comments

Comments
 (0)