Home
last modified time | relevance | path

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

/linux-6.12.1/net/ethtool/
Dnetlink.c142 const struct nlattr *devname_attr; in ethnl_parse_header_dev_get() local
163 devname_attr = tb[ETHTOOL_A_HEADER_DEV_NAME]; in ethnl_parse_header_dev_get()
176 if (devname_attr && in ethnl_parse_header_dev_get()
177 strncmp(dev->name, nla_data(devname_attr), IFNAMSIZ)) { in ethnl_parse_header_dev_get()
183 } else if (devname_attr) { in ethnl_parse_header_dev_get()
184 dev = netdev_get_by_name(net, nla_data(devname_attr), in ethnl_parse_header_dev_get()
187 NL_SET_ERR_MSG_ATTR(extack, devname_attr, in ethnl_parse_header_dev_get()