/*
 *  Implementation of EVB according to IEEE 802.1Qbg
 *  (c) Copyright IBM Corp. 2014
 *
 *  Author(s): Thomas Richter <tmricht at linux.vnet.ibm.com>
 *
 *  This program is free software; you can redistribute it and/or modify it
 *  under the terms and conditions of the GNU General Public License,
 *  version 2, as published by the Free Software Foundation.
 *
 *  This program is distributed in the hope it will be useful, but WITHOUT
 *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 *  more details.
 *
 *  You should have received a copy of the GNU General Public License along with
 *  this program; if not, write to the Free Software Foundation, Inc.,
 *  51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
 *
 *  The full GNU General Public License is included in this distribution in
 *  the file called "COPYING".
 *
 */

/*
 * ECP Protocol test data. Define a complete ECP DU in hex. One complete set
 * is needed for each transmission.
 * The first column defines the run time of the test program  in seconds
 * when the remaining data on this line will be sent. The rest of the line are
 * data fields which define the TLVs.
 * Line limit is 5KB, long lines can be split  with \\ as last character.
 *
 * The files are preprocessed with cpp before being read by the test program.
 *
 * The data fields per line are
 * 1. time
 * 2. destination MAC
 * 3. source MAC (- is replaced by the senders MAC address)
 * 4. ethertype
 * 5. ECP header and paylaod data field according to standard 802.1qbg 
 * 6. Optional. Several TLVs starting with @ which are expected results.
 *    Its an error is it is missing in the reply or TLV differs.
 */
/*
 * ECP negotiation
 * Bridge offer reflective relay.
 * Check that LLDPAD starts ECP module and negotiates sequence number exchange.
 * Use same sequence number and check for acknowledgement. Only ONE!!!! upper
 * layer notification on the lldpad side
 */

#include	"defines.ecp"

5	lldpad_mac - lldp_type chassis_tlv port_tlv ttl_tlv120 \\
		evb_brrr end_tlv @evbhead:02:04:def_counts
6	lldpad_mac - lldp_type chassis_tlv port_tlv ttl_tlv120 \\
		evbhead:03:04:00:00:00 end_tlv @evbhead:03:05:def_counts
7	lldpad_mac - lldp_type chassis_tlv port_tlv ttl_tlv120 \\
		evbhead:03:05:00:00:00 end_tlv @evbhead:03:05:def_counts
8	lldpad_mac - lldp_type chassis_tlv port_tlv ttl_tlv120 \\
		evbhead:03:05:00:00:00 end_tlv @evbhead:03:05:def_counts
9	lldpad_mac - lldp_type chassis_tlv port_tlv ttl_tlv120 \\
		evbhead:03:05:00:00:00 end_tlv @evbhead:03:05:def_counts

15	lldpad_mac - ecp_type 10:01 12:24 end_tlv @14:01:12:24
16	lldpad_mac - ecp_type 10:01 12:24 end_tlv @14:01:12:24
17	lldpad_mac - ecp_type 10:01 12:24 end_tlv @14:01:12:24


30	lldpad_mac - lldp_type chassis_tlv port_tlv ttl_tlv0 end_tlv
