mirror of
https://github.com/xcat2/xNBA.git
synced 2026-03-26 08:13:29 +00:00
Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
35 lines
815 B
C
35 lines
815 B
C
#ifndef _IPXE_DHCPOPTS_H
|
|
#define _IPXE_DHCPOPTS_H
|
|
|
|
/** @file
|
|
*
|
|
* DHCP options
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
#include <stdint.h>
|
|
|
|
/** A DHCP options block */
|
|
struct dhcp_options {
|
|
/** Option block raw data */
|
|
void *data;
|
|
/** Option block length */
|
|
size_t len;
|
|
/** Option block maximum length */
|
|
size_t max_len;
|
|
};
|
|
|
|
extern int dhcpopt_store ( struct dhcp_options *options, unsigned int tag,
|
|
const void *data, size_t len );
|
|
extern int dhcpopt_extensible_store ( struct dhcp_options *options,
|
|
unsigned int tag,
|
|
const void *data, size_t len );
|
|
extern int dhcpopt_fetch ( struct dhcp_options *options, unsigned int tag,
|
|
void *data, size_t len );
|
|
extern void dhcpopt_init ( struct dhcp_options *options,
|
|
void *data, size_t max_len );
|
|
|
|
#endif /* _IPXE_DHCPOPTS_H */
|