This is a low-level network debugging utility that utilizes raw packet i/o to construct and deconstruct tcp, udp, ipv4, arp, and icmp packets over ethernet.
Diff: util/types.h
- Revision:
- 4:88fc7fa58931
- Parent:
- 0:d494b853ce97
- Child:
- 6:66c4cd9073aa
--- a/util/types.h Tue Oct 12 06:14:19 2010 +0000 +++ b/util/types.h Tue Oct 12 06:21:05 2010 +0000 @@ -1,8 +1,13 @@ #ifndef TYPES_H #define TYPES_H +/// Unsigned 8 bit value typedef unsigned char u8; + +/// Unsigned 16 bit value typedef unsigned short u16; + +/// Unsigned 32 bit value typedef unsigned int u32; #endif \ No newline at end of file