iPXE
cachedhcp.h
Go to the documentation of this file.
1#ifndef _IPXE_CACHEDHCP_H
2#define _IPXE_CACHEDHCP_H
3
4/** @file
5 *
6 * Cached DHCP packet
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#include <stddef.h>
14
15struct net_device;
17
21
22extern int cachedhcp_record ( struct cached_dhcp_packet *cache,
23 unsigned int vlan, const void *data,
24 size_t max_len );
25extern void cachedhcp_recycle ( struct net_device *netdev );
26
27#endif /* _IPXE_CACHEDHCP_H */
struct cached_dhcp_packet cached_proxydhcp
Cached ProxyDHCPOFFER.
Definition cachedhcp.c:69
struct cached_dhcp_packet cached_pxebs
Cached PXEBSACK.
Definition cachedhcp.c:74
struct cached_dhcp_packet cached_dhcpack
Cached DHCPACK.
Definition cachedhcp.c:63
void cachedhcp_recycle(struct net_device *netdev)
Recycle cached DHCPACK.
Definition cachedhcp.c:355
int cachedhcp_record(struct cached_dhcp_packet *cache, unsigned int vlan, const void *data, size_t max_len)
Record cached DHCP packet.
Definition cachedhcp.c:203
uint8_t data[48]
Additional event data.
Definition ena.h:11
static struct net_device * netdev
Definition gdbudp.c:53
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
A cached DHCP packet.
Definition cachedhcp.c:45
unsigned int vlan
VLAN tag (if applicable)
Definition cachedhcp.c:51
A network device.
Definition netdevice.h:353