iPXE
Data Structures | Defines | Typedefs | Functions | Variables
pxe_types.h File Reference

PXE data types. More...

#include <stdint.h>
#include <errno.h>

Go to the source code of this file.

Data Structures

struct  s_SEGOFF16
 A segment:offset address. More...
struct  s_SEGDESC
 A segment descriptor. More...

Defines

#define PXENV_EXIT_SUCCESS   0x0000
 No error occurred.
#define PXENV_EXIT_FAILURE   0x0001
 An error occurred.
#define MAC_ADDR_LEN   16
 Maximum length of a MAC address.

Typedefs

typedef uint8_t UINT8_t
 An 8-bit unsigned integer.
typedef uint16_t UINT16_t
 A 16-bit unsigned integer.
typedef uint32_t UINT32_t
 A 32-bit unsigned integer.
typedef UINT16_t PXENV_EXIT_t
 A PXE exit code.
typedef UINT16_t PXENV_STATUS_t
 A PXE status code.
typedef UINT32_t IP4_t
 An IPv4 address.
typedef UINT16_t UDP_PORT_t
 A UDP port.
typedef UINT8_t MAC_ADDR_t [MAC_ADDR_LEN]
 A MAC address.
typedef UINT32_t ADDR32_t
 A physical address.
typedef UINT16_t SEGSEL_t
 A segment selector.
typedef UINT16_t OFF16_t
 An offset within a segment identified by #SEGSEL.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
struct s_SEGOFF16 __attribute__ ((packed)) SEGOFF16_t
 A segment:offset address.

Variables

OFF16_t offset
 Offset within the segment.
SEGSEL_t segment
 Segment selector.
SEGSEL_t segment_address
 Segment selector.
ADDR32_t Physical_address
 Segment base address.
OFF16_t Seg_size
 Size of the segment.

Detailed Description

PXE data types.

Definition in file pxe_types.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

Offset within the segment.

Definition at line 115 of file pxe_types.h.

Segment selector.

Definition at line 116 of file pxe_types.h.

Segment selector.

Definition at line 122 of file pxe_types.h.

Segment base address.

Definition at line 123 of file pxe_types.h.

Size of the segment.

Definition at line 124 of file pxe_types.h.