iPXE
Data Fields
dhcp_packet_field Struct Reference

A dedicated field within a DHCP packet. More...

Data Fields

unsigned int tag
 Settings tag number.
uint16_t offset
 Offset within DHCP packet.
uint16_t len
 Length of field.
size_t(* used_len )(const void *data, size_t len)
 Calculate used length of field.

Detailed Description

A dedicated field within a DHCP packet.

Definition at line 73 of file dhcppkt.c.


Field Documentation

unsigned int dhcp_packet_field::tag

Settings tag number.

Definition at line 75 of file dhcppkt.c.

Referenced by find_dhcp_packet_field().

Offset within DHCP packet.

Definition at line 77 of file dhcppkt.c.

Referenced by dhcp_packet_field().

Length of field.

Definition at line 79 of file dhcppkt.c.

Referenced by dhcppkt_fetch(), and dhcppkt_store().

Calculate used length of field.

Parameters:
dataField data
lenLength of field
Return values:
usedUsed length of field

Definition at line 86 of file dhcppkt.c.

Referenced by dhcppkt_fetch().


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