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.
util/types.h@8:1c1f6ce348c6, 2010-10-12 (annotated)
- Committer:
- etherealflaim
- Date:
- Tue Oct 12 06:48:59 2010 +0000
- Revision:
- 8:1c1f6ce348c6
- Parent:
- 6:66c4cd9073aa
Documentation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
etherealflaim | 0:d494b853ce97 | 1 | #ifndef TYPES_H |
etherealflaim | 0:d494b853ce97 | 2 | #define TYPES_H |
etherealflaim | 0:d494b853ce97 | 3 | |
etherealflaim | 6:66c4cd9073aa | 4 | /** |
etherealflaim | 6:66c4cd9073aa | 5 | \file types.h |
etherealflaim | 6:66c4cd9073aa | 6 | \brief Type definitions |
etherealflaim | 6:66c4cd9073aa | 7 | |
etherealflaim | 6:66c4cd9073aa | 8 | This file contains some utility type definitions |
etherealflaim | 6:66c4cd9073aa | 9 | */ |
etherealflaim | 6:66c4cd9073aa | 10 | |
etherealflaim | 4:88fc7fa58931 | 11 | /// Unsigned 8 bit value |
etherealflaim | 0:d494b853ce97 | 12 | typedef unsigned char u8; |
etherealflaim | 4:88fc7fa58931 | 13 | |
etherealflaim | 4:88fc7fa58931 | 14 | /// Unsigned 16 bit value |
etherealflaim | 0:d494b853ce97 | 15 | typedef unsigned short u16; |
etherealflaim | 4:88fc7fa58931 | 16 | |
etherealflaim | 4:88fc7fa58931 | 17 | /// Unsigned 32 bit value |
etherealflaim | 0:d494b853ce97 | 18 | typedef unsigned int u32; |
etherealflaim | 0:d494b853ce97 | 19 | |
etherealflaim | 0:d494b853ce97 | 20 | #endif |