iPXE
Data Fields
net_device_configurator Struct Reference

A network device configurator. More...

#include <netdevice.h>

Data Fields

const char * name
 Name. More...
 
int(* applies )(struct net_device *netdev)
 Check applicability of configurator. More...
 
int(* start )(struct interface *job, struct net_device *netdev)
 Start configuring network device. More...
 

Detailed Description

A network device configurator.

Definition at line 309 of file netdevice.h.

Field Documentation

◆ name

const char* net_device_configurator::name

Name.

Definition at line 311 of file netdevice.h.

Referenced by find_netdev_configurator(), ifconf(), netdev_config_close(), and netdev_configure().

◆ applies

int( * net_device_configurator::applies) (struct net_device *netdev)

Check applicability of configurator.

Parameters
netdevNetwork device
Return values
appliesConfigurator applies to this network device

Definition at line 317 of file netdevice.h.

Referenced by netdev_configurator_applies().

◆ start

int( * net_device_configurator::start) (struct interface *job, struct net_device *netdev)

Start configuring network device.

Parameters
jobJob control interface
netdevNetwork device
Return values
rcReturn status code

Definition at line 324 of file netdevice.h.

Referenced by netdev_configure().


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