1#ifndef _IPXE_ETH_SLOW_H
2#define _IPXE_ETH_SLOW_H
22#define ETH_SLOW_SUBTYPE_LACP 1
25#define ETH_SLOW_LACP_VERSION 1
28#define ETH_SLOW_SUBTYPE_MARKER 2
31#define ETH_SLOW_MARKER_VERSION 1
49#define ETH_SLOW_TLV_TERMINATOR 0
52#define ETH_SLOW_TLV_TERMINATOR_LEN 0
55#define ETH_SLOW_TLV_LACP_ACTOR 1
58#define ETH_SLOW_TLV_LACP_ACTOR_LEN \
59 ( sizeof ( struct eth_slow_lacp_entity_tlv ) )
62#define ETH_SLOW_TLV_LACP_PARTNER 2
65#define ETH_SLOW_TLV_LACP_PARTNER_LEN \
66 ( sizeof ( struct eth_slow_lacp_entity_tlv ) )
69#define ETH_SLOW_TLV_LACP_COLLECTOR 3
72#define ETH_SLOW_TLV_LACP_COLLECTOR_LEN \
73 ( sizeof ( struct eth_slow_lacp_collector_tlv ) )
76#define ETH_SLOW_TLV_MARKER_REQUEST 1
79#define ETH_SLOW_TLV_MARKER_REQUEST_LEN \
80 ( sizeof ( struct eth_slow_marker_tlv ) )
83#define ETH_SLOW_TLV_MARKER_RESPONSE 2
86#define ETH_SLOW_TLV_MARKER_RESPONSE_LEN \
87 ( sizeof ( struct eth_slow_marker_tlv ) )
139#define LACP_SYSTEM_PRIORITY_MAX 0xffff
142#define LACP_PORT_PRIORITY_MAX 0xff
148#define LACP_STATE_ACTIVE 0x01
156#define LACP_STATE_FAST 0x02
162#define LACP_STATE_AGGREGATABLE 0x04
168#define LACP_STATE_IN_SYNC 0x08
174#define LACP_STATE_COLLECTING 0x10
180#define LACP_STATE_DISTRIBUTING 0x20
186#define LACP_STATE_DEFAULTED 0x40
192#define LACP_STATE_EXPIRED 0x80
195#define LACP_INTERVAL_FAST 1
198#define LACP_INTERVAL_SLOW 30
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
uint16_t max_delay
Maximum delay (in 10us increments)
struct eth_slow_tlv_header tlv
TLV header.
uint8_t reserved[12]
Reserved.
LACP entity (actor or partner) TLV.
uint16_t port
Port identifier.
struct eth_slow_tlv_header tlv
TLV header.
uint8_t system[ETH_ALEN]
System identifier.
uint16_t port_priority
Port priority.
uint8_t reserved[3]
Reserved.
uint16_t system_priority
System priority.
struct eth_slow_lacp_entity_tlv partner
Partner information.
struct eth_slow_lacp_collector_tlv collector
Collector information.
struct eth_slow_terminator_tlv terminator
Terminator.
struct eth_slow_lacp_entity_tlv actor
Actor information.
uint8_t reserved[50]
Reserved.
struct eth_slow_header header
Slow protocols header.
uint8_t system[ETH_ALEN]
Requester system.
uint16_t port
Requester port.
uint32_t xact
Requester transaction ID.
struct eth_slow_tlv_header tlv
TLV header.
struct eth_slow_marker_tlv marker
Marker information.
uint8_t reserved[90]
Reserved.
struct eth_slow_terminator_tlv terminator
Terminator.
struct eth_slow_header header
Slow protocols header.
struct eth_slow_tlv_header tlv
TLV header.
struct eth_slow_header header
Slow protocols header.
struct eth_slow_lacp lacp
LACP packet.
struct eth_slow_marker marker
Marker packet.