Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
Ddcbnl.h381 DCB_ATTR_NUMTCS, enumerator
/Linux-v4.19/net/dcb/
Ddcbnl.c340 if (!tb[DCB_ATTR_NUMTCS]) in dcbnl_getnumtcs()
346 ret = nla_parse_nested(data, DCB_NUMTCS_ATTR_MAX, tb[DCB_ATTR_NUMTCS], in dcbnl_getnumtcs()
351 nest = nla_nest_start(skb, DCB_ATTR_NUMTCS); in dcbnl_getnumtcs()
385 if (!tb[DCB_ATTR_NUMTCS]) in dcbnl_setnumtcs()
391 ret = nla_parse_nested(data, DCB_NUMTCS_ATTR_MAX, tb[DCB_ATTR_NUMTCS], in dcbnl_setnumtcs()
407 return nla_put_u8(skb, DCB_ATTR_NUMTCS, !!ret); in dcbnl_setnumtcs()