iPXE
Data Fields
hermon_port_type Struct Reference

A Hermon port type. More...

#include <hermon.h>

Data Fields

int(* register_dev )(struct hermon *hermon, struct hermon_port *port)
 Register port. More...
 
void(* state_change )(struct hermon *hermon, struct hermon_port *port, int link_up)
 Port state changed. More...
 
void(* unregister_dev )(struct hermon *hermon, struct hermon_port *port)
 Unregister port. More...
 

Detailed Description

A Hermon port type.

Definition at line 798 of file hermon.h.

Field Documentation

◆ register_dev

int( * hermon_port_type::register_dev) (struct hermon *hermon, struct hermon_port *port)

Register port.

Parameters
hermonHermon device
portHermon port
Return values
rcReturn status code

Definition at line 805 of file hermon.h.

◆ state_change

void( * hermon_port_type::state_change) (struct hermon *hermon, struct hermon_port *port, int link_up)

Port state changed.

Parameters
hermonHermon device
portHermon port
link_upLink is up

Definition at line 813 of file hermon.h.

Referenced by hermon_event_port_state_change().

◆ unregister_dev

void( * hermon_port_type::unregister_dev) (struct hermon *hermon, struct hermon_port *port)

Unregister port.

Parameters
hermonHermon device
portHermon port

Definition at line 821 of file hermon.h.


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