diff --git a/MAC/APL/PIC/RSP_Protocol/src/EPA_Protocol.prot b/MAC/APL/PIC/RSP_Protocol/src/EPA_Protocol.prot index b15ae7ed19adabf6e64ebd05fc2030a146443b02..59b9e1a1be21a673a6b379e5bfc57da3cf19cd49 100644 --- a/MAC/APL/PIC/RSP_Protocol/src/EPA_Protocol.prot +++ b/MAC/APL/PIC/RSP_Protocol/src/EPA_Protocol.prot @@ -23,6 +23,14 @@ prelude = << PRELUDE_END * Protocol constants. */ +#ifndef ETH_ALEN +#define ETH_ALEN 6 +#endif + +#ifndef IP_ALEN +#define IP_ALEN 4 +#endif + #undef MIN #define MIN(a,b) ((a)<(b)?(a):(b)) @@ -211,7 +219,9 @@ prelude = << PRELUDE_END { uint8 enable:1; // enable CEP output uint8 lane :2; // select which lane to output (value = 0,1,2,3) - uint16 ffi :13; + uint8 fb_enable:1; // Fiber balance enable + uint8 arp_enable:1; // ARP enable + uint16 ffi :11; }; // @@ -776,6 +786,14 @@ event = { name = "src_mac"; type = "uint8[ETH_ALEN]"; }; + param = { + name = "dst_ip"; + type = "uint8[IP_ALEN]"; + }; + param = { + name = "src_ip"; + type = "uint8[IP_ALEN]"; + }; }; event = {