47 #define FIP_VERSION 0x10 121 #define FIP_IS_CRITICAL( type ) ( (type) <= 0x7f ) 139 #define FIP_DEFAULT_PRIORITY 128 142 #define FIP_LOWEST_PRIORITY 255 418 #define FIP_DESCRIPTOR( type, name ) \ 419 static inline __attribute__ (( always_inline )) \ 420 typeof ( ( ( union fip_descriptor * ) NULL )->name ) * \ 421 fip_ ## name ( struct fip_descriptors *descs ) { \ 422 return &(descs->desc[type]->name); \ fip_type
FIP descriptor types.
struct fc_login_frame els
ELS frame.
struct fip_login flogi_ls_acc
FLOGI LS_ACC descriptor.
struct fc_name name
Port name.
A FIP descriptor containing an encapsulated login frame.
Fibre Channel ELS frame common parameters.
A FIP descriptor containing an encapsulated LOGO request frame.
uint8_t reserved[2]
Reserved.
fip_els_subcode
FIP protocol subcode for extended link services.
struct fip_vx_port_id vx_port_id
Vx port identification descriptor.
uint8_t reserved[2]
Reserved.
struct fc_logout_request_frame els
ELS frame.
A FIP priority descriptor.
#define FIP_DESCRIPTOR(type, name)
Define a function to extract a specific FIP descriptor type from a list.
struct fc_logout_response_frame els
ELS frame.
struct fip_vlan vlan
VLAN descriptor.
uint8_t reserved[2]
Reserved.
uint8_t len
Length in 32-bit words.
uint8_t len
Length in 32-bit words.
struct fc_frame_header fc
Fibre Channel frame header.
uint8_t len
Length in 32-bit words.
uint8_t len
Length in 32-bit words.
struct fc_port_id id
Address identifier.
A FIP Vx port identification descriptor.
uint8_t len
Length in 32-bit words.
struct fip_common common
Common fields.
uint8_t priority
Priority.
uint8_t len
Length in 32-bit words.
struct fip_ls_rjt logo_ls_rjt
LOGO LS_RJT descriptor.
A FIP descriptor containing an encapsulated ELP frame.
uint16_t mtu
Maximum FCoE size.
uint8_t reserved[2]
Reserved.
struct fip_mac_address mac_address
MAC address descriptor.
Fibre Channel over Ethernet.
struct fc_frame_header fc
Fibre Channel frame header.
struct fip_name_id name_id
Name identifier descriptor.
struct fip_els npiv_fdisc
NPIV FDISC descriptor.
fip_fka_adv_p_flags
FIP FKA ADV period flags.
uint8_t reserved
Reserved.
uint16_t vf_id
Virtual Fabric ID, if any.
struct fc_frame_header fc
Fibre Channel frame header.
A Fibre Channel port identifier.
struct fip_elp elp_request
ELP request descriptor.
A FIP vendor ID descriptor.
struct fip_els logo
LOGO descriptor.
struct fcoe_map map
FC-MAP.
uint8_t reserved[2]
Reserved.
struct fip_ls_rjt flogi_ls_rjt
FLOGI LS_RJT descriptor.
fip_vlan_subcode
FIP protocol subcode for VLAN.
A FIP descriptor containing an encapsulated LS_RJT frame.
struct fc_els_frame_common els
ELS frame.
uint8_t reserved[2]
Reserved.
uint8_t len
Length in 32-bit words.
fip_vitality_subcode
FIP protocol subcode for keep alive / clear links.
struct fc_frame_header fc
Fibre Channel frame header.
uint8_t reserved[2]
Reserved.
uint32_t dull[25]
Uninteresting content.
struct fc_name name
Name identifier.
FIP descriptor common fields.
uint8_t vendor[8]
Vendor ID.
uint8_t reserved[2]
Reserved.
uint8_t len
Length in 32-bit words.
struct fip_logo_request logo_request
LOGO request descriptor.
A FIP MAC address descriptor.
struct fip_logo_response logo_ls_acc
LOGO LS_ACC descriptor.
struct fc_els_frame_common els
ELS frame.
A FIP max FCoE size descriptor.
struct fip_priority priority
Priority descriptor.
uint8_t reserved
Reserved.
struct fip_ls_rjt npiv_fdisc_ls_rjt
NPIV FDISC LS_RJT descriptor.
struct fip_els flogi
FLOGI descriptor.
uint8_t reserved
Reserved.
uint8_t reserved[2]
Reserved.
A FIP FKA ADV period descriptor.
struct fcoe_map map
FC-MAP.
A FIP descriptor containing an encapsulated LOGO response frame.
union fip_descriptor * desc[FIP_NUM_DESCRIPTOR_TYPES]
Descriptors, indexed by type.
uint8_t len
Length in 32-bit words.
A Fibre Channel LOGO response frame.
A FIP descriptor containing an encapsulated ELS frame.
uint8_t len
Length in 32-bit words.
uint8_t len
Length in 32-bit words.
uint8_t len
Length in 32-bit words.
uint8_t reserved[3]
Reserved.
A Fibre Channel LS_RJT frame.
struct fip_login flogi_request
FLOGI request descriptor.
uint16_t priority
Priotity.
struct fip_fc_map fc_map
FC-MAP descriptor.
struct fip_login npiv_fdisc_ls_acc
NPIV FDISC LS_ACC descriptor.
fip_code
FIP protocol code.
struct fip_login npiv_fdisc_request
NPIV FDISC request descriptor.
uint8_t mac[ETH_ALEN]
MAC address.
uint8_t mac[ETH_ALEN]
MAC address.
struct fc_name name
Fabric name.
struct fip_fka_adv_p fka_adv_p
FKA ADV period descriptor.
An FCoE MAC address prefix (FC-MAP)
struct fc_ls_rjt_frame els
ELS frame.
fip_discovery_subcode
FIP protocol subcode for discovery.
struct fip_vendor_id vendor_id
Vendor ID descriptor.
uint8_t reserved
Reserved.
uint8_t len
Length in 32-bit words.
struct fip_ls_rjt elp_ls_rjt
ELP LS_RJT descriptor.
Fabric-provided MAC address.
struct fc_frame_header fc
Fibre Channel frame header.
uint8_t len
Length in 32-bit words.
struct fc_frame_header fc
Fibre Channel frame header.
uint8_t len
Length in 32-bit words.
struct fip_max_fcoe_size max_fcoe_size
Max FCoE size descriptor.
A FIP name identifier descriptor.
A Fibre Channel FLOGI/PLOGI frame.
struct fip_fabric fabric
Fabric descriptor.
struct fip_els elp
ELS descriptor.
A Fibre Channel LOGO request frame.
uint8_t len
Length in 32-bit words.
uint32_t period
Keep alive advertisement period in milliseconds.
struct fip_elp elp_ls_acc
ELP LS_ACC descriptor.
Server-provided MAC address.
uint8_t len
Length in 32-bit words.
Fibre Channel Extended Link Services.