Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

types.h

Go to the documentation of this file.
00001 /*
00002  * Active Router Transport Protocol (ARTP) implementation
00003  * Copyright (c) 2004, Tomas Rebok
00004  * All rights reserved.
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the "BSD License" which is
00008  * distributed with the software in the file LICENSE.
00009  *
00010  * This program is distributed in the hope that it will be useful, but
00011  * WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the BSD
00013  * License for more details.
00014  */
00015 
00023 #ifndef ARTP_TYPES_H
00024 #define ARTP_TYPES_H   1
00025 
00026 
00028 #define OPTS_OPTID_TYPE uint16_t
00029 
00031 #define OPTS_SZ_TYPE uint16_t
00032 
00034 #define SIGSZ_TYPE uint32_t
00035 
00037 #define ENCDATA_SIZE_TYPE uint32_t
00038 
00040 #define DSEQ_TYPE uint32_t
00041 
00043 #define CTRL_OPTID_TYPE uint8_t
00044 
00046 #define CTRL_SZ_TYPE uint16_t
00047 
00049 #define CTRL_VALUE_SZ_TYPE int
00050 
00052 #define SID_TYPE uint8_t
00053 
00055 #define SID_MAX UINT8_MAX
00056 
00058 #define SEQ_TYPE uint32_t
00059 
00061 #define SEQ_MAX UINT32_MAX
00062 
00064 #define TS_TYPE uint32_t
00065 
00067 #define OPTSZ_TYPE uint16_t
00068 
00070 #define FRAGMENTS_TYPE uint16_t
00071 
00073 #define MSS_TYPE uint16_t
00074 
00076 #define MAX_DGRAM_LEN_TYPE uint32_t
00077 
00079 #define RETR_TIMEOUT_TYPE uint16_t
00080 
00081 
00082 #endif
00083 
00084 /* vim: set ts=4 : */

Generated on Fri May 21 07:50:24 2004 for Active Router Transport Protocol (ARTP) by doxygen1.2.15