X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip6.h;h=bc89a0821ae46f2b3326fd9828b9f2baf40c2e2d;hb=c3a06556d1a4a63646d4cc7aa76274177a56c13f;hp=8b1516cf353045cb447e90e44e9819887f0a8a0d;hpb=8637634d4dbc3e8cc90f78307d2069524b8f8f5e;p=vpp.git diff --git a/src/vnet/ip/ip6.h b/src/vnet/ip/ip6.h index 8b1516cf353..bc89a0821ae 100644 --- a/src/vnet/ip/ip6.h +++ b/src/vnet/ip/ip6.h @@ -40,7 +40,6 @@ #ifndef included_ip_ip6_h #define included_ip_ip6_h -#include #include #include #include @@ -219,8 +218,16 @@ typedef struct ip6_main_t /* HBH processing enabled? */ u8 hbh_enabled; + + /** ND throttling */ + uword **nd_throttle_bitmaps; + u64 *nd_throttle_seeds; + f64 *nd_throttle_last_seed_change_time; + } ip6_main_t; +#define ND_THROTTLE_BITS 512 + /* Global ip6 main structure. */ extern ip6_main_t ip6_main;