Validate the network interface name.
This function is a 1:1 copy of the kernel's interface validation function in net/core/dev.c.
| name |
Name of interface |
|
true if interface name is valid, otherwise false is returned. Before 1.20, this function did not accept null as |