#define SESSION_PURGATORY_TIMEOUT_USEC 10
-#define ACL_PLUGIN_HASH_LOOKUP_HEAP_SIZE (2 << 25)
#define ACL_PLUGIN_HASH_LOOKUP_HASH_BUCKETS 65536
#define ACL_PLUGIN_HASH_LOOKUP_HASH_MEMORY (2 << 25)
ACL_N_TIMEOUTS
};
-
-enum address_e { IP4, IP6 };
-typedef struct
-{
- enum address_e type;
- union {
- ip6_address_t ip6;
- ip4_address_t ip4;
- } addr;
-} address_t;
-
typedef struct
{
u8 is_permit;
} ace_mask_type_entry_t;
typedef struct {
- /* mheap to hold all the ACL module related allocations, other than hash */
- void *acl_mheap;
- uword acl_mheap_size;
-
/* API message ID base */
u16 msg_id_base;
u32 hash_lookup_hash_buckets;
uword hash_lookup_hash_memory;
- /* mheap to hold all the miscellaneous allocations related to hash-based lookups */
- void *hash_lookup_mheap;
- uword hash_lookup_mheap_size;
int acl_lookup_hash_initialized;
/*
applied_hash_ace_entry_t **input_hash_entry_vec_by_sw_if_index;
extern acl_main_t acl_main;
-void *acl_plugin_set_heap();
-
typedef enum {
ACL_FA_REQ_SESS_RESCHEDULE = 0,
ACL_FA_N_REQ,