iPXE
|
Fibre Channel management. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
void | fcportstat (struct fc_port *port) |
Print status of Fibre Channel port. More... | |
void | fcpeerstat (struct fc_peer *peer) |
Print status of Fibre Channel peer. More... | |
int | fcels (struct fc_port *port, struct fc_port_id *peer_port_id, struct fc_els_handler *handler) |
Issue Fibre Channel ELS. More... | |
Fibre Channel management.
Definition in file fcmgmt.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
void fcportstat | ( | struct fc_port * | port | ) |
Print status of Fibre Channel port.
port | Fibre Channel port |
Definition at line 45 of file fcmgmt.c.
References fc_id_ntoa(), fc_link_ok(), fc_ntoa(), FC_PORT_HAS_FABRIC, port, printf(), and strerror().
Referenced by fcstat_exec().
void fcpeerstat | ( | struct fc_peer * | peer | ) |
Print status of Fibre Channel peer.
peer | Fibre Channel peer |
Definition at line 68 of file fcmgmt.c.
References fc_id_ntoa(), fc_link_ok(), fc_ntoa(), fc_ulp::link, fc_ulp::list, list_for_each_entry, param, fc_ulp::param, fc_ulp::param_len, peer, printf(), fc_link_state::rc, strerror(), and fc_ulp::type.
Referenced by fcstat_exec().
int fcels | ( | struct fc_port * | port, |
struct fc_port_id * | peer_port_id, | ||
struct fc_els_handler * | handler | ||
) |
Issue Fibre Channel ELS.
port | Fibre Channel port |
peer_port_id | Peer port ID |
handler | ELS handler |
rc | Return status code |
Definition at line 105 of file fcmgmt.c.
References fc_els_request(), fc_id_ntoa(), monojob, monojob_wait(), fc_els_handler::name, port, printf(), rc, and strerror().
Referenced by fcels_exec().