table of contents
other versions
- stretch 4.9.168-1
DEV_VALID_NAME(9) | Network device support | DEV_VALID_NAME(9) |
NAME¶
dev_valid_name - check if name is okay for network deviceSYNOPSIS¶
bool dev_valid_name(const char * name);
ARGUMENTS¶
namename string
DESCRIPTION¶
Network device names need to be valid file names to to allow sysfs to work. We also disallow any kind of whitespace.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |