IRATI / stack

RINA implementation for OS/Linux
http://irati.github.io/stack
73 stars 39 forks source link

ARP request timeout #1369

Closed fdgonthier closed 2 years ago

fdgonthier commented 2 years ago
The timeout is somewhat arbitrarily set to 5000 milliseconds but can be changed using the shim
configuration file, or using DebugFS. A failure to receive an ARP before the timer expires will lead
the flow creation to fail and the ressources allocated to it (ie: the port number) to be freed.

Also added are a few features available using DebugFS. In the 'arp826' directory, any data written
to 'force-timeout' will lead all pending ARP requests to timeout. The 'resolutions' file will show
data about all the pending ARP requests.
fdgonthier commented 2 years ago

Reworking my pull requests.