Data Fields
dhcp_options Struct Reference

A DHCP options block. More...

#include <dhcpopts.h>

Data Fields

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

Detailed Description

A DHCP options block.

Definition at line 15 of file dhcpopts.h.

Field Documentation

◆ data

void* dhcp_options::data

Option block raw data.

Definition at line 17 of file dhcpopts.h.

Referenced by nvo_load(), and nvo_realloc().

◆ used_len

size_t dhcp_options::used_len

Option block used length.

Definition at line 19 of file dhcpopts.h.

Referenced by dhcppkt_len(), and nvo_realloc().

◆ alloc_len

size_t dhcp_options::alloc_len

Option block allocated length.

Definition at line 21 of file dhcpopts.h.

Referenced by nvo_realloc().

◆ realloc

int( * dhcp_options::realloc) (struct dhcp_options *options, size_t len)

Reallocate option block raw data.

optionsDHCP option block
lenNew length
Return values
rcReturn status code

Definition at line 28 of file dhcpopts.h.

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