Home
last modified time | relevance | path

Searched refs:NLA_POLICY_RANGE (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.6/net/ethtool/
Deeprom.c234 NLA_POLICY_RANGE(NLA_U32, 1, ETH_MODULE_EEPROM_PAGE_LEN),
238 NLA_POLICY_RANGE(NLA_U8, 0, ETH_MODULE_MAX_I2C_ADDRESS),
Dmm.c152 [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),
Dpse-pd.c114 NLA_POLICY_RANGE(NLA_U32, ETHTOOL_PODL_PSE_ADMIN_STATE_DISABLED,
Dmodule.c98 NLA_POLICY_RANGE(NLA_U8, ETHTOOL_MODULE_POWER_MODE_POLICY_HIGH,
Dplca.c135 [ETHTOOL_A_PLCA_NODE_CNT] = NLA_POLICY_RANGE(NLA_U32, 1, 255),
Dlinkmodes.c164 [ETHTOOL_A_LINKMODES_LANES] = NLA_POLICY_RANGE(NLA_U32, 1, 8),
/Linux-v6.6/net/devlink/
Dnetlink.c22 [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,
Dport.c15 NLA_POLICY_RANGE(NLA_U8, DEVLINK_PORT_FN_STATE_INACTIVE,
/Linux-v6.6/net/bridge/
Dbr_mst.c287 [IFLA_BRIDGE_MST_ENTRY_MSTI] = NLA_POLICY_RANGE(NLA_U16,
290 [IFLA_BRIDGE_MST_ENTRY_STATE] = NLA_POLICY_RANGE(NLA_U8,
Dbr_mdb.c621 [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/
Dact_mpls.c155 [TCA_MPLS_TC] = NLA_POLICY_RANGE(NLA_U8, 0, 7),
157 [TCA_MPLS_BOS] = NLA_POLICY_RANGE(NLA_U8, 0, 1),
Dact_ipt.c89 [TCA_IPT_HOOK] = NLA_POLICY_RANGE(NLA_U32, NF_INET_PRE_ROUTING,
Dsch_mqprio.c156 [TCA_MQPRIO_TC_ENTRY_FP] = NLA_POLICY_RANGE(NLA_U32,
Dsch_qfq.c222 [TCA_QFQ_WEIGHT] = NLA_POLICY_RANGE(NLA_U32, 1, QFQ_MAX_WEIGHT),
Dsch_taprio.c1013 [TCA_TAPRIO_TC_ENTRY_FP] = NLA_POLICY_RANGE(NLA_U32,
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_mdb.c304 [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/
Dnl80211.c364 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/
Dnetlink.h404 #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/
Dioam6_iptunnel.c72 [IOAM6_IPTUNNEL_MODE] = NLA_POLICY_RANGE(NLA_U8,
/Linux-v6.6/net/ieee802154/
Dnl802154.c225 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/
Ddatapath.c2054 [OVS_DP_ATTR_MASKS_CACHE_SIZE] = NLA_POLICY_RANGE(NLA_U32, 0,