2019-02-21 22:19:17 +00:00
|
|
|
/* -*- P4_16 -*- */
|
|
|
|
/* table sizes, register widths, and such */
|
|
|
|
#ifndef SETTINGS_P4
|
|
|
|
#define SETTINGS_P4
|
|
|
|
|
|
|
|
#include <core.p4>
|
|
|
|
#include <v1model.p4>
|
|
|
|
|
2019-02-23 13:31:19 +00:00
|
|
|
#define THE_ANSWER_TO_LIFE_THE_UNIVERSE_AND_EVERYTHING 42 /* Important constant */
|
|
|
|
#define ROUTING_TABLE_SIZE 64 /* maximum routes per protocol */
|
2019-02-23 17:58:04 +00:00
|
|
|
#define ADDRESS_TABLE_SIZE 64 /* maximum number of addresses per protocol */
|
2019-02-26 14:30:47 +00:00
|
|
|
#define NDP_TABLE_SIZE 64 /* maximum number of multicast groups */
|
2019-03-23 15:22:48 +00:00
|
|
|
#define ICMP6_TABLE_SIZE 64 /* icmp6 handlers */
|
2019-04-03 08:52:25 +00:00
|
|
|
#define ICMP_TABLE_SIZE 64 /* icmp6 handlers */
|
2019-03-23 15:22:48 +00:00
|
|
|
#define NAT64_TABLE_SIZE 64 /* nat64 and nat46 entries */
|
2019-02-21 22:19:17 +00:00
|
|
|
|
|
|
|
#endif
|