File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -702,6 +702,11 @@ pub const EPOLLWAKEUP: ::c_int = 0x20000000;
702
702
703
703
pub const NLA_ALIGNTO : :: c_int = 4 ;
704
704
705
+ pub const GENL_UNS_ADMIN_PERM : :: c_int = 0x10 ;
706
+
707
+ pub const GENL_ID_VFS_DQUOT : :: c_int = :: NLMSG_MIN_TYPE + 1 ;
708
+ pub const GENL_ID_PMCRAID : :: c_int = :: NLMSG_MIN_TYPE + 2 ;
709
+
705
710
pub const NFT_TABLE_MAXNAMELEN : :: c_int = 32 ;
706
711
pub const NFT_CHAIN_MAXNAMELEN : :: c_int = 32 ;
707
712
pub const NFT_SET_MAXNAMELEN : :: c_int = 32 ;
Original file line number Diff line number Diff line change @@ -1285,21 +1285,8 @@ pub const GENL_ADMIN_PERM: ::c_int = 0x01;
1285
1285
pub const GENL_CMD_CAP_DO : :: c_int = 0x02 ;
1286
1286
pub const GENL_CMD_CAP_DUMP : :: c_int = 0x04 ;
1287
1287
pub const GENL_CMD_CAP_HASPOL : :: c_int = 0x08 ;
1288
- cfg_if ! {
1289
- if #[ cfg( not( target_env = "musl" ) ) ] {
1290
- pub const GENL_UNS_ADMIN_PERM : :: c_int = 0x10 ;
1291
- } else {
1292
- }
1293
- }
1294
1288
1295
1289
pub const GENL_ID_CTRL : :: c_int = NLMSG_MIN_TYPE ;
1296
- cfg_if ! {
1297
- if #[ cfg( not( target_env = "musl" ) ) ] {
1298
- pub const GENL_ID_VFS_DQUOT : :: c_int = NLMSG_MIN_TYPE + 1 ;
1299
- pub const GENL_ID_PMCRAID : :: c_int = NLMSG_MIN_TYPE + 2 ;
1300
- } else {
1301
- }
1302
- }
1303
1290
1304
1291
pub const CTRL_CMD_UNSPEC : :: c_int = 0 ;
1305
1292
pub const CTRL_CMD_NEWFAMILY : :: c_int = 1 ;
Original file line number Diff line number Diff line change @@ -572,6 +572,11 @@ pub const NLA_TYPE_MASK: ::c_int = !(NLA_F_NESTED | NLA_F_NET_BYTEORDER);
572
572
573
573
pub const NLA_ALIGNTO : :: c_int = 4 ;
574
574
575
+ pub const GENL_UNS_ADMIN_PERM : :: c_int = 0x10 ;
576
+
577
+ pub const GENL_ID_VFS_DQUOT : :: c_int = :: NLMSG_MIN_TYPE + 1 ;
578
+ pub const GENL_ID_PMCRAID : :: c_int = :: NLMSG_MIN_TYPE + 2 ;
579
+
575
580
pub const TIOCM_LE : :: c_int = 0x001 ;
576
581
pub const TIOCM_DTR : :: c_int = 0x002 ;
577
582
pub const TIOCM_RTS : :: c_int = 0x004 ;
You can’t perform that action at this time.
0 commit comments