dhcp_packet Struct Reference

A DHCP packet. More...

#include <dhcppkt.h>


Data Fields

struct refcnt refcnt
 Reference counter.
struct dhcphdrdhcphdr
 The DHCP packet contents.
size_t max_len
 Maximum length of the DHCP packet buffer.
size_t len
 Used length of the DHCP packet buffer.
struct dhcp_options options
 DHCP options.
struct settings settings
 Settings interface.


Detailed Description

A DHCP packet.

Definition at line 20 of file dhcppkt.h.


Field Documentation

struct refcnt dhcp_packet::refcnt [read]

Reference counter.

Definition at line 22 of file dhcppkt.h.

Referenced by dhcppkt_init().

struct dhcphdr* dhcp_packet::dhcphdr [read]

The DHCP packet contents.

Definition at line 24 of file dhcppkt.h.

Referenced by dhcp_create_request(), dhcp_request_rx(), dhcp_rx_offer(), dhcppkt_fetch(), dhcppkt_init(), and dhcppkt_store().

Maximum length of the DHCP packet buffer.

Definition at line 26 of file dhcppkt.h.

Referenced by dhcppkt_init().

Used length of the DHCP packet buffer.

Definition at line 28 of file dhcppkt.h.

Referenced by dhcp_tx(), dhcppkt_init(), and dhcppkt_store().

DHCP options.

Definition at line 30 of file dhcppkt.h.

Referenced by dhcppkt_fetch(), dhcppkt_init(), dhcppkt_store(), and store_cached_dhcpack().

Settings interface.

Definition at line 32 of file dhcppkt.h.

Referenced by dhcp_proxy_rx(), dhcp_pxebs_rx(), dhcp_request_rx(), dhcppkt_init(), and store_cached_dhcpack().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:03 2010 for gPXE by  doxygen 1.5.7.1