FreeCalypso > hg > fc-tourmaline
comparison src/g23m-fad/tcpip/rnet/rnet_rt/rnet_rt_atp_i.h @ 1:fa8dc04885d8
src/g23m-*: import from Magnetite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 16 Oct 2020 06:25:50 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:4e78acac3d88 | 1:fa8dc04885d8 |
|---|---|
| 1 /** | |
| 2 * @file rnet_rt_atp_i.h | |
| 3 * | |
| 4 * ATP point-to-point network interface for RNET_RT | |
| 5 * | |
| 6 * @author Regis Feneon | |
| 7 * @version 0.1 | |
| 8 */ | |
| 9 | |
| 10 /* | |
| 11 * $Id: rnet_rt_atp_i.h,v 1.3 2002/10/30 15:23:34 rf Exp $ | |
| 12 * $Name: ti_20021030 $ | |
| 13 * | |
| 14 * History: | |
| 15 * | |
| 16 * Date Author Modification | |
| 17 * -------------------------------------------------- | |
| 18 * 5/6/2002 Regis Feneon Create | |
| 19 * 6/9/2002 Regis Feneon moved structure | |
| 20 * T_RNET_RT_ATP_CUSTOM_INFO to rnet_atp_info.h | |
| 21 * (C) Copyright 2002 by TI, All Rights Reserved | |
| 22 * | |
| 23 */ | |
| 24 | |
| 25 #include "rnet_cfg.h" | |
| 26 #ifdef RNET_CFG_REAL_TRANSPORT | |
| 27 | |
| 28 #ifndef __RNET_RT_ATP_I_H_ | |
| 29 #define __RNET_RT_ATP_I_H_ | |
| 30 | |
| 31 #include "rnet_rt_i.h" | |
| 32 #include "atp_api.h" | |
| 33 #include "rnet_atp_info.h" | |
| 34 | |
| 35 /** default MTU */ | |
| 36 //#define RNET_RT_ATP_MTU 1500 | |
| 37 | |
| 38 /** Network interface data */ | |
| 39 typedef struct { | |
| 40 /** generic NexGenIP network interface */ | |
| 41 NGifnet atp_ifnet; | |
| 42 /** ATP specific data: */ | |
| 43 T_ATP_SW_ENTITY_ID atp_sw_id; | |
| 44 T_ATP_PORT_NB atp_port_nb; | |
| 45 /** client SWE */ | |
| 46 T_ATP_SW_ENTITY_ID atp_client_sw_id; | |
| 47 T_ATP_PORT_NB atp_client_port_nb; | |
| 48 } T_RNET_RT_ATP_IFNET; | |
| 49 | |
| 50 /** Network Driver */ | |
| 51 extern const NGnetdrv rnet_rt_netdrv_atp; | |
| 52 | |
| 53 #endif | |
| 54 | |
| 55 #endif /* ifdef RNET_CFG_REAL_TRANSPORT */ | |
| 56 |
