diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-02-24 14:55:59 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-02-24 14:55:59 +0200 |
commit | 5a844c9d72411435842e5a0674c6fdc04e5d4e84 (patch) | |
tree | dc2738fe0638ac0ed856c70564bc7096bb33868e /src/bp_sim.h | |
parent | 9e616d8eecaefbf538174328edfce8fd96336ce6 (diff) | |
parent | 3eb4f868ef5bc728a46c8012c914f6a9381f4cdb (diff) |
Merge GARP example
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-x | src/bp_sim.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h index a51a520d..c9550dcf 100755 --- a/src/bp_sim.h +++ b/src/bp_sim.h @@ -43,6 +43,7 @@ limitations under the License. #include <math.h> #include <common/bitMan.h> #include <yaml-cpp/yaml.h> +#include "trex_defs.h" #include "os_time.h" #include "pal_utl.h" #include "rx_check_header.h" @@ -69,7 +70,7 @@ usec_to_sec(double usec) { #define FORCE_NO_INLINE __attribute__ ((noinline)) -#define MAX_LATENCY_PORTS 12 +#define MAX_LATENCY_PORTS TREX_MAX_PORTS /* IP address, last 32-bits of IPv6 remaps IPv4 */ typedef struct { |