Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dkfree_skb.c29 struct dev_ifalias *ifalias; member
78 ptr = dev->ifalias->rcuhead.next; in BPF_PROG()
/Linux-v6.1/drivers/net/hyperv/
Drndis_filter.c1449 u8 ifalias[256]; in rndis_get_friendly_name() local
1462 len = ucs2_as_utf8(ifalias, wname, sizeof(ifalias)); in rndis_get_friendly_name()
1465 if (strcmp(ifalias, "Network Adapter") != 0) in rndis_get_friendly_name()
1466 dev_set_alias(net, ifalias, len); in rndis_get_friendly_name()
1524 if (!net->ifalias) in rndis_filter_device_add()
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-net180 What: /sys/class/net/<iface>/ifalias
/Linux-v6.1/net/core/
Dnet-sysfs.c468 static DEVICE_ATTR_RW(ifalias);
1909 kfree(rcu_access_pointer(dev->ifalias)); in netdev_release()
Ddev.c1268 memcpy(new_alias->ifalias, alias, len); in dev_set_alias()
1269 new_alias->ifalias[len] = 0; in dev_set_alias()
1273 new_alias = rcu_replace_pointer(dev->ifalias, new_alias, in dev_set_alias()
1299 alias = rcu_dereference(dev->ifalias); in dev_get_alias()
1301 ret = snprintf(name, len, "%s", alias->ifalias); in dev_get_alias()
/Linux-v6.1/include/linux/
Dnetdevice.h1041 char ifalias[]; member
2009 struct dev_ifalias __rcu *ifalias; member