-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/PToString: do not resolve IPv6 scope ids to interface names
Lacking NI_NUMERICSCOPE, every getnameinfo() call causes three additional system calls: socket(AF_UNIX, SOCK_DGRAM, 0) ioctl(SIOCGIFNAME) close() This is a rather large price for something that is called pretty often.
- Loading branch information
1 parent
43b52d9
commit 9a78447
Showing
2 changed files
with
107 additions
and
6 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