Searched refs:NLA_POLICY_RANGE (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/net/ethtool/ |
D | eeprom.c | 235 NLA_POLICY_RANGE(NLA_U32, 1, ETH_MODULE_EEPROM_PAGE_LEN), 239 NLA_POLICY_RANGE(NLA_U8, 0, ETH_MODULE_MAX_I2C_ADDRESS),
|
D | pse-pd.c | 126 NLA_POLICY_RANGE(NLA_U32, ETHTOOL_PODL_PSE_ADMIN_STATE_DISABLED,
|
D | module.c | 111 NLA_POLICY_RANGE(NLA_U8, ETHTOOL_MODULE_POWER_MODE_POLICY_HIGH,
|
D | linkmodes.c | 176 [ETHTOOL_A_LINKMODES_LANES] = NLA_POLICY_RANGE(NLA_U32, 1, 8),
|
/Linux-v6.1/net/bridge/ |
D | br_mst.c | 287 [IFLA_BRIDGE_MST_ENTRY_MSTI] = NLA_POLICY_RANGE(NLA_U16, 290 [IFLA_BRIDGE_MST_ENTRY_STATE] = NLA_POLICY_RANGE(NLA_U8,
|
D | br_mdb.c | 752 [MDBE_ATTR_SOURCE] = NLA_POLICY_RANGE(NLA_BINARY,
|
/Linux-v6.1/net/sched/ |
D | act_mpls.c | 147 [TCA_MPLS_TC] = NLA_POLICY_RANGE(NLA_U8, 0, 7), 149 [TCA_MPLS_BOS] = NLA_POLICY_RANGE(NLA_U8, 0, 1),
|
/Linux-v6.1/net/wireless/ |
D | nl80211.c | 363 NLA_POLICY_RANGE(NLA_U8, 1, 20), 365 NLA_POLICY_RANGE(NLA_U8, 1, 20), 367 NLA_POLICY_RANGE(NLA_U8, 1, 20), 377 [NL80211_HE_BSS_COLOR_ATTR_COLOR] = NLA_POLICY_RANGE(NLA_U8, 1, 63), 390 [NL80211_TXRATE_HE_GI] = NLA_POLICY_RANGE(NLA_U8, 393 [NL80211_TXRATE_HE_LTF] = NLA_POLICY_RANGE(NLA_U8, 403 [NL80211_TID_CONFIG_ATTR_TIDS] = NLA_POLICY_RANGE(NLA_U16, 1, 0xff), 425 NLA_POLICY_RANGE(NLA_BINARY, 474 [NL80211_ATTR_WIPHY_EDMG_CHANNELS] = NLA_POLICY_RANGE(NLA_U8, 477 [NL80211_ATTR_WIPHY_EDMG_BW_CONFIG] = NLA_POLICY_RANGE(NLA_U8, [all …]
|
/Linux-v6.1/include/net/ |
D | netlink.h | 407 #define NLA_POLICY_RANGE(tp, _min, _max) { \ macro 451 #define NLA_POLICY_EXACT_LEN(_len) NLA_POLICY_RANGE(NLA_BINARY, _len, _len)
|
/Linux-v6.1/net/ipv6/ |
D | ioam6_iptunnel.c | 72 [IOAM6_IPTUNNEL_MODE] = NLA_POLICY_RANGE(NLA_U8,
|
/Linux-v6.1/net/openvswitch/ |
D | datapath.c | 2020 [OVS_DP_ATTR_MASKS_CACHE_SIZE] = NLA_POLICY_RANGE(NLA_U32, 0,
|
/Linux-v6.1/net/core/ |
D | devlink.c | 200 NLA_POLICY_RANGE(NLA_U8, DEVLINK_PORT_FN_STATE_INACTIVE, 9117 [DEVLINK_ATTR_PORT_TYPE] = NLA_POLICY_RANGE(NLA_U16, DEVLINK_PORT_TYPE_AUTO, 9127 [DEVLINK_ATTR_ESWITCH_MODE] = NLA_POLICY_RANGE(NLA_U16, DEVLINK_ESWITCH_MODE_LEGACY, 9160 [DEVLINK_ATTR_RELOAD_ACTION] = NLA_POLICY_RANGE(NLA_U8, DEVLINK_RELOAD_ACTION_DRIVER_REINIT,
|