ReactOS  0.4.15-dev-3442-gc05a45e
datatypes.h
Go to the documentation of this file.
1 #ifndef DATATYPES_H
2 #define DATATYPES_H
3 
4 typedef unsigned char u8b;
5 typedef unsigned short u16b;
6 typedef unsigned int u32b;
7 
8 typedef struct{
9  u8b op;
20  u8b chaddr[16];
21  u8b sname[64];
22  u8b file[128];
23  u8b options[312];
24 } DHCPMESSAGE;
25 
26 typedef struct{
32  char *hostname;
33 } DHCPOPTIONS;
34 
35 typedef struct{
41 } DHCPLEASE;
42 
43 struct _DHCPLIST{
46  u8b chaddr[16];
50  struct _DHCPLIST *next;
51  struct _DHCPLIST *back;
52 };
53 
54 typedef struct _DHCPLIST DHCPLIST;
55 
56 #endif
u32b r_ip
Definition: datatypes.h:28
u32b ip
Definition: datatypes.h:36
u16b secs
Definition: datatypes.h:14
u32b siaddr
Definition: datatypes.h:18
u32b yiaddr
Definition: datatypes.h:17
u32b xid
Definition: datatypes.h:13
u32b mask
Definition: datatypes.h:38
u32b r_mask
Definition: datatypes.h:29
u32b lease
Definition: datatypes.h:39
u16b flags
Definition: datatypes.h:15
u32b ciaddr
Definition: datatypes.h:16
u32b siaddr
Definition: datatypes.h:40
u32b router
Definition: datatypes.h:37
u32b giaddr
Definition: datatypes.h:19
u32b ltime
Definition: datatypes.h:48
u8b available
Definition: datatypes.h:44
u32b xid
Definition: datatypes.h:45
DHCPLEASE data
Definition: datatypes.h:49
unsigned int u32b
Definition: datatypes.h:6
u8b type
Definition: datatypes.h:47
struct _DHCPLIST * next
Definition: datatypes.h:50
u8b chaddr[16]
Definition: datatypes.h:46
unsigned short u16b
Definition: datatypes.h:5
u32b r_router
Definition: datatypes.h:30
u32b r_lease
Definition: datatypes.h:31
struct _DHCPLIST * back
Definition: datatypes.h:51
unsigned char u8b
Definition: datatypes.h:4
char * hostname
Definition: datatypes.h:32
Definition: fci.c:126