iPXE
Data Fields
fc_frame_header Struct Reference

A Fibre Channel Frame Header. More...

#include <fc.h>

Data Fields

uint8_t r_ctl
 Routing control. More...
 
struct fc_port_id d_id
 Destination ID. More...
 
uint8_t cs_ctl_prio
 Class-specific control / Priority. More...
 
struct fc_port_id s_id
 Source ID. More...
 
uint8_t type
 Data structure type. More...
 
uint8_t f_ctl_es
 Frame control - exchange and sequence. More...
 
uint8_t f_ctl_ack
 Frame control - acknowledgements. More...
 
uint8_t f_ctl_misc
 Frame control - miscellaneous. More...
 
uint8_t seq_id
 Sequence ID. More...
 
uint8_t df_ctl
 Data field control. More...
 
uint16_t seq_cnt
 Sequence count. More...
 
uint16_t ox_id
 Originator exchange ID. More...
 
uint16_t rx_id
 Responder exchange ID. More...
 
uint32_t parameter
 Parameter. More...
 

Detailed Description

A Fibre Channel Frame Header.

Definition at line 120 of file fc.h.

Field Documentation

◆ r_ctl

uint8_t fc_frame_header::r_ctl

Routing control.

This is the bitwise OR of one fc_r_ctl_routing value and one fc_r_ctl_info value.

Definition at line 126 of file fc.h.

Referenced by fc_xchg_rx(), fc_xchg_tx(), and fcoe_deliver().

◆ d_id

struct fc_port_id fc_frame_header::d_id

Destination ID.

Definition at line 128 of file fc.h.

Referenced by fc_port_deliver(), fc_xchg_respond(), fc_xchg_rx(), and fc_xchg_tx().

◆ cs_ctl_prio

uint8_t fc_frame_header::cs_ctl_prio

Class-specific control / Priority.

Definition at line 130 of file fc.h.

◆ s_id

struct fc_port_id fc_frame_header::s_id

Source ID.

Definition at line 132 of file fc.h.

Referenced by fc_xchg_respond(), fc_xchg_rx(), and fc_xchg_tx().

◆ type

uint8_t fc_frame_header::type

Data structure type.

Definition at line 134 of file fc.h.

Referenced by fc_xchg_respond(), and fc_xchg_tx().

◆ f_ctl_es

uint8_t fc_frame_header::f_ctl_es

Frame control - exchange and sequence.

Definition at line 136 of file fc.h.

Referenced by fc_port_deliver(), fc_xchg_rx(), fc_xchg_tx(), and fcoe_deliver().

◆ f_ctl_ack

uint8_t fc_frame_header::f_ctl_ack

Frame control - acknowledgements.

Definition at line 138 of file fc.h.

◆ f_ctl_misc

uint8_t fc_frame_header::f_ctl_misc

Frame control - miscellaneous.

Definition at line 140 of file fc.h.

Referenced by fc_xchg_rx(), and fc_xchg_tx().

◆ seq_id

uint8_t fc_frame_header::seq_id

Sequence ID.

Definition at line 142 of file fc.h.

Referenced by fc_xchg_respond(), fc_xchg_rx(), and fc_xchg_tx().

◆ df_ctl

uint8_t fc_frame_header::df_ctl

Data field control.

Definition at line 144 of file fc.h.

◆ seq_cnt

uint16_t fc_frame_header::seq_cnt

Sequence count.

Definition at line 146 of file fc.h.

Referenced by fc_port_deliver(), fc_xchg_rx(), fc_xchg_tx(), and fcoe_deliver().

◆ ox_id

uint16_t fc_frame_header::ox_id

Originator exchange ID.

Definition at line 148 of file fc.h.

Referenced by fc_port_deliver(), fc_xchg_respond(), fc_xchg_rx(), and fc_xchg_tx().

◆ rx_id

uint16_t fc_frame_header::rx_id

Responder exchange ID.

Definition at line 150 of file fc.h.

Referenced by fc_port_deliver(), fc_xchg_rx(), and fc_xchg_tx().

◆ parameter

uint32_t fc_frame_header::parameter

Parameter.

Contains the relative offset when FC_F_CTL_MISC_REL_OFF is set.

Definition at line 156 of file fc.h.

Referenced by fc_xchg_rx(), and fc_xchg_tx().


The documentation for this struct was generated from the following file: