Skip to content

Commit 1881328

Browse files
committed
add RTEXT_FILTER* constants from linux/rtnetlink.h
1 parent f536356 commit 1881328

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

libc-test/semver/linux.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,6 +2014,13 @@ RTCF_LOG
20142014
RTCF_MASQ
20152015
RTCF_NAT
20162016
RTCF_VALVE
2017+
RTEXT_FILTER_BRVLAN
2018+
RTEXT_FILTER_BRVLAN_COMPRESSED
2019+
RTEXT_FILTER_CFM_CONFIG
2020+
RTEXT_FILTER_CFM_STATUS
2021+
RTEXT_FILTER_MRP
2022+
RTEXT_FILTER_SKIP_STATS
2023+
RTEXT_FILTER_VF
20172024
RTF_ADDRCLASSMASK
20182025
RTF_ADDRCONF
20192026
RTF_ALLONLINK

src/unix/linux_like/linux/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3030,6 +3030,14 @@ pub const ARPD_LOOKUP: ::c_ushort = 0x02;
30303030
pub const ARPD_FLUSH: ::c_ushort = 0x03;
30313031
pub const ATF_MAGIC: ::c_int = 0x80;
30323032

3033+
pub const RTEXT_FILTER_VF: ::c_int = 1 << 0;
3034+
pub const RTEXT_FILTER_BRVLAN: ::c_int = 1 << 1;
3035+
pub const RTEXT_FILTER_BRVLAN_COMPRESSED: ::c_int = 1 << 2;
3036+
pub const RTEXT_FILTER_SKIP_STATS: ::c_int = 1 << 3;
3037+
pub const RTEXT_FILTER_MRP: ::c_int = 1 << 4;
3038+
pub const RTEXT_FILTER_CFM_CONFIG: ::c_int = 1 << 5;
3039+
pub const RTEXT_FILTER_CFM_STATUS: ::c_int = 1 << 6;
3040+
30333041
// userspace compat definitions for RTNLGRP_*
30343042
pub const RTMGRP_LINK: ::c_int = 0x00001;
30353043
pub const RTMGRP_NOTIFY: ::c_int = 0x00002;

0 commit comments

Comments
 (0)