We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3477b37 commit cf17acdCopy full SHA for cf17acd
src/rtnl/route/header.rs
@@ -31,6 +31,11 @@ pub struct RouteFlags: u32 {
31
const RTM_F_LOOKUP_TABLE = RTM_F_LOOKUP_TABLE;
32
/// Return the full FIB lookup match (see commit `b61798130f1be5bff08712308126c2d7ebe390ef`)
33
const RTM_F_FIB_MATCH = RTM_F_FIB_MATCH;
34
+
35
+ /// Do recursive gateway lookup
36
+ const RTNH_F_PERVASIVE = RTNH_F_PERVASIVE as u32;
37
+ /// Gateway is forced on link
38
+ const RTNH_F_ONLINK = RTNH_F_ONLINK as u32;
39
}
40
41
@@ -136,7 +141,7 @@ pub struct RouteHeader {
136
141
137
142
138
143
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<RouteMessageBuffer<&'a T>>
139
- for RouteHeader
144
+for RouteHeader
140
145
{
146
fn parse(buf: &RouteMessageBuffer<&'a T>) -> Result<Self, DecodeError> {
147
Ok(RouteHeader {
0 commit comments