iPXE
Data Fields
flexboot_nodnic_port_type Struct Reference

A flexboot_nodnic port type. More...

#include <flexboot_nodnic.h>

Data Fields

mlx_status(* register_dev )(struct flexboot_nodnic *flexboot_nodnic, struct flexboot_nodnic_port *port)
 Register port.
void(* state_change )(struct flexboot_nodnic *flexboot_nodnic, struct flexboot_nodnic_port *port, int link_up)
 Port state changed.
void(* unregister_dev )(struct flexboot_nodnic *flexboot_nodnic, struct flexboot_nodnic_port *port)
 Unregister port.

Detailed Description

A flexboot_nodnic port type.

Definition at line 102 of file flexboot_nodnic.h.


Field Documentation

Register port.

Parameters:
flexboot_nodnicflexboot_nodnic device
portflexboot_nodnic port
Return values:
mlx_statusReturn status code

Definition at line 109 of file flexboot_nodnic.h.

Referenced by flexboot_nodnic_ports_register_dev().

Port state changed.

Parameters:
flexboot_nodnicflexboot_nodnic device
portflexboot_nodnic port
link_upLink is up

Definition at line 119 of file flexboot_nodnic.h.

Referenced by flexboot_nodnic_eth_close(), flexboot_nodnic_eth_open(), and flexboot_nodnic_poll_eq().

Unregister port.

Parameters:
flexboot_nodnicflexboot_nodnic device
portflexboot_nodnic port

Definition at line 129 of file flexboot_nodnic.h.

Referenced by flexboot_nodnic_ports_unregister_dev().


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