bootp.h File Reference

Go to the source code of this file.

Data Structures

struct  bootp_t
struct  bootpip_t
struct  bootpd_t

Defines

#define BOOTP_SERVER   67
#define BOOTP_CLIENT   68
#define PROXYDHCP_SERVER   4011
#define BOOTP_REQUEST   1
#define BOOTP_REPLY   2
#define TAG_LEN(p)   (*((p)+1))
#define RFC1533_COOKIE   99, 130, 83, 99
#define RFC1533_PAD   0
#define RFC1533_NETMASK   1
#define RFC1533_TIMEOFFSET   2
#define RFC1533_GATEWAY   3
#define RFC1533_TIMESERVER   4
#define RFC1533_IEN116NS   5
#define RFC1533_DNS   6
#define RFC1533_LOGSERVER   7
#define RFC1533_COOKIESERVER   8
#define RFC1533_LPRSERVER   9
#define RFC1533_IMPRESSSERVER   10
#define RFC1533_RESOURCESERVER   11
#define RFC1533_HOSTNAME   12
#define RFC1533_BOOTFILESIZE   13
#define RFC1533_MERITDUMPFILE   14
#define RFC1533_DOMAINNAME   15
#define RFC1533_SWAPSERVER   16
#define RFC1533_ROOTPATH   17
#define RFC1533_EXTENSIONPATH   18
#define RFC1533_IPFORWARDING   19
#define RFC1533_IPSOURCEROUTING   20
#define RFC1533_IPPOLICYFILTER   21
#define RFC1533_IPMAXREASSEMBLY   22
#define RFC1533_IPTTL   23
#define RFC1533_IPMTU   24
#define RFC1533_IPMTUPLATEAU   25
#define RFC1533_INTMTU   26
#define RFC1533_INTLOCALSUBNETS   27
#define RFC1533_INTBROADCAST   28
#define RFC1533_INTICMPDISCOVER   29
#define RFC1533_INTICMPRESPOND   30
#define RFC1533_INTROUTEDISCOVER   31
#define RFC1533_INTROUTESOLICIT   32
#define RFC1533_INTSTATICROUTES   33
#define RFC1533_LLTRAILERENCAP   34
#define RFC1533_LLARPCACHETMO   35
#define RFC1533_LLETHERNETENCAP   36
#define RFC1533_TCPTTL   37
#define RFC1533_TCPKEEPALIVETMO   38
#define RFC1533_TCPKEEPALIVEGB   39
#define RFC1533_NISDOMAIN   40
#define RFC1533_NISSERVER   41
#define RFC1533_NTPSERVER   42
#define RFC1533_VENDOR   43
#define RFC1533_NBNS   44
#define RFC1533_NBDD   45
#define RFC1533_NBNT   46
#define RFC1533_NBSCOPE   47
#define RFC1533_XFS   48
#define RFC1533_XDM   49
#define RFC2132_REQ_ADDR   50
#define RFC2132_MSG_TYPE   53
#define RFC2132_SRV_ID   54
#define RFC2132_PARAM_LIST   55
#define RFC2132_MAX_SIZE   57
#define RFC2132_VENDOR_CLASS_ID   60
#define RFC2132_CLIENT_ID   61
#define RFC2132_TFTP_SERVER_NAME   66
#define RFC2132_BOOTFILE_NAME   67
#define RFC3004_USER_CLASS   77
#define DHCPDISCOVER   1
#define DHCPOFFER   2
#define DHCPREQUEST   3
#define DHCPACK   5
#define RFC1533_VENDOR_MAJOR   0
#define RFC1533_VENDOR_MINOR   0
#define RFC1533_VENDOR_MAGIC   128
#define RFC1533_VENDOR_ADDPARM   129
#define RFC1533_VENDOR_ETHDEV   130
#define RFC1533_VENDOR_ETHERBOOT_ENCAP   150
#define RFC1533_VENDOR_NIC_DEV_ID   175
#define RFC1533_VENDOR_ARCH   177
#define RFC1533_END   255
#define BOOTP_VENDOR_LEN   64
#define DHCP_OPT_LEN   312


Define Documentation

#define BOOTP_SERVER   67

Definition at line 14 of file bootp.h.

#define BOOTP_CLIENT   68

Definition at line 19 of file bootp.h.

#define PROXYDHCP_SERVER   4011

Definition at line 21 of file bootp.h.

#define BOOTP_REQUEST   1

Definition at line 23 of file bootp.h.

#define BOOTP_REPLY   2

Definition at line 24 of file bootp.h.

#define TAG_LEN (  )     (*((p)+1))

Definition at line 26 of file bootp.h.

#define RFC1533_COOKIE   99, 130, 83, 99

Definition at line 27 of file bootp.h.

#define RFC1533_PAD   0

Definition at line 28 of file bootp.h.

#define RFC1533_NETMASK   1

Definition at line 29 of file bootp.h.

#define RFC1533_TIMEOFFSET   2

Definition at line 30 of file bootp.h.

#define RFC1533_GATEWAY   3

Definition at line 31 of file bootp.h.

#define RFC1533_TIMESERVER   4

Definition at line 32 of file bootp.h.

#define RFC1533_IEN116NS   5

Definition at line 33 of file bootp.h.

#define RFC1533_DNS   6

Definition at line 34 of file bootp.h.

#define RFC1533_LOGSERVER   7

Definition at line 35 of file bootp.h.

#define RFC1533_COOKIESERVER   8

Definition at line 36 of file bootp.h.

#define RFC1533_LPRSERVER   9

Definition at line 37 of file bootp.h.

#define RFC1533_IMPRESSSERVER   10

Definition at line 38 of file bootp.h.

#define RFC1533_RESOURCESERVER   11

Definition at line 39 of file bootp.h.

#define RFC1533_HOSTNAME   12

Definition at line 40 of file bootp.h.

#define RFC1533_BOOTFILESIZE   13

Definition at line 41 of file bootp.h.

#define RFC1533_MERITDUMPFILE   14

Definition at line 42 of file bootp.h.

#define RFC1533_DOMAINNAME   15

Definition at line 43 of file bootp.h.

#define RFC1533_SWAPSERVER   16

Definition at line 44 of file bootp.h.

#define RFC1533_ROOTPATH   17

Definition at line 45 of file bootp.h.

#define RFC1533_EXTENSIONPATH   18

Definition at line 46 of file bootp.h.

#define RFC1533_IPFORWARDING   19

Definition at line 47 of file bootp.h.

#define RFC1533_IPSOURCEROUTING   20

Definition at line 48 of file bootp.h.

#define RFC1533_IPPOLICYFILTER   21

Definition at line 49 of file bootp.h.

#define RFC1533_IPMAXREASSEMBLY   22

Definition at line 50 of file bootp.h.

#define RFC1533_IPTTL   23

Definition at line 51 of file bootp.h.

#define RFC1533_IPMTU   24

Definition at line 52 of file bootp.h.

#define RFC1533_IPMTUPLATEAU   25

Definition at line 53 of file bootp.h.

#define RFC1533_INTMTU   26

Definition at line 54 of file bootp.h.

#define RFC1533_INTLOCALSUBNETS   27

Definition at line 55 of file bootp.h.

#define RFC1533_INTBROADCAST   28

Definition at line 56 of file bootp.h.

#define RFC1533_INTICMPDISCOVER   29

Definition at line 57 of file bootp.h.

#define RFC1533_INTICMPRESPOND   30

Definition at line 58 of file bootp.h.

#define RFC1533_INTROUTEDISCOVER   31

Definition at line 59 of file bootp.h.

#define RFC1533_INTROUTESOLICIT   32

Definition at line 60 of file bootp.h.

#define RFC1533_INTSTATICROUTES   33

Definition at line 61 of file bootp.h.

#define RFC1533_LLTRAILERENCAP   34

Definition at line 62 of file bootp.h.

#define RFC1533_LLARPCACHETMO   35

Definition at line 63 of file bootp.h.

#define RFC1533_LLETHERNETENCAP   36

Definition at line 64 of file bootp.h.

#define RFC1533_TCPTTL   37

Definition at line 65 of file bootp.h.

#define RFC1533_TCPKEEPALIVETMO   38

Definition at line 66 of file bootp.h.

#define RFC1533_TCPKEEPALIVEGB   39

Definition at line 67 of file bootp.h.

#define RFC1533_NISDOMAIN   40

Definition at line 68 of file bootp.h.

#define RFC1533_NISSERVER   41

Definition at line 69 of file bootp.h.

#define RFC1533_NTPSERVER   42

Definition at line 70 of file bootp.h.

#define RFC1533_VENDOR   43

Definition at line 71 of file bootp.h.

#define RFC1533_NBNS   44

Definition at line 72 of file bootp.h.

#define RFC1533_NBDD   45

Definition at line 73 of file bootp.h.

#define RFC1533_NBNT   46

Definition at line 74 of file bootp.h.

#define RFC1533_NBSCOPE   47

Definition at line 75 of file bootp.h.

#define RFC1533_XFS   48

Definition at line 76 of file bootp.h.

#define RFC1533_XDM   49

Definition at line 77 of file bootp.h.

#define RFC2132_REQ_ADDR   50

Definition at line 79 of file bootp.h.

#define RFC2132_MSG_TYPE   53

Definition at line 80 of file bootp.h.

#define RFC2132_SRV_ID   54

Definition at line 81 of file bootp.h.

#define RFC2132_PARAM_LIST   55

Definition at line 82 of file bootp.h.

#define RFC2132_MAX_SIZE   57

Definition at line 83 of file bootp.h.

#define RFC2132_VENDOR_CLASS_ID   60

Definition at line 84 of file bootp.h.

#define RFC2132_CLIENT_ID   61

Definition at line 85 of file bootp.h.

#define RFC2132_TFTP_SERVER_NAME   66

Definition at line 86 of file bootp.h.

#define RFC2132_BOOTFILE_NAME   67

Definition at line 87 of file bootp.h.

#define RFC3004_USER_CLASS   77

Definition at line 88 of file bootp.h.

#define DHCPDISCOVER   1

Definition at line 164 of file bootp.h.

Referenced by create_fakedhcpdiscover(), and dhcp_msgtype_name().

#define DHCPOFFER   2

Definition at line 165 of file bootp.h.

Referenced by dhcp_msgtype_name(), dhcp_proxy_rx(), dhcp_request_rx(), and dhcp_rx_offer().

#define DHCPREQUEST   3

Definition at line 166 of file bootp.h.

Referenced by dhcp_msgtype_name().

#define DHCPACK   5

#define RFC1533_VENDOR_MAJOR   0

Definition at line 170 of file bootp.h.

#define RFC1533_VENDOR_MINOR   0

Definition at line 171 of file bootp.h.

#define RFC1533_VENDOR_MAGIC   128

Definition at line 173 of file bootp.h.

#define RFC1533_VENDOR_ADDPARM   129

Definition at line 174 of file bootp.h.

#define RFC1533_VENDOR_ETHDEV   130

Definition at line 175 of file bootp.h.

#define RFC1533_VENDOR_ETHERBOOT_ENCAP   150

Definition at line 177 of file bootp.h.

#define RFC1533_VENDOR_NIC_DEV_ID   175

Definition at line 183 of file bootp.h.

#define RFC1533_VENDOR_ARCH   177

Definition at line 184 of file bootp.h.

#define RFC1533_END   255

Definition at line 186 of file bootp.h.

#define BOOTP_VENDOR_LEN   64

Definition at line 188 of file bootp.h.

#define DHCP_OPT_LEN   312

Definition at line 190 of file bootp.h.


Generated on Tue Apr 6 20:01:47 2010 for gPXE by  doxygen 1.5.7.1