summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-02-24 14:55:59 +0200
committerHanoh Haim <hhaim@cisco.com>2016-02-24 14:55:59 +0200
commit5a844c9d72411435842e5a0674c6fdc04e5d4e84 (patch)
treedc2738fe0638ac0ed856c70564bc7096bb33868e /src/bp_sim.h
parent9e616d8eecaefbf538174328edfce8fd96336ce6 (diff)
parent3eb4f868ef5bc728a46c8012c914f6a9381f4cdb (diff)
Merge GARP example
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h3
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 {