@@ -610,6 +610,31 @@ pub tca_family: crate::ctypes::c_uchar,
610610pub tca__pad1 : crate :: ctypes:: c_uchar ,
611611pub tca__pad2 : crate :: ctypes:: c_ushort ,
612612}
613+ #[ repr( C ) ]
614+ #[ derive( Debug , Copy , Clone ) ]
615+ pub struct fib_rule_hdr {
616+ pub family : __u8 ,
617+ pub dst_len : __u8 ,
618+ pub src_len : __u8 ,
619+ pub tos : __u8 ,
620+ pub table : __u8 ,
621+ pub res1 : __u8 ,
622+ pub res2 : __u8 ,
623+ pub action : __u8 ,
624+ pub flags : __u32 ,
625+ }
626+ #[ repr( C ) ]
627+ #[ derive( Debug , Copy , Clone ) ]
628+ pub struct fib_rule_uid_range {
629+ pub start : __u32 ,
630+ pub end : __u32 ,
631+ }
632+ #[ repr( C ) ]
633+ #[ derive( Debug , Copy , Clone ) ]
634+ pub struct fib_rule_port_range {
635+ pub start : __u16 ,
636+ pub end : __u16 ,
637+ }
613638pub const _K_SS_MAXSIZE: u32 = 128 ;
614639pub const SOCK_SNDBUF_LOCK : u32 = 1 ;
615640pub const SOCK_RCVBUF_LOCK : u32 = 2 ;
@@ -870,6 +895,13 @@ pub const RTEXT_FILTER_MRP: u32 = 16;
870895pub const RTEXT_FILTER_CFM_CONFIG : u32 = 32 ;
871896pub const RTEXT_FILTER_CFM_STATUS : u32 = 64 ;
872897pub const RTEXT_FILTER_MST : u32 = 128 ;
898+ pub const FIB_RULE_PERMANENT : u32 = 1 ;
899+ pub const FIB_RULE_INVERT : u32 = 2 ;
900+ pub const FIB_RULE_UNRESOLVED : u32 = 4 ;
901+ pub const FIB_RULE_IIF_DETACHED : u32 = 8 ;
902+ pub const FIB_RULE_DEV_DETACHED : u32 = 8 ;
903+ pub const FIB_RULE_OIF_DETACHED : u32 = 16 ;
904+ pub const FIB_RULE_FIND_SADDR : u32 = 65536 ;
873905pub const NETLINK_UNCONNECTED : _bindgen_ty_1 = _bindgen_ty_1:: NETLINK_UNCONNECTED ;
874906pub const NETLINK_CONNECTED : _bindgen_ty_1 = _bindgen_ty_1:: NETLINK_CONNECTED ;
875907pub const IFLA_UNSPEC : _bindgen_ty_2 = _bindgen_ty_2:: IFLA_UNSPEC ;
@@ -1644,6 +1676,48 @@ pub const TCA_ROOT_COUNT: _bindgen_ty_68 = _bindgen_ty_68::TCA_ROOT_COUNT;
16441676pub const TCA_ROOT_TIME_DELTA : _bindgen_ty_68 = _bindgen_ty_68:: TCA_ROOT_TIME_DELTA ;
16451677pub const TCA_ROOT_EXT_WARN_MSG : _bindgen_ty_68 = _bindgen_ty_68:: TCA_ROOT_EXT_WARN_MSG ;
16461678pub const __TCA_ROOT_MAX: _bindgen_ty_68 = _bindgen_ty_68:: __TCA_ROOT_MAX;
1679+ pub const FRA_UNSPEC : _bindgen_ty_69 = _bindgen_ty_69:: FRA_UNSPEC ;
1680+ pub const FRA_DST : _bindgen_ty_69 = _bindgen_ty_69:: FRA_DST ;
1681+ pub const FRA_SRC : _bindgen_ty_69 = _bindgen_ty_69:: FRA_SRC ;
1682+ pub const FRA_IIFNAME : _bindgen_ty_69 = _bindgen_ty_69:: FRA_IIFNAME ;
1683+ pub const FRA_GOTO : _bindgen_ty_69 = _bindgen_ty_69:: FRA_GOTO ;
1684+ pub const FRA_UNUSED2 : _bindgen_ty_69 = _bindgen_ty_69:: FRA_UNUSED2 ;
1685+ pub const FRA_PRIORITY : _bindgen_ty_69 = _bindgen_ty_69:: FRA_PRIORITY ;
1686+ pub const FRA_UNUSED3 : _bindgen_ty_69 = _bindgen_ty_69:: FRA_UNUSED3 ;
1687+ pub const FRA_UNUSED4 : _bindgen_ty_69 = _bindgen_ty_69:: FRA_UNUSED4 ;
1688+ pub const FRA_UNUSED5 : _bindgen_ty_69 = _bindgen_ty_69:: FRA_UNUSED5 ;
1689+ pub const FRA_FWMARK : _bindgen_ty_69 = _bindgen_ty_69:: FRA_FWMARK ;
1690+ pub const FRA_FLOW : _bindgen_ty_69 = _bindgen_ty_69:: FRA_FLOW ;
1691+ pub const FRA_TUN_ID : _bindgen_ty_69 = _bindgen_ty_69:: FRA_TUN_ID ;
1692+ pub const FRA_SUPPRESS_IFGROUP : _bindgen_ty_69 = _bindgen_ty_69:: FRA_SUPPRESS_IFGROUP ;
1693+ pub const FRA_SUPPRESS_PREFIXLEN : _bindgen_ty_69 = _bindgen_ty_69:: FRA_SUPPRESS_PREFIXLEN ;
1694+ pub const FRA_TABLE : _bindgen_ty_69 = _bindgen_ty_69:: FRA_TABLE ;
1695+ pub const FRA_FWMASK : _bindgen_ty_69 = _bindgen_ty_69:: FRA_FWMASK ;
1696+ pub const FRA_OIFNAME : _bindgen_ty_69 = _bindgen_ty_69:: FRA_OIFNAME ;
1697+ pub const FRA_PAD : _bindgen_ty_69 = _bindgen_ty_69:: FRA_PAD ;
1698+ pub const FRA_L3MDEV : _bindgen_ty_69 = _bindgen_ty_69:: FRA_L3MDEV ;
1699+ pub const FRA_UID_RANGE : _bindgen_ty_69 = _bindgen_ty_69:: FRA_UID_RANGE ;
1700+ pub const FRA_PROTOCOL : _bindgen_ty_69 = _bindgen_ty_69:: FRA_PROTOCOL ;
1701+ pub const FRA_IP_PROTO : _bindgen_ty_69 = _bindgen_ty_69:: FRA_IP_PROTO ;
1702+ pub const FRA_SPORT_RANGE : _bindgen_ty_69 = _bindgen_ty_69:: FRA_SPORT_RANGE ;
1703+ pub const FRA_DPORT_RANGE : _bindgen_ty_69 = _bindgen_ty_69:: FRA_DPORT_RANGE ;
1704+ pub const FRA_DSCP : _bindgen_ty_69 = _bindgen_ty_69:: FRA_DSCP ;
1705+ pub const FRA_FLOWLABEL : _bindgen_ty_69 = _bindgen_ty_69:: FRA_FLOWLABEL ;
1706+ pub const FRA_FLOWLABEL_MASK : _bindgen_ty_69 = _bindgen_ty_69:: FRA_FLOWLABEL_MASK ;
1707+ pub const FRA_SPORT_MASK : _bindgen_ty_69 = _bindgen_ty_69:: FRA_SPORT_MASK ;
1708+ pub const FRA_DPORT_MASK : _bindgen_ty_69 = _bindgen_ty_69:: FRA_DPORT_MASK ;
1709+ pub const FRA_DSCP_MASK : _bindgen_ty_69 = _bindgen_ty_69:: FRA_DSCP_MASK ;
1710+ pub const __FRA_MAX: _bindgen_ty_69 = _bindgen_ty_69:: __FRA_MAX;
1711+ pub const FR_ACT_UNSPEC : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_UNSPEC ;
1712+ pub const FR_ACT_TO_TBL : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_TO_TBL ;
1713+ pub const FR_ACT_GOTO : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_GOTO ;
1714+ pub const FR_ACT_NOP : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_NOP ;
1715+ pub const FR_ACT_RES3 : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_RES3 ;
1716+ pub const FR_ACT_RES4 : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_RES4 ;
1717+ pub const FR_ACT_BLACKHOLE : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_BLACKHOLE ;
1718+ pub const FR_ACT_UNREACHABLE : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_UNREACHABLE ;
1719+ pub const FR_ACT_PROHIBIT : _bindgen_ty_70 = _bindgen_ty_70:: FR_ACT_PROHIBIT ;
1720+ pub const __FR_ACT_MAX: _bindgen_ty_70 = _bindgen_ty_70:: __FR_ACT_MAX;
16471721#[ repr( u32 ) ]
16481722#[ non_exhaustive]
16491723#[ derive( Debug , Copy , Clone , Hash , PartialEq , Eq ) ]
@@ -5189,6 +5263,58 @@ TCA_ROOT_TIME_DELTA = 4,
51895263TCA_ROOT_EXT_WARN_MSG = 5 ,
51905264__TCA_ROOT_MAX = 6 ,
51915265}
5266+ #[ repr( u32 ) ]
5267+ #[ non_exhaustive]
5268+ #[ derive( Debug , Copy , Clone , Hash , PartialEq , Eq ) ]
5269+ pub enum _bindgen_ty_69 {
5270+ FRA_UNSPEC = 0 ,
5271+ FRA_DST = 1 ,
5272+ FRA_SRC = 2 ,
5273+ FRA_IIFNAME = 3 ,
5274+ FRA_GOTO = 4 ,
5275+ FRA_UNUSED2 = 5 ,
5276+ FRA_PRIORITY = 6 ,
5277+ FRA_UNUSED3 = 7 ,
5278+ FRA_UNUSED4 = 8 ,
5279+ FRA_UNUSED5 = 9 ,
5280+ FRA_FWMARK = 10 ,
5281+ FRA_FLOW = 11 ,
5282+ FRA_TUN_ID = 12 ,
5283+ FRA_SUPPRESS_IFGROUP = 13 ,
5284+ FRA_SUPPRESS_PREFIXLEN = 14 ,
5285+ FRA_TABLE = 15 ,
5286+ FRA_FWMASK = 16 ,
5287+ FRA_OIFNAME = 17 ,
5288+ FRA_PAD = 18 ,
5289+ FRA_L3MDEV = 19 ,
5290+ FRA_UID_RANGE = 20 ,
5291+ FRA_PROTOCOL = 21 ,
5292+ FRA_IP_PROTO = 22 ,
5293+ FRA_SPORT_RANGE = 23 ,
5294+ FRA_DPORT_RANGE = 24 ,
5295+ FRA_DSCP = 25 ,
5296+ FRA_FLOWLABEL = 26 ,
5297+ FRA_FLOWLABEL_MASK = 27 ,
5298+ FRA_SPORT_MASK = 28 ,
5299+ FRA_DPORT_MASK = 29 ,
5300+ FRA_DSCP_MASK = 30 ,
5301+ __FRA_MAX = 31 ,
5302+ }
5303+ #[ repr( u32 ) ]
5304+ #[ non_exhaustive]
5305+ #[ derive( Debug , Copy , Clone , Hash , PartialEq , Eq ) ]
5306+ pub enum _bindgen_ty_70 {
5307+ FR_ACT_UNSPEC = 0 ,
5308+ FR_ACT_TO_TBL = 1 ,
5309+ FR_ACT_GOTO = 2 ,
5310+ FR_ACT_NOP = 3 ,
5311+ FR_ACT_RES3 = 4 ,
5312+ FR_ACT_RES4 = 5 ,
5313+ FR_ACT_BLACKHOLE = 6 ,
5314+ FR_ACT_UNREACHABLE = 7 ,
5315+ FR_ACT_PROHIBIT = 8 ,
5316+ __FR_ACT_MAX = 9 ,
5317+ }
51925318#[ repr( C ) ]
51935319#[ derive( Copy , Clone ) ]
51945320pub union __kernel_sockaddr_storage__bindgen_ty_1 {
0 commit comments