Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dkfree_skb.c29 struct dev_ifalias *ifalias; member
78 ptr = dev->ifalias->rcuhead.next; in BPF_PROG()
/Linux-v6.6/drivers/net/hyperv/
Drndis_filter.c1450 u8 ifalias[256]; in rndis_get_friendly_name() local
1463 len = ucs2_as_utf8(ifalias, wname, sizeof(ifalias)); in rndis_get_friendly_name()
1466 if (strcmp(ifalias, "Network Adapter") != 0) in rndis_get_friendly_name()
1467 dev_set_alias(net, ifalias, len); in rndis_get_friendly_name()
1525 if (!net->ifalias) in rndis_filter_device_add()
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-class-net180 What: /sys/class/net/<iface>/ifalias
/Linux-v6.6/net/core/
Dnet-sysfs.c469 static DEVICE_ATTR_RW(ifalias);
1938 kfree(rcu_access_pointer(dev->ifalias)); in netdev_release()
Ddev.c1311 memcpy(new_alias->ifalias, alias, len); in dev_set_alias()
1312 new_alias->ifalias[len] = 0; in dev_set_alias()
1316 new_alias = rcu_replace_pointer(dev->ifalias, new_alias, in dev_set_alias()
1342 alias = rcu_dereference(dev->ifalias); in dev_get_alias()
1344 ret = snprintf(name, len, "%s", alias->ifalias); in dev_get_alias()
/Linux-v6.6/include/linux/
Dnetdevice.h1046 char ifalias[]; member
2059 struct dev_ifalias __rcu *ifalias; member