X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip4.h;h=e3cbe27dd89038a0af57a5fdd8345c22e710e0dd;hb=49433adb9145bfd3a9cbaa99b01c6c14aeda71a4;hp=fcef559010c3338a9d118b2bcf73e84e3470bb95;hpb=7fad624b09f8d1256360222dc547519d8b40dd1c;p=vpp.git diff --git a/src/vnet/ip/ip4.h b/src/vnet/ip/ip4.h index fcef559010c..e3cbe27dd89 100644 --- a/src/vnet/ip/ip4.h +++ b/src/vnet/ip/ip4.h @@ -154,8 +154,16 @@ typedef struct ip4_main_t /** The memory heap for the mtries */ void *mtrie_mheap; + + /** ARP throttling */ + uword **arp_throttle_bitmaps; + u32 *arp_throttle_seeds; + f64 *arp_throttle_last_seed_change_time; + } ip4_main_t; +#define ARP_THROTTLE_BITS (512) + /** Global ip4 main structure. */ extern ip4_main_t ip4_main;