diff options
author | 2018-08-31 02:51:45 -0700 | |
---|---|---|
committer | 2018-11-02 13:58:44 +0000 | |
commit | c92341d5c6ab052d458471e26d6c27f9e303fe31 (patch) | |
tree | 343996ac03334533564e0433716e191e305a2cce /src/vnet/ip/ip6.h | |
parent | 975b4b1f7a568ec3d6704232286418c554c04cc1 (diff) |
Use throttle_t for ND throttling (VPP-1480)
Change-Id: I93c6b7bccd1a1ab71625ae29c99c974581186c4d
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip6.h')
-rw-r--r-- | src/vnet/ip/ip6.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vnet/ip/ip6.h b/src/vnet/ip/ip6.h index bc89a0821ae..e807886cd2a 100644 --- a/src/vnet/ip/ip6.h +++ b/src/vnet/ip/ip6.h @@ -49,6 +49,7 @@ #include <vppinfra/bihash_24_8.h> #include <vppinfra/bihash_template.h> #include <vnet/util/radix.h> +#include <vnet/util/throttle.h> /* * Default size of the ip6 fib hash table @@ -220,10 +221,7 @@ typedef struct ip6_main_t u8 hbh_enabled; /** ND throttling */ - uword **nd_throttle_bitmaps; - u64 *nd_throttle_seeds; - f64 *nd_throttle_last_seed_change_time; - + throttle_t nd_throttle; } ip6_main_t; #define ND_THROTTLE_BITS 512 |