iPXE
dhcpmgmt.h File Reference

DHCP management. More...

Go to the source code of this file.

Functions

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

Detailed Description

DHCP management.

Definition in file dhcpmgmt.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

References netdev.

◆ pxebs()

int pxebs ( struct net_device * netdev,
unsigned int pxe_type )
extern

Definition at line 42 of file dhcpmgmt.c.

42 {
43 int rc;
44
45 /* Perform PXE Boot Server Discovery */
46 printf ( "PXEBS (%s type %d)", netdev->name, pxe_type );
47 if ( ( rc = start_pxebs ( &monojob, netdev, pxe_type ) ) == 0 )
48 rc = monojob_wait ( "", 0 );
49
50 return rc;
51}
struct arbelprm_rc_send_wqe rc
Definition arbel.h:3
int start_pxebs(struct interface *job, struct net_device *netdev, unsigned int pxe_type)
Start PXE Boot Server Discovery on a network device.
Definition dhcp.c:1448
static struct net_device * netdev
Definition gdbudp.c:53
struct interface monojob
Definition monojob.c:57
int monojob_wait(const char *string, unsigned long timeout)
Wait for single foreground job to complete.
Definition monojob.c:82
int printf(const char *fmt,...)
Write a formatted string to the console.
Definition vsprintf.c:465

References monojob, monojob_wait(), netdev, printf(), rc, and start_pxebs().

Referenced by COMMAND(), pxe_menu_boot(), and pxebs_exec().