Re: Managing lengths of packets with ethertap...

From: Rusty Russell (rusty@linuxcare.com.au)
Date: Sun Feb 06 2000 - 18:03:53 EST


In message <001a01bf6ddc$6fed0420$cb884c93@porpoise.icpdd.neca.nec.com.au> you
write:
> Firstly, I've found several sample uses of ethertap that poll the tap device
> with read combinations waiting for packets to be received. If the linux
> kernel spits a single packet into that queue (??) then doing a read on
> /dev/tap0 will simply grab that packet & squirt it to the other end & the
> whole system can assume its one packet.

One read, one packet. Think datagram.

Hope that helps,
Rusty.

--
Hacking time.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:13 EST