FreeCalypso > hg > fc-magnetite
comparison src/g23m-fad/tcpip/rnet/rnet_atp_info.h @ 174:90eb61ecd093
src/g23m-fad: initial import from TCS3.2/LoCosto
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 12 Oct 2016 05:40:46 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
173:bf64d785238a | 174:90eb61ecd093 |
---|---|
1 /** | |
2 * @file rnet_atp_info.h | |
3 * | |
4 * ATP point-to-point network interface for RNET_RT | |
5 * Custom information | |
6 * | |
7 * @author Regis Feneon | |
8 * @version 0.1 | |
9 */ | |
10 | |
11 /* | |
12 * $Id: rnet_atp_info.h,v 1.1 2002/09/06 08:39:52 rf Exp $ | |
13 * $Name: $ | |
14 * | |
15 * History: | |
16 * | |
17 * Date Author Modification | |
18 * -------------------------------------------------- | |
19 * 6/9/2002 Regis Feneon Create | |
20 * | |
21 */ | |
22 #include "rnet_cfg.h" | |
23 #ifdef RNET_CFG_REAL_TRANSPORT | |
24 | |
25 #ifndef __RNET_RT_ATP_INFO_H_ | |
26 #define __RNET_RT_ATP_INFO_H_ | |
27 | |
28 #include "rnet_ip_addr.h" | |
29 #include "dcfg_api.h" | |
30 | |
31 #define RNET_RT_ATP_MTU 1500 | |
32 | |
33 /** ATP custom information */ | |
34 typedef struct { | |
35 | |
36 T_ATP_CUSTOM_TYPE custom_type; | |
37 /** local (MS) IP address */ | |
38 T_RNET_IP_ADDR local_addr; | |
39 /** destination (GGSN) IP address, this is also the default router */ | |
40 T_RNET_IP_ADDR dest_addr; | |
41 /** maximum transmission unit */ | |
42 UINT16 mtu; | |
43 /** primary DNS server address */ | |
44 T_RNET_IP_ADDR dns1; | |
45 /** secondary DNS server address */ | |
46 T_RNET_IP_ADDR dns2; | |
47 /* Identity of the user of the channel */ | |
48 T_APPLI_USER IPU_id; | |
49 } T_RNET_RT_ATP_CUSTOM_INFO; | |
50 | |
51 #endif | |
52 #endif | |
53 |