-
- Downloads
Allow automatic tun device selection on *BSD.
When using local mode on *BSD, using the tun0 device was hard coded in contrast to Linux, where the next unused tun device was used. This patch changes the behaviour on *BSD to use the next unused tun device. This also requires that the device is removed when packetdrill terminates. This was the case on Linux, but not on *BSD. On *BSD there is also a new command line option (--tun-dev) to set the device name and not select an ephemerial one.
Showing
- gtests/net/packetdrill/config.c 14 additions, 0 deletionsgtests/net/packetdrill/config.c
- gtests/net/packetdrill/config.h 5 additions, 0 deletionsgtests/net/packetdrill/config.h
- gtests/net/packetdrill/netdev.c 38 additions, 6 deletionsgtests/net/packetdrill/netdev.c
- gtests/net/packetdrill/platforms.h 5 additions, 8 deletionsgtests/net/packetdrill/platforms.h
- gtests/net/packetdrill/run.c 12 additions, 3 deletionsgtests/net/packetdrill/run.c
Loading
Please register or sign in to comment