OLD | NEW |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software | 15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 * | 17 * |
18 * Author: Nicola Baldo <nbaldo@cttc.es> | 18 * Author: Nicola Baldo <nbaldo@cttc.es> |
19 */ | 19 */ |
20 | 20 |
21 #ifndef EPC_ENB_S1_SAP_H | 21 #ifndef EPC_ENB_S1_SAP_H |
22 #define EPC_ENB_S1_SAP_H | 22 #define EPC_ENB_S1_SAP_H |
23 | 23 |
24 #include <list> | 24 #include <list> |
25 #include <stdint.h> | 25 #include <stdint.h> |
26 #include <ns3/eps-bearer.h> | 26 #include <ns3/eps-bearer.h> |
27 #include <ns3/ipv4-address.h> | 27 #include <ns3/ipv4-address.h> |
| 28 #include <ns3/ipv6-address.h> |
28 | 29 |
29 namespace ns3 { | 30 namespace ns3 { |
30 | 31 |
31 | 32 |
32 /** | 33 /** |
33 * This class implements the Service Access Point (SAP) between the | 34 * This class implements the Service Access Point (SAP) between the |
34 * LteEnbRrc and the EpcEnbApplication. In particular, this class implements the | 35 * LteEnbRrc and the EpcEnbApplication. In particular, this class implements the |
35 * Provider part of the SAP, i.e., the methods exported by the | 36 * Provider part of the SAP, i.e., the methods exported by the |
36 * EpcEnbApplication and called by the LteEnbRrc. | 37 * EpcEnbApplication and called by the LteEnbRrc. |
37 *· | 38 *· |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 *· | 105 *· |
105 */ | 106 */ |
106 struct DataRadioBearerSetupRequestParameters | 107 struct DataRadioBearerSetupRequestParameters |
107 { | 108 { |
108 uint16_t rnti; /**< the RNTI identifying the UE for which the | 109 uint16_t rnti; /**< the RNTI identifying the UE for which the |
109 DataRadioBearer is to be created */· | 110 DataRadioBearer is to be created */· |
110 EpsBearer bearer; /**< the characteristics of the bearer to be set | 111 EpsBearer bearer; /**< the characteristics of the bearer to be set |
111 up */ | 112 up */ |
112 uint8_t bearerId; /**< the EPS Bearer Identifier */ | 113 uint8_t bearerId; /**< the EPS Bearer Identifier */ |
113 uint32_t gtpTeid; /**< S1-bearer GTP tunnel endpoint identifier, see 36.4
23 9.2.1 */ | 114 uint32_t gtpTeid; /**< S1-bearer GTP tunnel endpoint identifier, see 36.4
23 9.2.1 */ |
114 Ipv4Address transportLayerAddress; /**< IP Address of the SGW, see 36.423 9.
2.1 */ | 115 Ipv4Address transportLayerAddress; /**< IPv4 Address of the SGW, see 36.423
9.2.1 */ |
| 116 Ipv6Address transportLayerAddressV6; /**< IPv6 Address of the SGW */ |
115 }; | 117 }; |
116 | 118 |
117 /** | 119 /** |
118 * request the setup of a DataRadioBearer | 120 * request the setup of a DataRadioBearer |
119 *· | 121 *· |
120 */ | 122 */ |
121 virtual void DataRadioBearerSetupRequest (DataRadioBearerSetupRequestParameter
s params) = 0; | 123 virtual void DataRadioBearerSetupRequest (DataRadioBearerSetupRequestParameter
s params) = 0; |
122 | 124 |
123 ·· | 125 ·· |
124 struct PathSwitchRequestAcknowledgeParameters | 126 struct PathSwitchRequestAcknowledgeParameters |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 233 |
232 template <class C> | 234 template <class C> |
233 void MemberEpcEnbS1SapUser<C>::PathSwitchRequestAcknowledge (PathSwitchRequestAc
knowledgeParameters params) | 235 void MemberEpcEnbS1SapUser<C>::PathSwitchRequestAcknowledge (PathSwitchRequestAc
knowledgeParameters params) |
234 { | 236 { |
235 m_owner->DoPathSwitchRequestAcknowledge (params); | 237 m_owner->DoPathSwitchRequestAcknowledge (params); |
236 } | 238 } |
237 | 239 |
238 } // namespace ns3 | 240 } // namespace ns3 |
239 | 241 |
240 #endif // EPC_ENB_S1_SAP_H | 242 #endif // EPC_ENB_S1_SAP_H |
OLD | NEW |