Home
last modified time | relevance | path

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

/Linux-v5.10/net/ethtool/
Dnetlink.c53 const struct nlattr *devname_attr; in ethnl_parse_header_dev_get() local
72 devname_attr = tb[ETHTOOL_A_HEADER_DEV_NAME]; in ethnl_parse_header_dev_get()
84 if (devname_attr && in ethnl_parse_header_dev_get()
85 strncmp(dev->name, nla_data(devname_attr), IFNAMSIZ)) { in ethnl_parse_header_dev_get()
91 } else if (devname_attr) { in ethnl_parse_header_dev_get()
92 dev = dev_get_by_name(net, nla_data(devname_attr)); in ethnl_parse_header_dev_get()
94 NL_SET_ERR_MSG_ATTR(extack, devname_attr, in ethnl_parse_header_dev_get()