DEV_VALID_NAME(9) Network device support DEV_VALID_NAME(9)

NAME dev_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.

COPYRIGHT Kernel Hackers Manual 2.6. May 2011 DEV_VALID_NAME(9)