| TUN(4) | AerieBSD 1.0 Refernce Manual | TUN(4) |
/* iface info */
struct tuninfo {
u_int mtu;
u_short type;
u_short flags;
u_int baudrate;
};
flags sets the interface flags, and can include one or more of IFF_UP, IFF_POINTOPOINT, IFF_MULTICAST, IFF_BROADCAST. Flags given will be set; flags omitted will be cleared; flags not in this list will not be changed even when given. Flags default to IFF_POINTOPOINT for layer 3 and to IFF_BROADCAST\&| IFF_MULTICAST for layer 2 mode. It is an error to set both IFF_POINTOPOINT and IFF_BROADCAST. type defaults to IFT_TUNNEL for layer 3 and IFT_ETHER for layer 2 tunneling mode. This sets the interface media address header type.
| AerieBSD 1.0 Reference Manual | August 26 2008 | TUN(4) |