Home
last modified time | relevance | path

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

/linux-6.6.21/net/ethtool/
Dnetlink.c93 const struct nlattr *devname_attr; in ethnl_parse_header_dev_get() local
114 devname_attr = tb[ETHTOOL_A_HEADER_DEV_NAME]; in ethnl_parse_header_dev_get()
127 if (devname_attr && in ethnl_parse_header_dev_get()
128 strncmp(dev->name, nla_data(devname_attr), IFNAMSIZ)) { in ethnl_parse_header_dev_get()
134 } else if (devname_attr) { in ethnl_parse_header_dev_get()
135 dev = netdev_get_by_name(net, nla_data(devname_attr), in ethnl_parse_header_dev_get()
138 NL_SET_ERR_MSG_ATTR(extack, devname_attr, in ethnl_parse_header_dev_get()