Home
last modified time | relevance | path

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

/linux-6.1.9/net/ethtool/
Dnetlink.c93 const struct nlattr *devname_attr; in ethnl_parse_header_dev_get() local
112 devname_attr = tb[ETHTOOL_A_HEADER_DEV_NAME]; in ethnl_parse_header_dev_get()
124 if (devname_attr && in ethnl_parse_header_dev_get()
125 strncmp(dev->name, nla_data(devname_attr), IFNAMSIZ)) { in ethnl_parse_header_dev_get()
131 } else if (devname_attr) { in ethnl_parse_header_dev_get()
132 dev = dev_get_by_name(net, nla_data(devname_attr)); in ethnl_parse_header_dev_get()
134 NL_SET_ERR_MSG_ATTR(extack, devname_attr, in ethnl_parse_header_dev_get()