RTN_ and RTPROT_ consts
This commit is contained in:
parent
81c79c5601
commit
62ef1b764e
@ -1833,6 +1833,25 @@ pub const RTA_PAD: ::c_ushort = 24;
|
||||
pub const RTA_UID: ::c_ushort = 25;
|
||||
pub const RTA_TTL_PROPAGATE: ::c_ushort = 26;
|
||||
|
||||
pub const RTN_UNSPEC: ::c_uchar = 0;
|
||||
pub const RTN_UNICAST: ::c_uchar = 1;
|
||||
pub const RTN_LOCAL: ::c_uchar = 2;
|
||||
pub const RTN_BROADCAST: ::c_uchar = 3;
|
||||
pub const RTN_ANYCAST: ::c_uchar = 4;
|
||||
pub const RTN_MULTICAST: ::c_uchar = 5;
|
||||
pub const RTN_BLACKHOLE: ::c_uchar = 6;
|
||||
pub const RTN_UNREACHABLE: ::c_uchar = 7;
|
||||
pub const RTN_PROHIBIT: ::c_uchar = 8;
|
||||
pub const RTN_THROW: ::c_uchar = 9;
|
||||
pub const RTN_NAT: ::c_uchar = 10;
|
||||
pub const RTN_XRESOLVE: ::c_uchar = 11;
|
||||
|
||||
pub const RTPROT_UNSPEC: ::c_uchar = 0;
|
||||
pub const RTPROT_REDIRECT: ::c_uchar = 1;
|
||||
pub const RTPROT_KERNEL: ::c_uchar = 2;
|
||||
pub const RTPROT_BOOT: ::c_uchar = 3;
|
||||
pub const RTPROT_STATIC: ::c_uchar = 4;
|
||||
|
||||
pub const RTMSG_OVERRUN: u32 = ::NLMSG_OVERRUN as u32;
|
||||
pub const RTMSG_NEWDEVICE: u32 = 0x11;
|
||||
pub const RTMSG_DELDEVICE: u32 = 0x12;
|
||||
|
Loading…
Reference in New Issue
Block a user