iPXE
Data Structures | Data Fields
bootph Struct Reference

Format of buffer filled in by pxenv_get_cached_info() More...

#include <pxe_api.h>

Data Structures

union  bootph_vendor
 DHCP options. More...

Data Fields

UINT8_t opcode
 Message opcode.
UINT8_t Hardware
 NIC hardware type.
UINT8_t Hardlen
 MAC address length.
UINT8_t Gatehops
 Gateway hops.
UINT32_t ident
 DHCP transaction id (xid)
UINT16_t seconds
 Elapsed time.
UINT16_t Flags
 Flags.
IP4_t cip
 Client IP address.
IP4_t yip
 Your IP address.
IP4_t sip
 Server IP address.
IP4_t gip
 Gateway IP address.
MAC_ADDR_t CAddr
 Client MAC address.
UINT8_t Sname [64]
 Server host name.
UINT8_t bootfile [128]
 Boot file name.
union bootph::bootph_vendor vendor

Detailed Description

Format of buffer filled in by pxenv_get_cached_info()

This somewhat convoluted data structure simply describes the layout of a DHCP packet. Refer to RFC2131 section 2 for a full description.

Definition at line 322 of file pxe_api.h.


Field Documentation

Message opcode.

Valid values are BOOTP_REQ and BOOTP_REP.

Definition at line 327 of file pxe_api.h.

NIC hardware type.

Valid values are as for s_PXENV_UNDI_GET_INFORMATION::HwType.

Definition at line 332 of file pxe_api.h.

MAC address length.

Definition at line 333 of file pxe_api.h.

Gateway hops.

Zero in packets sent by the client. May be non-zero in replies from the DHCP server, if the reply comes via a DHCP relay agent.

Definition at line 340 of file pxe_api.h.

DHCP transaction id (xid)

Definition at line 341 of file pxe_api.h.

Elapsed time.

Number of seconds since the client began the DHCP transaction.

Definition at line 347 of file pxe_api.h.

Flags.

This is the bitwise-OR of any of the following values: BOOTP_BCAST.

Definition at line 353 of file pxe_api.h.

Client IP address.

Set only if the client already has an IP address.

Definition at line 358 of file pxe_api.h.

Your IP address.

This is the IP address that the server assigns to the client.

Definition at line 364 of file pxe_api.h.

Server IP address.

This is the IP address of the BOOTP/DHCP server.

Definition at line 369 of file pxe_api.h.

Gateway IP address.

This is the IP address of the BOOTP/DHCP relay agent, if any. It is not (necessarily) the address of the default gateway for routing purposes.

Definition at line 376 of file pxe_api.h.

Client MAC address.

Definition at line 377 of file pxe_api.h.

Server host name.

Definition at line 378 of file pxe_api.h.

Boot file name.

Definition at line 379 of file pxe_api.h.


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