equal
deleted
inserted
replaced
29 #include <ns3/traced-callback.h> |
29 #include <ns3/traced-callback.h> |
30 #include <ns3/callback.h> |
30 #include <ns3/callback.h> |
31 #include <ns3/ptr.h> |
31 #include <ns3/ptr.h> |
32 #include <ns3/object.h> |
32 #include <ns3/object.h> |
33 #include <ns3/eps-bearer.h> |
33 #include <ns3/eps-bearer.h> |
34 #include <ns3/lte-tft.h> |
34 #include <ns3/epc-tft.h> |
35 #include <ns3/eps-tft-classifier.h> |
35 #include <ns3/eps-tft-classifier.h> |
36 #include <ns3/lte-common.h> |
36 #include <ns3/lte-common.h> |
37 #include <ns3/application.h> |
37 #include <ns3/application.h> |
38 #include <map> |
38 #include <map> |
39 |
39 |
78 * the eNB via the S1-U interface |
78 * the eNB via the S1-U interface |
79 * \param tft the Traffic Flow Template related to this bearer |
79 * \param tft the Traffic Flow Template related to this bearer |
80 * |
80 * |
81 * \return the TunnelEndpointIdentifier of this EPS bearer |
81 * \return the TunnelEndpointIdentifier of this EPS bearer |
82 */ |
82 */ |
83 uint32_t ActivateS1Bearer (Ipv4Address ueAddr, Ipv4Address enbAddr, Ptr<LteTft> tft); |
83 uint32_t ActivateS1Bearer (Ipv4Address ueAddr, Ipv4Address enbAddr, Ptr<EpcTft> tft); |
84 |
84 |
85 |
85 |
86 /** |
86 /** |
87 * Method to be assigned to the callback of the Gi TUN VirtualNetDevice. It |
87 * Method to be assigned to the callback of the Gi TUN VirtualNetDevice. It |
88 * is called when the SGW/PGW receives a data packet from the |
88 * is called when the SGW/PGW receives a data packet from the |
140 /** |
140 /** |
141 * |
141 * |
142 * \param tft the Traffic Flow Template of the new bearer to be added |
142 * \param tft the Traffic Flow Template of the new bearer to be added |
143 * \param teid the TEID of the new bearer |
143 * \param teid the TEID of the new bearer |
144 */ |
144 */ |
145 void AddBearer (Ptr<LteTft> tft, uint32_t teid); |
145 void AddBearer (Ptr<EpcTft> tft, uint32_t teid); |
146 |
146 |
147 /** |
147 /** |
148 * |
148 * |
149 * |
149 * |
150 * \param p the IP packet from the internet to be classified |
150 * \param p the IP packet from the internet to be classified |