Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Thread-safe ARP / ND throttling
[vpp.git]
/
src
/
vnet
/
ip
/
ip6.h
diff --git
a/src/vnet/ip/ip6.h
b/src/vnet/ip/ip6.h
index
8b1516c
..
a6feec5
100644
(file)
--- a/
src/vnet/ip/ip6.h
+++ b/
src/vnet/ip/ip6.h
@@
-219,8
+219,16
@@
typedef struct ip6_main_t
/* HBH processing enabled? */
u8 hbh_enabled;
/* 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;
} ip6_main_t;
+#define ND_THROTTLE_BITS 512
+
/* Global ip6 main structure. */
extern ip6_main_t ip6_main;
/* Global ip6 main structure. */
extern ip6_main_t ip6_main;