Skip to content

Commit 2afc89b

Browse files
committed
Add NTF_ consts
1 parent 8a8b7dc commit 2afc89b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/unix/notbsd/linux/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,6 +1808,14 @@ pub const NUD_FAILED: u16 = 0x20;
18081808
pub const NUD_NOARP: u16 = 0x40;
18091809
pub const NUD_PERMANENT: u16 = 0x80;
18101810

1811+
pub const NTF_USE: u8 = 0x01;
1812+
pub const NTF_SELF: u8 = 0x02;
1813+
pub const NTF_MASTER: u8 = 0x04;
1814+
pub const NTF_PROXY: u8 = 0x08;
1815+
pub const NTF_EXT_LEARNED: u8 = 0x10;
1816+
pub const NTF_OFFLOADED: u8 = 0x20;
1817+
pub const NTF_ROUTER: u8 = 0x80;
1818+
18111819
// linux/rtnetlink.h
18121820
pub const RTM_F_NOTIFY: ::c_uint = 0x100;
18131821
pub const RTM_F_CLONED: ::c_uint = 0x200;

0 commit comments

Comments
 (0)