Skip to content

Commit 8a8b7dc

Browse files
committed
Add NUD_ consts
1 parent d033dab commit 8a8b7dc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/unix/notbsd/linux/mod.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,6 +1797,17 @@ pub const RT_CLASS_MAIN: u8 = 254;
17971797
pub const RT_CLASS_LOCAL: u8 = 255;
17981798
pub const RT_CLASS_MAX: u8 = 255;
17991799

1800+
// linux/neighbor.h
1801+
pub const NUD_NONE: u16 = 0x00;
1802+
pub const NUD_INCOMPLETE: u16 = 0x01;
1803+
pub const NUD_REACHABLE: u16 = 0x02;
1804+
pub const NUD_STALE: u16 = 0x04;
1805+
pub const NUD_DELAY: u16 = 0x08;
1806+
pub const NUD_PROBE: u16 = 0x10;
1807+
pub const NUD_FAILED: u16 = 0x20;
1808+
pub const NUD_NOARP: u16 = 0x40;
1809+
pub const NUD_PERMANENT: u16 = 0x80;
1810+
18001811
// linux/rtnetlink.h
18011812
pub const RTM_F_NOTIFY: ::c_uint = 0x100;
18021813
pub const RTM_F_CLONED: ::c_uint = 0x200;

0 commit comments

Comments
 (0)