#include <stdint.h>
#include <ipxe/fc.h>
#include <ipxe/fcels.h>
#include <ipxe/fcoe.h>
Go to the source code of this file.
|
enum | fip_code { FIP_CODE_DISCOVERY = 0x0001,
FIP_CODE_ELS = 0x0002,
FIP_CODE_MAINTAIN = 0x0003,
FIP_CODE_VLAN = 0x0004
} |
| FIP protocol code. More...
|
|
enum | fip_discovery_subcode { FIP_DISCOVERY_SOLICIT = 0x01,
FIP_DISCOVERY_ADVERTISE = 0x02
} |
| FIP protocol subcode for discovery. More...
|
|
enum | fip_els_subcode { FIP_ELS_REQUEST = 0x01,
FIP_ELS_RESPONSE = 0x02
} |
| FIP protocol subcode for extended link services. More...
|
|
enum | fip_vitality_subcode { FIP_MAINTAIN_KEEP_ALIVE = 0x01,
FIP_MAINTAIN_CLEAR_LINKS = 0x02
} |
| FIP protocol subcode for keep alive / clear links. More...
|
|
enum | fip_vlan_subcode { FIP_VLAN_REQUEST = 0x01,
FIP_VLAN_NOTIFY = 0x02
} |
| FIP protocol subcode for VLAN. More...
|
|
enum | fip_flags {
FIP_FP = 0x8000,
FIP_SP = 0x4000,
FIP_A = 0x0004,
FIP_S = 0x0002,
FIP_F = 0x0001
} |
| FIP flags. More...
|
|
enum | fip_type {
FIP_RESERVED = 0x00,
FIP_PRIORITY = 0x01,
FIP_MAC_ADDRESS = 0x02,
FIP_FC_MAP = 0x03,
FIP_NAME_ID = 0x04,
FIP_FABRIC = 0x05,
FIP_MAX_FCOE_SIZE = 0x06,
FIP_FLOGI = 0x07,
FIP_NPIV_FDISC = 0x08,
FIP_LOGO = 0x09,
FIP_ELP = 0x0a,
FIP_VX_PORT_ID = 0x0b,
FIP_FKA_ADV_P = 0x0c,
FIP_VENDOR_ID = 0x0d,
FIP_VLAN = 0x0e,
FIP_NUM_DESCRIPTOR_TYPES
} |
| FIP descriptor types. More...
|
|
enum | fip_fka_adv_p_flags { FIP_NO_KEEPALIVE = 0x01
} |
| FIP FKA ADV period flags. More...
|
|
|
| FIP_DESCRIPTOR (FIP_PRIORITY, priority) |
|
| FIP_DESCRIPTOR (FIP_MAC_ADDRESS, mac_address) |
|
| FIP_DESCRIPTOR (FIP_FC_MAP, fc_map) |
|
| FIP_DESCRIPTOR (FIP_NAME_ID, name_id) |
|
| FIP_DESCRIPTOR (FIP_FABRIC, fabric) |
|
| FIP_DESCRIPTOR (FIP_MAX_FCOE_SIZE, max_fcoe_size) |
|
| FIP_DESCRIPTOR (FIP_FLOGI, flogi) |
|
| FIP_DESCRIPTOR (FIP_FLOGI, flogi_request) |
|
| FIP_DESCRIPTOR (FIP_FLOGI, flogi_ls_acc) |
|
| FIP_DESCRIPTOR (FIP_FLOGI, flogi_ls_rjt) |
|
| FIP_DESCRIPTOR (FIP_NPIV_FDISC, npiv_fdisc) |
|
| FIP_DESCRIPTOR (FIP_NPIV_FDISC, npiv_fdisc_request) |
|
| FIP_DESCRIPTOR (FIP_NPIV_FDISC, npiv_fdisc_ls_acc) |
|
| FIP_DESCRIPTOR (FIP_NPIV_FDISC, npiv_fdisc_ls_rjt) |
|
| FIP_DESCRIPTOR (FIP_LOGO, logo) |
|
| FIP_DESCRIPTOR (FIP_LOGO, logo_request) |
|
| FIP_DESCRIPTOR (FIP_LOGO, logo_ls_acc) |
|
| FIP_DESCRIPTOR (FIP_LOGO, logo_ls_rjt) |
|
| FIP_DESCRIPTOR (FIP_ELP, elp) |
|
| FIP_DESCRIPTOR (FIP_ELP, elp_request) |
|
| FIP_DESCRIPTOR (FIP_ELP, elp_ls_acc) |
|
| FIP_DESCRIPTOR (FIP_ELP, elp_ls_rjt) |
|
| FIP_DESCRIPTOR (FIP_VX_PORT_ID, vx_port_id) |
|
| FIP_DESCRIPTOR (FIP_FKA_ADV_P, fka_adv_p) |
|
| FIP_DESCRIPTOR (FIP_VENDOR_ID, vendor_id) |
|
| FIP_DESCRIPTOR (FIP_VLAN, vlan) |
|
◆ FIP_VERSION
FIP frame version.
Definition at line 47 of file fip.h.
◆ FIP_IS_CRITICAL
#define FIP_IS_CRITICAL |
( |
|
type | ) |
( (type) <= 0x7f ) |
FIP descriptor type is critical.
Definition at line 121 of file fip.h.
◆ FIP_DEFAULT_PRIORITY
#define FIP_DEFAULT_PRIORITY 128 |
Default FIP priority.
Definition at line 139 of file fip.h.
◆ FIP_LOWEST_PRIORITY
#define FIP_LOWEST_PRIORITY 255 |
Lowest FIP priority.
Definition at line 142 of file fip.h.
◆ FIP_DESCRIPTOR
Value: }
uint32_t type
Operating system type.
union fip_descriptor * desc[FIP_NUM_DESCRIPTOR_TYPES]
Descriptors, indexed by type.
#define NULL
NULL pointer (VOID *)
Define a function to extract a specific FIP descriptor type from a list.
- Parameters
-
type | Descriptor type |
name | Descriptor name |
finder | Descriptor finder |
Definition at line 418 of file fip.h.
◆ fip_code
FIP protocol code.
Enumerator |
---|
FIP_CODE_DISCOVERY | Discovery.
|
FIP_CODE_ELS | Extended link services.
|
FIP_CODE_MAINTAIN | Maintain virtual links.
|
FIP_CODE_VLAN | VLAN.
|
Definition at line 50 of file fip.h.
◆ fip_discovery_subcode
FIP protocol subcode for discovery.
Enumerator |
---|
FIP_DISCOVERY_SOLICIT | Discovery solicitation.
|
FIP_DISCOVERY_ADVERTISE | Discovery advertisement.
|
Definition at line 58 of file fip.h.
◆ fip_els_subcode
FIP protocol subcode for extended link services.
Enumerator |
---|
FIP_ELS_REQUEST | ELS request.
|
FIP_ELS_RESPONSE | ELS response.
|
Definition at line 64 of file fip.h.
◆ fip_vitality_subcode
FIP protocol subcode for keep alive / clear links.
Enumerator |
---|
FIP_MAINTAIN_KEEP_ALIVE | Keep alive.
|
FIP_MAINTAIN_CLEAR_LINKS | Clear virtual links.
|
Definition at line 70 of file fip.h.
◆ fip_vlan_subcode
FIP protocol subcode for VLAN.
Enumerator |
---|
FIP_VLAN_REQUEST | VLAN request.
|
FIP_VLAN_NOTIFY | VLAN notification.
|
Definition at line 76 of file fip.h.
◆ fip_flags
FIP flags.
Enumerator |
---|
FIP_FP | Fabric-provided MAC address.
|
FIP_SP | Server-provided MAC address.
|
FIP_A | Available for login.
|
FIP_S | Solicited.
|
FIP_F | Forwarder.
|
Definition at line 82 of file fip.h.
Fabric-provided MAC address.
Server-provided MAC address.
◆ fip_type
FIP descriptor types.
Enumerator |
---|
FIP_RESERVED | Reserved.
|
FIP_PRIORITY | Priority.
|
FIP_MAC_ADDRESS | MAC address.
|
FIP_FC_MAP | FC-MAP.
|
FIP_NAME_ID | Name identifier.
|
FIP_FABRIC | Fabric.
|
FIP_MAX_FCOE_SIZE | Max FCoE size.
|
FIP_FLOGI | FLOGI.
|
FIP_NPIV_FDISC | NPIV FDISC.
|
FIP_LOGO | LOGO.
|
FIP_ELP | ELP.
|
FIP_VX_PORT_ID | Vx port identification.
|
FIP_FKA_ADV_P | FKA ADV period.
|
FIP_VENDOR_ID | Vendor ID.
|
FIP_VLAN | VLAN.
|
FIP_NUM_DESCRIPTOR_TYPES | |
Definition at line 101 of file fip.h.
◆ fip_fka_adv_p_flags
FIP FKA ADV period flags.
Enumerator |
---|
FIP_NO_KEEPALIVE | Do not send keepalives.
|
Definition at line 321 of file fip.h.
◆ FIP_DESCRIPTOR() [1/26]
◆ FIP_DESCRIPTOR() [2/26]
◆ FIP_DESCRIPTOR() [3/26]
◆ FIP_DESCRIPTOR() [4/26]
◆ FIP_DESCRIPTOR() [5/26]
◆ FIP_DESCRIPTOR() [6/26]
◆ FIP_DESCRIPTOR() [7/26]
◆ FIP_DESCRIPTOR() [8/26]
◆ FIP_DESCRIPTOR() [9/26]
◆ FIP_DESCRIPTOR() [10/26]
◆ FIP_DESCRIPTOR() [11/26]
◆ FIP_DESCRIPTOR() [12/26]
◆ FIP_DESCRIPTOR() [13/26]
◆ FIP_DESCRIPTOR() [14/26]
◆ FIP_DESCRIPTOR() [15/26]
◆ FIP_DESCRIPTOR() [16/26]
FIP_DESCRIPTOR |
( |
FIP_LOGO |
, |
|
|
logo_request |
|
|
) |
| |
◆ FIP_DESCRIPTOR() [17/26]
FIP_DESCRIPTOR |
( |
FIP_LOGO |
, |
|
|
logo_ls_acc |
|
|
) |
| |
◆ FIP_DESCRIPTOR() [18/26]
FIP_DESCRIPTOR |
( |
FIP_LOGO |
, |
|
|
logo_ls_rjt |
|
|
) |
| |
◆ FIP_DESCRIPTOR() [19/26]
◆ FIP_DESCRIPTOR() [20/26]
FIP_DESCRIPTOR |
( |
FIP_ELP |
, |
|
|
elp_request |
|
|
) |
| |
◆ FIP_DESCRIPTOR() [21/26]
FIP_DESCRIPTOR |
( |
FIP_ELP |
, |
|
|
elp_ls_acc |
|
|
) |
| |
◆ FIP_DESCRIPTOR() [22/26]
FIP_DESCRIPTOR |
( |
FIP_ELP |
, |
|
|
elp_ls_rjt |
|
|
) |
| |
◆ FIP_DESCRIPTOR() [23/26]
◆ FIP_DESCRIPTOR() [24/26]
◆ FIP_DESCRIPTOR() [25/26]
◆ FIP_DESCRIPTOR() [26/26]