Hi guys,

Reading your messages, I gues a arp table with two or three entries
will do the job to get all ip frames accross Ethernet. A generic
routine could update the table at each packet received (expcept for
broadcast packets). If the arp entrie does not exist, it should be
added. And in any case, it shoud be marked as most recent used.

Timeout on ARP entries is probably not that important. Old entries
get pushed out and the re-use of an ip address on an other device is
quite rare. Removal of entries when an ICMP error is received or after
multiple timeouts might be more appropriate.

As I said, just my impression based on your messages, not your code.
It might not be easy to implement this, but on the other hand:
multiple implementations of simalar code is time-consuming and
increases code size and error count...

Joep

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to