Skip to content

Commit d033dab

Browse files
committed
Add RT_TABLE_ consts
1 parent 1aab360 commit d033dab

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
@@ -1858,6 +1858,12 @@ pub const RT_SCOPE_LINK: ::c_uchar = 253;
18581858
pub const RT_SCOPE_HOST: ::c_uchar = 254;
18591859
pub const RT_SCOPE_NOWHERE: ::c_uchar = 255;
18601860

1861+
pub const RT_TABLE_UNSPEC: ::c_uchar = 0;
1862+
pub const RT_TABLE_COMPAT: ::c_uchar = 252;
1863+
pub const RT_TABLE_DEFAULT: ::c_uchar = 253;
1864+
pub const RT_TABLE_MAIN: ::c_uchar = 254;
1865+
pub const RT_TABLE_LOCAL: ::c_uchar = 255;
1866+
18611867
pub const RTMSG_OVERRUN: u32 = ::NLMSG_OVERRUN as u32;
18621868
pub const RTMSG_NEWDEVICE: u32 = 0x11;
18631869
pub const RTMSG_DELDEVICE: u32 = 0x12;

0 commit comments

Comments
 (0)