EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Data Structures | Defines | Enumerations | Functions | Variables

S3C24xxPkg/vivi/include/net/bootp.h File Reference

#include "net.h"

Go to the source code of this file.

Data Structures

struct  Bootp_t

Defines

#define OPT_SIZE   64
#define OP_BOOTREQUEST   1
#define OP_BOOTREPLY   2
#define HWT_ETHER   1
#define HWL_ETHER   6
#define BOOTP_HDR_SIZE   sizeof (Bootp_t)
#define BOOTP_SIZE   (ETHER_HDR_SIZE + IP_HDR_SIZE + BOOTP_HDR_SIZE)
#define DHCP_DISCOVER   1
#define DHCP_OFFER   2
#define DHCP_REQUEST   3
#define DHCP_DECLINE   4
#define DHCP_ACK   5
#define DHCP_NAK   6
#define DHCP_RELEASE   7
#define SELECT_TIMEOUT   3

Enumerations

enum  dhcp_state_t {
  INIT, INIT_REBOOT, REBOOTING, SELECTING,
  REQUESTING, REBINDING, BOUND, RENEWING,
  INIT, INIT_REBOOT, REBOOTING, SELECTING,
  REQUESTING, REBINDING, BOUND, RENEWING,
  INIT, INIT_REBOOT, REBOOTING, SELECTING,
  REQUESTING, REBINDING, BOUND, RENEWING
}

Functions

void BootpRequest (void)
void DhcpRequest (void)

Variables

ulong BootpID
char BootFile [128]
int BootpTry

Define Documentation

#define BOOTP_HDR_SIZE   sizeof (Bootp_t)

Definition at line 50 of file bootp.h.

#define BOOTP_SIZE   (ETHER_HDR_SIZE + IP_HDR_SIZE + BOOTP_HDR_SIZE)

Definition at line 51 of file bootp.h.

#define DHCP_ACK   5

Definition at line 87 of file bootp.h.

#define DHCP_DECLINE   4

Definition at line 86 of file bootp.h.

#define DHCP_DISCOVER   1

Definition at line 83 of file bootp.h.

#define DHCP_NAK   6

Definition at line 88 of file bootp.h.

#define DHCP_OFFER   2

Definition at line 84 of file bootp.h.

#define DHCP_RELEASE   7

Definition at line 89 of file bootp.h.

#define DHCP_REQUEST   3

Definition at line 85 of file bootp.h.

#define HWL_ETHER   6

Definition at line 35 of file bootp.h.

#define HWT_ETHER   1

Definition at line 33 of file bootp.h.

#define OP_BOOTREPLY   2

Definition at line 31 of file bootp.h.

#define OP_BOOTREQUEST   1

Definition at line 30 of file bootp.h.

#define OPT_SIZE   64

Definition at line 24 of file bootp.h.

#define SELECT_TIMEOUT   3

Definition at line 91 of file bootp.h.


Enumeration Type Documentation

Enumerator:
INIT 
INIT_REBOOT 
REBOOTING 
SELECTING 
REQUESTING 
REBINDING 
BOUND 
RENEWING 
INIT 
INIT_REBOOT 
REBOOTING 
SELECTING 
REQUESTING 
REBINDING 
BOUND 
RENEWING 
INIT 
INIT_REBOOT 
REBOOTING 
SELECTING 
REQUESTING 
REBINDING 
BOUND 
RENEWING 

Definition at line 74 of file bootp.h.


Function Documentation

void BootpRequest ( void  )
void DhcpRequest ( void  )

Variable Documentation

char BootFile[128]
int BootpTry
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines