chickadee » tun » make-tun

make-tun #!optional (mode 'tun) (pi #f)procedure

returns a tun/tap interface. The mode argument can be 'tun for a tunnel interface or 'tap for a tap interface. When the argument pi is #t we do not send the IFF_NO_PI flag and the interface includes packet information (four bytes) when reading every packet or frame