Searched refs:NLA_POLICY_RANGE (Results 1 – 21 of 21) sorted by relevance
/Linux-v6.6/net/ethtool/ |
D | eeprom.c | 234 NLA_POLICY_RANGE(NLA_U32, 1, ETH_MODULE_EEPROM_PAGE_LEN), 238 NLA_POLICY_RANGE(NLA_U8, 0, ETH_MODULE_MAX_I2C_ADDRESS),
|
D | mm.c | 152 [ETHTOOL_A_MM_VERIFY_TIME] = NLA_POLICY_RANGE(NLA_U32, 1, 128), 155 [ETHTOOL_A_MM_TX_MIN_FRAG_SIZE] = NLA_POLICY_RANGE(NLA_U32, 60, 252),
|
D | pse-pd.c | 114 NLA_POLICY_RANGE(NLA_U32, ETHTOOL_PODL_PSE_ADMIN_STATE_DISABLED,
|
D | module.c | 98 NLA_POLICY_RANGE(NLA_U8, ETHTOOL_MODULE_POWER_MODE_POLICY_HIGH,
|
D | plca.c | 135 [ETHTOOL_A_PLCA_NODE_CNT] = NLA_POLICY_RANGE(NLA_U32, 1, 255),
|
D | linkmodes.c | 164 [ETHTOOL_A_LINKMODES_LANES] = NLA_POLICY_RANGE(NLA_U32, 1, 8),
|
/Linux-v6.6/net/devlink/ |
D | netlink.c | 22 [DEVLINK_ATTR_PORT_TYPE] = NLA_POLICY_RANGE(NLA_U16, DEVLINK_PORT_TYPE_AUTO, 32 [DEVLINK_ATTR_ESWITCH_MODE] = NLA_POLICY_RANGE(NLA_U16, DEVLINK_ESWITCH_MODE_LEGACY, 65 [DEVLINK_ATTR_RELOAD_ACTION] = NLA_POLICY_RANGE(NLA_U8, DEVLINK_RELOAD_ACTION_DRIVER_REINIT,
|
D | port.c | 15 NLA_POLICY_RANGE(NLA_U8, DEVLINK_PORT_FN_STATE_INACTIVE,
|
/Linux-v6.6/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 | 621 [MDBE_SRCATTR_ADDRESS] = NLA_POLICY_RANGE(NLA_BINARY, 632 [MDBE_ATTR_SOURCE] = NLA_POLICY_RANGE(NLA_BINARY, 635 [MDBE_ATTR_GROUP_MODE] = NLA_POLICY_RANGE(NLA_U8, MCAST_EXCLUDE,
|
/Linux-v6.6/net/sched/ |
D | act_mpls.c | 155 [TCA_MPLS_TC] = NLA_POLICY_RANGE(NLA_U8, 0, 7), 157 [TCA_MPLS_BOS] = NLA_POLICY_RANGE(NLA_U8, 0, 1),
|
D | act_ipt.c | 89 [TCA_IPT_HOOK] = NLA_POLICY_RANGE(NLA_U32, NF_INET_PRE_ROUTING,
|
D | sch_mqprio.c | 156 [TCA_MQPRIO_TC_ENTRY_FP] = NLA_POLICY_RANGE(NLA_U32,
|
D | sch_qfq.c | 222 [TCA_QFQ_WEIGHT] = NLA_POLICY_RANGE(NLA_U32, 1, QFQ_MAX_WEIGHT),
|
D | sch_taprio.c | 1013 [TCA_TAPRIO_TC_ENTRY_FP] = NLA_POLICY_RANGE(NLA_U32,
|
/Linux-v6.6/drivers/net/vxlan/ |
D | vxlan_mdb.c | 304 [MDBE_SRCATTR_ADDRESS] = NLA_POLICY_RANGE(NLA_BINARY, 319 [MDBE_ATTR_SOURCE] = NLA_POLICY_RANGE(NLA_BINARY, 322 [MDBE_ATTR_GROUP_MODE] = NLA_POLICY_RANGE(NLA_U8, MCAST_EXCLUDE, 326 [MDBE_ATTR_DST] = NLA_POLICY_RANGE(NLA_BINARY,
|
/Linux-v6.6/net/wireless/ |
D | nl80211.c | 364 NLA_POLICY_RANGE(NLA_U8, 1, 20), 366 NLA_POLICY_RANGE(NLA_U8, 1, 20), 368 NLA_POLICY_RANGE(NLA_U8, 1, 20), 378 [NL80211_HE_BSS_COLOR_ATTR_COLOR] = NLA_POLICY_RANGE(NLA_U8, 1, 63), 391 [NL80211_TXRATE_HE_GI] = NLA_POLICY_RANGE(NLA_U8, 394 [NL80211_TXRATE_HE_LTF] = NLA_POLICY_RANGE(NLA_U8, 404 [NL80211_TID_CONFIG_ATTR_TIDS] = NLA_POLICY_RANGE(NLA_U16, 1, 0xff), 426 NLA_POLICY_RANGE(NLA_BINARY, 480 [NL80211_ATTR_WIPHY_EDMG_CHANNELS] = NLA_POLICY_RANGE(NLA_U8, 483 [NL80211_ATTR_WIPHY_EDMG_BW_CONFIG] = NLA_POLICY_RANGE(NLA_U8, [all …]
|
/Linux-v6.6/include/net/ |
D | netlink.h | 404 #define NLA_POLICY_RANGE(tp, _min, _max) { \ macro 448 #define NLA_POLICY_EXACT_LEN(_len) NLA_POLICY_RANGE(NLA_BINARY, _len, _len)
|
/Linux-v6.6/net/ipv6/ |
D | ioam6_iptunnel.c | 72 [IOAM6_IPTUNNEL_MODE] = NLA_POLICY_RANGE(NLA_U8,
|
/Linux-v6.6/net/ieee802154/ |
D | nl802154.c | 225 NLA_POLICY_RANGE(NLA_U8, NL802154_SCAN_ED, NL802154_SCAN_RIT_PASSIVE), 233 NLA_POLICY_RANGE(NLA_U8, NL802154_SCAN_DONE_REASON_FINISHED,
|
/Linux-v6.6/net/openvswitch/ |
D | datapath.c | 2054 [OVS_DP_ATTR_MASKS_CACHE_SIZE] = NLA_POLICY_RANGE(NLA_U32, 0,
|