iPXE
Data Structures | Defines | Enumerations | Functions
fcoe.h File Reference

Fibre Channel over Ethernet. More...

#include <stdint.h>
#include <ipxe/fc.h>
#include <ipxe/if_ether.h>

Go to the source code of this file.

Data Structures

union  fcoe_name
 An FCoE name. More...
struct  fcoe_map
 An FCoE MAC address prefix (FC-MAP) More...
struct  fcoe_mac
 An FCoE (fabric-assigned) MAC address. More...
struct  fcoe_header
 An FCoE header. More...
struct  fcoe_footer
 An FCoE footer. More...

Defines

#define FCOE_AUTHORITY_IEEE   0x1000
 IEEE 48-bit address.
#define FCOE_AUTHORITY_IEEE_EXTENDED   0x2000
 IEEE extended.
#define FCOE_FRAME_VER   0x00
 FCoE frame version.
#define FCOE_VLAN_PRIORITY   3
 FCoE VLAN priority.

Enumerations

enum  fcoe_sof {
  FCOE_SOF_F = 0x28, FCOE_SOF_I2 = 0x2d, FCOE_SOF_N2 = 0x35, FCOE_SOF_I3 = 0x2e,
  FCOE_SOF_N3 = 0x36
}
 Start of Frame marker values. More...
enum  fcoe_eof { FCOE_EOF_N = 0x41, FCOE_EOF_T = 0x42, FCOE_EOF_NI = 0x49, FCOE_EOF_A = 0x50 }
 End of Frame marker value. More...

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Detailed Description

Fibre Channel over Ethernet.

Definition in file fcoe.h.


Define Documentation

#define FCOE_AUTHORITY_IEEE   0x1000

IEEE 48-bit address.

Definition at line 31 of file fcoe.h.

Referenced by fcoe_probe().

#define FCOE_AUTHORITY_IEEE_EXTENDED   0x2000

IEEE extended.

Definition at line 34 of file fcoe.h.

Referenced by fcoe_probe().

#define FCOE_FRAME_VER   0x00

FCoE frame version.

Definition at line 60 of file fcoe.h.

Referenced by fcoe_rx().

#define FCOE_VLAN_PRIORITY   3

FCoE VLAN priority.

Definition at line 90 of file fcoe.h.

Referenced by fcoe_fip_rx_vlan(), and hermon_eth_open().


Enumeration Type Documentation

enum fcoe_sof

Start of Frame marker values.

Enumerator:
FCOE_SOF_F 

Start of Frame Class F.

FCOE_SOF_I2 

Start of Frame Initiate Class 2.

FCOE_SOF_N2 

Start of Frame Normal Class 2.

FCOE_SOF_I3 

Start of Frame Initiate Class 3.

FCOE_SOF_N3 

Start of Frame Normal Class 3.

Definition at line 63 of file fcoe.h.

              {
        FCOE_SOF_F = 0x28,      /**< Start of Frame Class F */
        FCOE_SOF_I2 = 0x2d,     /**< Start of Frame Initiate Class 2 */
        FCOE_SOF_N2 = 0x35,     /**< Start of Frame Normal Class 2 */
        FCOE_SOF_I3 = 0x2e,     /**< Start of Frame Initiate Class 3 */
        FCOE_SOF_N3 = 0x36,     /**< Start of Frame Normal Class 3 */
};
enum fcoe_eof

End of Frame marker value.

Enumerator:
FCOE_EOF_N 

End of Frame Normal.

FCOE_EOF_T 

End of Frame Terminate.

FCOE_EOF_NI 

End of Frame Invalid.

FCOE_EOF_A 

End of Frame Abort.

Definition at line 82 of file fcoe.h.

              {
        FCOE_EOF_N = 0x41,      /**< End of Frame Normal */
        FCOE_EOF_T = 0x42,      /**< End of Frame Terminate */
        FCOE_EOF_NI = 0x49,     /**< End of Frame Invalid */
        FCOE_EOF_A = 0x50,      /**< End of Frame Abort */
};

Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )