[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] dev/tun network interface
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] dev/tun network interface |
Date: |
Thu, 27 Nov 2014 08:15:20 +0100 |
Matthias Dübon wrote:
> in the lwip-contrib example ports is a minimal unix project included
> that uses a /dev/net/tun [..]
> Can I use the eth interface similarly
> to the de/tun or are there some general hindrances?
You should be able to write an lwIP netif driver using either pcap or raw (ETH)
sockets on unix/linux. As long as you are able to receive and send ethernet
packets to/from your MAC address (plus broadcast/multicast addresses), you
should be fine.
Simon