diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-11-15 16:27:08 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-11-21 12:56:28 +0200 |
commit | bf83f301e4fdbf333240af7f316735e35634c5fd (patch) | |
tree | 667c001d36a1b1a95b0f6da82d9919977543746c /src/stateful_rx_core.h | |
parent | c39cdf89bee7999ba714eb31e8ec4bc8b5d52a60 (diff) |
client config ARP resolve working. Still missing IPv6 support.
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/stateful_rx_core.h')
-rw-r--r-- | src/stateful_rx_core.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/stateful_rx_core.h b/src/stateful_rx_core.h index 3fa5892f..48fbeb97 100644 --- a/src/stateful_rx_core.h +++ b/src/stateful_rx_core.h @@ -24,6 +24,7 @@ limitations under the License. #include "bp_sim.h" #include "flow_stat.h" +#include "utl_ip.h" #define L_PKT_SUBMODE_NO_REPLY 1 #define L_PKT_SUBMODE_REPLY 2 @@ -346,11 +347,13 @@ public: return ( &m_nat_check_manager ); } CLatencyPktMode *c_l_pkt_mode; + void add_grat_arp_src(COneIPv4Info &ip); private: void tickle(); void send_pkt_all_ports(); - void send_grat_arp_all_ports(); + double grat_arp_timeout(); + void send_one_grat_arp(); void try_rx(); void try_rx_queues(); void run_rx_queue_msgs(uint8_t thread_id, CNodeRing * r); @@ -374,7 +377,7 @@ private: CCpuUtlDp m_cpu_dp_u; CCpuUtlCp m_cpu_cp_u; TrexMonitor m_monitor; - + CManyIPInfo m_arp_info; // for grat ARP volatile bool m_do_stop __rte_cache_aligned ; }; |