iPXE
Functions
dhcpmgmt.h File Reference

DHCP management. More...

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
int pxebs (struct net_device *netdev, unsigned int pxe_type)

Detailed Description

DHCP management.

Definition in file dhcpmgmt.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
int pxebs ( struct net_device netdev,
unsigned int  pxe_type 
)

Definition at line 41 of file dhcpmgmt.c.

References monojob, monojob_wait(), net_device::name, printf(), rc, and start_pxebs().

Referenced by pxe_menu_boot(), and pxebs_exec().

                                                               {
        int rc;

        /* Perform PXE Boot Server Discovery */
        printf ( "PXEBS (%s type %d)", netdev->name, pxe_type );
        if ( ( rc = start_pxebs ( &monojob, netdev, pxe_type ) ) == 0 )
                rc = monojob_wait ( "", 0 );

        return rc;
}