Add support for configurable arp timers in L3 mode 95/66695/4
authorXavier Simonart <xavier.simonart@intel.com>
Thu, 13 Dec 2018 11:52:02 +0000 (12:52 +0100)
committerXavier Simonart <xavier.simonart@intel.com>
Mon, 28 Jan 2019 11:14:20 +0000 (12:14 +0100)
commitfd72a6505e18c66a31843708bb69a41739b97a84
tree299d281a1d229282560588250a888d30ea6bb61b
parent8bffdf8c09100f8a923c37bd9be39a13cbc49862
Add support for configurable arp timers in L3 mode

L3 mode supports two timers:
- arp_update_time, defaulted to 1 second, which makes PROX to send
  arp request every second for active flows
- arp_timeout, previously defaulted to 30 seconds, which makes PROX
  consider a MAC address as invalid if no arp_reply was received
  within those 30 seconds.

Those timers values were hardcoded. They can now be configured through
the configuration file (within the core section), using resp.
"arp update time" and "arp timeout" keywords. Unit is milli seconds.
The default becomes respectively 1 second and 2 weeks.

Change-Id: I35e46e97df32ca44c2cdfae85a20ee015de5d6e1
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/packet_utils.c
VNFs/DPPD-PROX/packet_utils.h
VNFs/DPPD-PROX/prox_args.c
VNFs/DPPD-PROX/task_init.h