Scroll to navigation

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

March 2016 Kernel Hackers Manual 3.2.