aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/fcoe.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2010-10-07 16:21:56 +0100
committerMichael Brown <mcb30@ipxe.org>2010-10-07 19:20:36 +0100
commit0f4fd09180bc85e3844c0e7b715edad02a8f18e1 (patch)
tree557a88343e3a9ad9393ba4c000a981f96e719a81 /src/include/ipxe/fcoe.h
parent5e56e5f5a3b1a6e8660623e5829ae8f9ee1c850f (diff)
downloadipxe-0f4fd09180bc85e3844c0e7b715edad02a8f18e1.tar.gz
[fcoe] Add support for the FCoE Initialization Protocol (FIP)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/fcoe.h')
-rw-r--r--src/include/ipxe/fcoe.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/ipxe/fcoe.h b/src/include/ipxe/fcoe.h
index 25723ec7a..69120d3e6 100644
--- a/src/include/ipxe/fcoe.h
+++ b/src/include/ipxe/fcoe.h
@@ -33,6 +33,19 @@ union fcoe_name {
/** IEEE extended */
#define FCOE_AUTHORITY_IEEE_EXTENDED 0x2000
+/** An FCoE MAC address prefix (FC-MAP) */
+struct fcoe_map {
+ uint8_t bytes[3];
+} __attribute__ (( packed ));
+
+/** An FCoE (fabric-assigned) MAC address */
+struct fcoe_mac {
+ /** MAC address prefix */
+ struct fcoe_map map;
+ /** Port ID */
+ struct fc_port_id port_id;
+} __attribute__ (( packed ));
+
/** An FCoE header */
struct fcoe_header {
/** FCoE frame version */