From 211307e3085dcb152d0b17bbcca43123ea6c508b Mon Sep 17 00:00:00 2001 From: Zakir Durumeric Date: Mon, 26 Aug 2013 07:59:54 -0400 Subject: [PATCH] adding types --- src/types.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/types.h diff --git a/src/types.h b/src/types.h new file mode 100644 index 0000000..f039b7b --- /dev/null +++ b/src/types.h @@ -0,0 +1,11 @@ +#include + +#ifndef TYPES_H_ +#define TYPES_H_ +typedef uint32_t ipaddr_n_t; // IPv4 address network order +typedef uint32_t ipaddr_h_t; // IPv4 address host order +typedef uint16_t port_n_t; // port network order +typedef uint16_t port_h_t; // port host order +typedef unsigned char macaddr_t; + +#endif