-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The maximum length of an interface name is 16
This is described in POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/net_if.h.html The <net/if.h> header shall define the following symbolic constant for the length of a buffer containing an interface name (including the terminating NULL character): IF_NAMESIZE Interface name length. Note that proper macro name is IF_NAMESIZE, IFNAMSIZ is the legacy name. The value of IF_NAMESIZE is usually 16 as far as I can tell, at least on recent Linux and macOS machines.
- Loading branch information
1 parent
b902468
commit 9ffb78c
Showing
3 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters