iPXE
Data Fields
dhcp_options Struct Reference

A DHCP options block. More...

#include <dhcpopts.h>

Data Fields

void * data
 Option block raw data.
size_t used_len
 Option block used length.
size_t alloc_len
 Option block allocated length.
int(* realloc )(struct dhcp_options *options, size_t len)
 Reallocate option block raw data.

Detailed Description

A DHCP options block.

Definition at line 15 of file dhcpopts.h.


Field Documentation

Option block raw data.

Definition at line 17 of file dhcpopts.h.

Referenced by dhcpopt_init(), nvo_load(), nvo_realloc(), and resize_dhcp_option().

Option block allocated length.

Definition at line 21 of file dhcpopts.h.

Referenced by dhcpopt_init(), dhcpopt_update_used_len(), nvo_realloc(), and resize_dhcp_option().

Reallocate option block raw data.

Parameters:
optionsDHCP option block
lenNew length
Return values:
rcReturn status code

Definition at line 28 of file dhcpopts.h.

Referenced by dhcpopt_init(), and resize_dhcp_option().


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