Home
last modified time | relevance | path

Searched refs:attrid (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/ethtool/
Dplca.c31 static void plca_update_sint(int *dst, struct nlattr **tb, u32 attrid, in plca_update_sint() argument
34 const struct nlattr *attr = tb[attrid]; in plca_update_sint()
37 WARN_ON_ONCE(attrid >= ARRAY_SIZE(ethnl_plca_set_cfg_policy))) in plca_update_sint()
40 switch (ethnl_plca_set_cfg_policy[attrid].type) { in plca_update_sint()
/linux-6.6.21/net/core/
Drtnetlink.c5288 static bool stats_attr_valid(unsigned int mask, int attrid, int idxattr) in stats_attr_valid() argument
5290 return (mask & IFLA_STATS_FILTER_BIT(attrid)) && in stats_attr_valid()
5291 (!idxattr || idxattr == attrid); in stats_attr_valid()