Displaying 2 results from an estimated 2 matches for "tungetflag".
Did you mean:
tungetflags
2008 Aug 13
1
[PATCH 1/1] tun: TUNGETIFF interface to query name and flags
...some apps like libvirt open the tap fd, connect the interface
to the appropriate bridge and pass the fd to kvm via the command line.
So, those apps need to set IFF_VNET_HDR and KVM needs to be able to
detect that and handle it correctly.
A very simple approach is attached; I did consider doing a TUNGETFLAGS
that would return tun->flags, but I think it's nicer to have a companion
to TUNGETIFF since it also allows one to query the interface name from
the file descriptor.
Cheers,
Mark.
Subject: [PATCH 1/1] tun: TUNGETIFF interface to query name and flags
Add a TUNGETIFF interface so that users...
2008 Aug 13
1
[PATCH 1/1] tun: TUNGETIFF interface to query name and flags
...some apps like libvirt open the tap fd, connect the interface
to the appropriate bridge and pass the fd to kvm via the command line.
So, those apps need to set IFF_VNET_HDR and KVM needs to be able to
detect that and handle it correctly.
A very simple approach is attached; I did consider doing a TUNGETFLAGS
that would return tun->flags, but I think it's nicer to have a companion
to TUNGETIFF since it also allows one to query the interface name from
the file descriptor.
Cheers,
Mark.
Subject: [PATCH 1/1] tun: TUNGETIFF interface to query name and flags
Add a TUNGETIFF interface so that users...