<' type packet_protocol : [ETHERNET, IEEE, ATM]; struct packet { protocol : packet_protocol; // payload is list of bytes // Which size is always 10 bytes payload : list of byte; keep payload.size() == 10; }; // Just to check our code extend sys { // Create the list of the packets data : list of packet; // Set number of packets to generate to 4 // i.e. set the size of list keep data.size() == 4; run() is also { gen data; for each in data do { print it; print it.payload; }; }; }; '>