david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/include/gpxe/fakedhcp.h
Michael Brown e65afc4b10 [dhcp] Split PXE menuing code out of dhcp.c
The DHCP client code now implements only the mechanism of the DHCP and
PXE Boot Server protocols.  Boot Server Discovery can be initiated
manually using the "pxebs" command.  The menuing code is separated out
into a user-level function on a par with boot_root_path(), and is
entered in preference to a normal filename boot if the DHCP vendor
class is "PXEClient" and the PXE boot menu option exists.
2009-02-01 01:21:40 +00:00

22 lines
456 B
C

#ifndef _GPXE_FAKEDHCP_H
#define _GPXE_FAKEDHCP_H
/** @file
*
* Fake DHCP packets
*
*/
#include <stdint.h>
struct net_device;
extern int create_fakedhcpdiscover ( struct net_device *netdev,
void *data, size_t max_len );
extern int create_fakedhcpack ( struct net_device *netdev,
void *data, size_t max_len );
extern int create_fakepxebsack ( struct net_device *netdev,
void *data, size_t max_len );
#endif /* _GPXE_FAKEDHCP_H */