75 printf (
" up, port %s id %s]\n",
peer->port->name,
86 for ( i = 0 ; i < ulp->
param_len ; i++ ) {
87 printf (
"%c%02x", ( ( i == 0 ) ?
' ' :
':' ),
110 printf (
"%s %s to %s...",
int fc_els_request(struct interface *job, struct fc_port *port, struct fc_port_id *peer_port_id, struct fc_els_handler *handler)
Create ELS request.
struct arbelprm_rc_send_wqe rc
int printf(const char *fmt,...)
Write a formatted string to the console.
int fcels(struct fc_port *port, struct fc_port_id *peer_port_id, struct fc_els_handler *handler)
Issue Fibre Channel ELS.
int monojob_wait(const char *string, unsigned long timeout)
Wait for single foreground job to complete.
const char * fc_id_ntoa(const struct fc_port_id *id)
Format Fibre Channel port ID.
A Fibre Channel extended link services handler.
struct list_head list
List of upper-layer protocols.
const char * fc_ntoa(const struct fc_name *wwn)
Format Fibre Channel WWN.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void fcportstat(struct fc_port *port)
Print status of Fibre Channel port.
Fibre Channel management.
Port is attached to a fabric.
A Fibre Channel port identifier.
#define list_for_each_entry(pos, head, member)
Iterate over entries in a list.
size_t param_len
Service parameter length.
static int fc_link_ok(struct fc_link_state *link)
Check Fibre Channel link state.
void fcpeerstat(struct fc_peer *peer)
Print status of Fibre Channel peer.
char * strerror(int errno)
Retrieve string representation of error number.
void * param
Service parameters, if any.
struct hv_monitor_parameter param[4][32]
Parameters.
struct fc_link_state link
Link state monitor.
struct mschapv2_challenge peer
Peer challenge.
A Fibre Channel upper-layer protocol.
Fibre Channel Extended Link Services.