iPXE
Data Structures | Macros | 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...
 

Macros

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

Typedefs

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

Functions

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

Variables

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

Detailed Description

PXE data types.

Definition in file pxe_types.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

◆ offset

OFF16_t offset

Offset within the segment.

Definition at line 103 of file pxe_types.h.

◆ segment

SEGSEL_t segment

Segment selector.

Definition at line 104 of file pxe_types.h.

◆ segment_address

SEGSEL_t segment_address

Segment selector.

Definition at line 103 of file pxe_types.h.

◆ Physical_address

ADDR32_t Physical_address

Segment base address.

Definition at line 104 of file pxe_types.h.

◆ Seg_size

OFF16_t Seg_size

Size of the segment.

Definition at line 105 of file pxe_types.h.