I've to write an applications which emulates the network, so this
application must write and read all the data passing on network
interfaces like eth0 and tap0(virtual ethernet interface). How can I
do?
I've configured tap0 with
debian:/home/fabrizio# tunctl -u root
Set 'tap0' persistent and owned by uid 0
so I don't have the device file "/dev/tap0" to pass to function open(),
however eth0 doesn't have the node /dev/eth0.
Thanks.
Greetings