DEV_VALID_NAME(9) Network device support DEV_VALID_NAME(9)NAMEdev_valid_name - check if name is okay for network device
SYNOPSIS
int dev_valid_name(const char * name);
ARGUMENTS
name
name string
DESCRIPTION
Network device names need to be valid file names to to allow sysfs to
work. We also disallow any kind of whitespace.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 DEV_VALID_NAME(9)