lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] [lwip] update_arp_entry() => insert_arp_entry()


From: leon . woestenberg
Subject: [lwip-users] [lwip] update_arp_entry() => insert_arp_entry()
Date: Wed, 08 Jan 2003 23:16:04 -0000

Hello all,

update_arp_entry() not only _updates_  ARP table entries, it does also
_insert_ one if the IP address was not
cached yet.

I would like to suggest to rename it to insert_arp_entry() instead.

I might need a function that _only_ updates existing ARP entries, to
enhance the ARP implementation to
implement "ARP update on other hosts' ARP requests".

In short, this will update the ARP table by looking at the source hardware
and IP address of ARP broadcast
requests (initiated by other hosts). This must not trash the existing
cache, merely update it (in most cases,
this is just a time-stamp refresh). It must not fill or even overwrite the
cache with entries not used by ourselves.

As update_arp_entry() is static in the etharp.c modules, this name change
does not involve changes
to other sources.

Regards,

Leon.

[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]