-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
if_tun: Add TUNGIFNAME ioctl to get the interface name
This ioctl helps to get the name of the network interface associated with the tun control device via its file descriptor. One generally obtains such a file descriptor by opening the tun autocloner (i.e., /dev/tun). While the devname(3) or fdevname(3) functions can be used to determine the name of the actually created tun device, but there is no easy way to get the name of the associated network interface, which is though initially the same as the device name but can be renamed. Bump __DragonFly_version and update tun.4 man page. See also the relevant Linux patch that added TUNGETIFF to tun: https://lists.linuxfoundation.org/pipermail/virtualization/2008-August/011546.html
- Loading branch information
1 parent
a50e0e6
commit 0df03f1
Showing
4 changed files
with
21 additions
and
3 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
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