Skip to content

Commit 1aab360

Browse files
committed
RT_SCOPE_ consts
1 parent 62ef1b7 commit 1aab360

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/unix/notbsd/linux/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,6 +1852,12 @@ pub const RTPROT_KERNEL: ::c_uchar = 2;
18521852
pub const RTPROT_BOOT: ::c_uchar = 3;
18531853
pub const RTPROT_STATIC: ::c_uchar = 4;
18541854

1855+
pub const RT_SCOPE_UNIVERSE: ::c_uchar = 0;
1856+
pub const RT_SCOPE_SITE: ::c_uchar = 200;
1857+
pub const RT_SCOPE_LINK: ::c_uchar = 253;
1858+
pub const RT_SCOPE_HOST: ::c_uchar = 254;
1859+
pub const RT_SCOPE_NOWHERE: ::c_uchar = 255;
1860+
18551861
pub const RTMSG_OVERRUN: u32 = ::NLMSG_OVERRUN as u32;
18561862
pub const RTMSG_NEWDEVICE: u32 = 0x11;
18571863
pub const RTMSG_DELDEVICE: u32 = 0x12;

0 commit comments

Comments
 (0)