1DEV_VALID_NAME(9) Network device support DEV_VALID_NAME(9)
23
4
NAME
6dev_valid_name - check if name is okay for network device
7
SYNOPSIS
9int dev_valid_name(const char * name);
10
ARGUMENTS
12name
13name string
14
DESCRIPTION
16Network device names need to be valid file names to to allow sysfs to
17work. We also disallow any kind of whitespace.
18
COPYRIGHT
20Kernel Hackers Manual 2.6. June 2019 DEV_VALID_NAME(9)