Thanks for the help. I do see a tunif and tapif implementation, but both relies on underlying OS support. I kind of thought of a tunif which can be used to create a new netif (using the addnetif()). So, basically what I need to do is create this tunif, and route any packets (except for the VPN server dest address) packets being sent by applications (for output to network) to the tunif allowing user to read that from tunif. For the tunif write function, it should link to the real network interface.
Any advice would be appreciated. [email protected] wrote: > > Tiran Kaskas <[email protected]> wrote: > >> Anyone have ever seen a tun/tap driver implemented for lwip? >> Can someone please share some information regarding tun/tap support for >> lwip? > > I'm not really sure what you mean, but there's a netif driver in contrib > to use a TUN/TAP device under linux/unix to run lwIP (if that's what you > mean). > > Simon > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users > -- View this message in context: http://old.nabble.com/TUN-TAP-driver-tp32961245p32975786.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
