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...


#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.


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.
 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.


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


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


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.