ReactOS
0.4.16-dev-250-g3ecd236
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
;
10
u8b
htype
;
11
u8b
hlen
;
12
u8b
hops
;
13
u32b
xid
;
14
u16b
secs
;
15
u16b
flags
;
16
u32b
ciaddr
;
17
u32b
yiaddr
;
18
u32b
siaddr
;
19
u32b
giaddr
;
20
u8b
chaddr[16];
21
u8b
sname[64];
22
u8b
file
[128];
23
u8b
options
[312];
24
}
DHCPMESSAGE
;
25
26
typedef
struct
{
27
u8b
type
;
28
u32b
r_ip
;
29
u32b
r_mask
;
30
u32b
r_router
;
31
u32b
r_lease
;
32
char
*
hostname
;
33
}
DHCPOPTIONS
;
34
35
typedef
struct
{
36
u32b
ip
;
37
u32b
router
;
38
u32b
mask
;
39
u32b
lease
;
40
u32b
siaddr
;
41
}
DHCPLEASE
;
42
43
struct
_DHCPLIST
{
44
u8b
available
;
45
u32b
xid
;
46
u8b
chaddr
[16];
47
u8b
type
;
48
u32b
ltime
;
49
DHCPLEASE
data
;
50
struct
_DHCPLIST
*
next
;
51
struct
_DHCPLIST
*
back
;
52
};
53
54
typedef
struct
_DHCPLIST
DHCPLIST
;
55
56
#endif
u32b
unsigned int u32b
Definition:
datatypes.h:6
u8b
unsigned char u8b
Definition:
datatypes.h:4
u16b
unsigned short u16b
Definition:
datatypes.h:5
DHCPLEASE
Definition:
datatypes.h:35
DHCPLEASE::lease
u32b lease
Definition:
datatypes.h:39
DHCPLEASE::siaddr
u32b siaddr
Definition:
datatypes.h:40
DHCPLEASE::router
u32b router
Definition:
datatypes.h:37
DHCPLEASE::ip
u32b ip
Definition:
datatypes.h:36
DHCPLEASE::mask
u32b mask
Definition:
datatypes.h:38
DHCPMESSAGE
Definition:
datatypes.h:8
DHCPMESSAGE::yiaddr
u32b yiaddr
Definition:
datatypes.h:17
DHCPMESSAGE::ciaddr
u32b ciaddr
Definition:
datatypes.h:16
DHCPMESSAGE::secs
u16b secs
Definition:
datatypes.h:14
DHCPMESSAGE::siaddr
u32b siaddr
Definition:
datatypes.h:18
DHCPMESSAGE::xid
u32b xid
Definition:
datatypes.h:13
DHCPMESSAGE::hlen
u8b hlen
Definition:
datatypes.h:11
DHCPMESSAGE::flags
u16b flags
Definition:
datatypes.h:15
DHCPMESSAGE::op
u8b op
Definition:
datatypes.h:9
DHCPMESSAGE::hops
u8b hops
Definition:
datatypes.h:12
DHCPMESSAGE::giaddr
u32b giaddr
Definition:
datatypes.h:19
DHCPMESSAGE::htype
u8b htype
Definition:
datatypes.h:10
DHCPOPTIONS
Definition:
datatypes.h:26
DHCPOPTIONS::r_ip
u32b r_ip
Definition:
datatypes.h:28
DHCPOPTIONS::r_mask
u32b r_mask
Definition:
datatypes.h:29
DHCPOPTIONS::type
u8b type
Definition:
datatypes.h:27
DHCPOPTIONS::r_router
u32b r_router
Definition:
datatypes.h:30
DHCPOPTIONS::hostname
char * hostname
Definition:
datatypes.h:32
DHCPOPTIONS::r_lease
u32b r_lease
Definition:
datatypes.h:31
_DHCPLIST
Definition:
datatypes.h:43
_DHCPLIST::back
struct _DHCPLIST * back
Definition:
datatypes.h:51
_DHCPLIST::data
DHCPLEASE data
Definition:
datatypes.h:49
_DHCPLIST::next
struct _DHCPLIST * next
Definition:
datatypes.h:50
_DHCPLIST::type
u8b type
Definition:
datatypes.h:47
_DHCPLIST::xid
u32b xid
Definition:
datatypes.h:45
_DHCPLIST::available
u8b available
Definition:
datatypes.h:44
_DHCPLIST::ltime
u32b ltime
Definition:
datatypes.h:48
_DHCPLIST::chaddr
u8b chaddr[16]
Definition:
datatypes.h:46
file
Definition:
fci.c:127
options
Definition:
btrfslib.c:113
modules
rosapps
applications
net
dhcpd
src
include
datatypes.h
Generated on Fri Nov 8 2024 06:06:18 for ReactOS by
1.9.6