|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
21 #ifndef EPC_GTPC_HEADER_H
22 #define EPC_GTPC_HEADER_H
24 #include "ns3/header.h"
25 #include "ns3/epc-tft.h"
26 #include "ns3/eps-bearer.h"
52 virtual void Print (std::ostream &os)
const;
245 virtual void Print (std::ostream &os)
const;
291 virtual void Print (std::ostream &os)
const;
334 virtual void Print (std::ostream &os)
const;
374 virtual void Print (std::ostream &os)
const;
399 virtual void Print (std::ostream &os)
const;
429 virtual void Print (std::ostream &os)
const;
454 virtual void Print (std::ostream &os)
const;
470 #endif // EPC_GTPC_HEADER_H
a unique identifier for an interface.
static TypeId GetTypeId(void)
Get the type ID.
void SetSenderCpFteid(GtpcHeader::Fteid_t fteid)
virtual uint32_t GetMessageSize(void) const
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
virtual uint32_t GetMessageSize(void) const
virtual uint32_t GetSerializedSize(void) const
GtpcHeader::Fteid_t sgwS5uFteid
FTEID.
std::list< BearerContext > m_bearerContexts
std::list< uint8_t > m_epsBearerIds
GtpcModifyBearerResponseMessage()
virtual void Print(std::ostream &os) const
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual void Serialize(Buffer::Iterator start) const
std::list< BearerContextToBeCreated > GetBearerContextsToBeCreated() const
static TypeId GetTypeId(void)
Get the type ID.
GtpcCreateSessionResponseMessage()
virtual void Print(std::ostream &os) const
virtual void Serialize(Buffer::Iterator start) const
virtual ~GtpcCreateSessionRequestMessage()
void SerializeImsi(Buffer::Iterator &i, uint64_t imsi) const
GtpcCreateSessionRequestMessage()
virtual void Serialize(Buffer::Iterator start) const
void SetBearerContextsToBeModified(std::list< BearerContextToBeModified > bearerContexts)
virtual uint32_t GetSerializedSize(void) const
void SetImsi(uint64_t imsi)
virtual uint32_t GetMessageSize(void) const
void WriteHtonU40(Buffer::Iterator &i, uint64_t data) const
GtpcModifyBearerRequestMessage()
void SetBearerContextsToBeCreated(std::list< BearerContextToBeCreated > bearerContexts)
EpsBearer bearerLevelQos
Bearer QOS level.
uint32_t GetUliEcgi() const
void SetEpsBearerIds(std::list< uint8_t > epsBearerIds)
Ipv4 addresses are stored in host order in this class.
std::list< uint8_t > GetEpsBearerIds() const
virtual void Print(std::ostream &os) const
const uint32_t serializedSizeBearerContextHeader
static TypeId GetTypeId(void)
Get the type ID.
void SetEpsBearerIds(std::list< uint8_t > epsBearerIds)
uint32_t DeserializeImsi(Buffer::Iterator &i, uint64_t &imsi)
const uint32_t serializedSizeImsi
uint32_t DeserializeBearerTft(Buffer::Iterator &i, Ptr< EpcTft > epcTft)
const uint32_t serializedSizeCause
void SerializeUliEcgi(Buffer::Iterator &i, uint32_t uliEcgi) const
static TypeId GetTypeId(void)
Get the type ID.
uint8_t epsBearerId
EPS bearer ID.
void SetImsi(uint64_t imsi)
GtpcHeader::Fteid_t GetSenderCpFteid() const
uint8_t epsBearerId
EPS bearer ID.
virtual uint32_t GetSerializedSize(void) const
virtual uint32_t GetMessageSize(void) const
virtual ~GtpcDeleteBearerResponseMessage()
void SerializeBearerTft(Buffer::Iterator &i, std::list< EpcTft::PacketFilter > packetFilters) const
Ptr< EpcTft > tft
Bearer traffic flow template.
Smart pointer class similar to boost::intrusive_ptr.
void SetSenderCpFteid(GtpcHeader::Fteid_t fteid)
virtual ~GtpcCreateSessionResponseMessage()
static TypeId GetTypeId(void)
Get the type ID.
std::list< BearerContextCreated > GetBearerContextsCreated() const
virtual ~GtpcDeleteBearerRequestMessage()
virtual uint32_t GetSerializedSize(void) const
virtual void Print(std::ostream &os) const
std::list< BearerContextToBeCreated > m_bearerContextsToBeCreated
virtual uint32_t GetSerializedSize(void) const
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
virtual void Serialize(Buffer::Iterator start) const
virtual ~GtpcDeleteBearerCommandMessage()
GtpcHeader::Fteid_t m_senderCpFteid
virtual void Serialize(Buffer::Iterator start) const
const uint32_t serializedSizeBearerQos
virtual void Serialize(Buffer::Iterator start) const
void SerializeFteid(Buffer::Iterator &i, GtpcHeader::Fteid_t fteid) const
void SetCause(Cause_t cause)
uint32_t GetSerializedSizeBearerTft(std::list< EpcTft::PacketFilter > packetFilters) const
void SetUliEcgi(uint32_t uliEcgi)
virtual void Print(std::ostream &os) const
void SerializeEbi(Buffer::Iterator &i, uint8_t epsBearerId) const
void SetCause(Cause_t cause)
std::list< uint8_t > GetEpsBearerIds() const
virtual void Print(std::ostream &os) const
void SetBearerContextsCreated(std::list< BearerContextCreated > bearerContexts)
uint32_t GetUliEcgi() const
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
GtpcHeader::Fteid_t GetSenderCpFteid() const
std::list< BearerContextCreated > m_bearerContextsCreated
GtpcHeader::Fteid_t fteid
FTEID.
EpsBearer bearerLevelQos
bearer QOS level
iterator in a Buffer instance
virtual uint32_t GetSerializedSize(void) const
virtual void Serialize(Buffer::Iterator start) const
std::list< BearerContextToBeModified > GetBearerContextsToBeModified() const
std::list< BearerContext > GetBearerContexts() const
GtpcDeleteBearerResponseMessage()
This class contains the specification of EPS Bearers.
void SerializeBearerQos(Buffer::Iterator &i, EpsBearer bearerQos) const
uint32_t DeserializeFteid(Buffer::Iterator &i, GtpcHeader::Fteid_t &fteid)
void SetCause(Cause_t cause)
static TypeId GetTypeId(void)
Get the type ID.
uint64_t ReadNtohU40(Buffer::Iterator &i)
virtual ~GtpcModifyBearerResponseMessage()
uint32_t DeserializeEbi(Buffer::Iterator &i, uint8_t &epsBearerId)
virtual uint32_t GetMessageSize(void) const
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Ptr< EpcTft > tft
traffic flow template
const uint32_t serializedSizePacketFilter
virtual void Print(std::ostream &os) const
uint8_t epsBearerId
EPS bearer ID.
uint32_t DeserializeUliEcgi(Buffer::Iterator &i, uint32_t &uliEcgi)
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
GtpcDeleteBearerRequestMessage()
void SerializeCause(Buffer::Iterator &i, Cause_t cause) const
std::list< BearerContextToBeModified > m_bearerContextsToBeModified
GtpcHeader::Fteid_t m_senderCpFteid
virtual uint32_t GetMessageSize(void) const
uint32_t DeserializeCause(Buffer::Iterator &i, Cause_t &cause)
GtpcHeader::Fteid_t fteid
FTEID.
GtpcDeleteBearerCommandMessage()
uint32_t DeserializeBearerQos(Buffer::Iterator &i, EpsBearer &bearerQos)
virtual uint32_t GetMessageSize(void) const
const uint32_t serializedSizeUliEcgi
void SetUliEcgi(uint32_t uliEcgi)
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
virtual uint32_t GetSerializedSize(void) const
uint32_t DeserializeBearerContextHeader(Buffer::Iterator &i, uint16_t &length)
static TypeId GetTypeId(void)
Get the type ID.
const uint32_t serializedSizeEbi
const uint32_t serializedSizeFteid
void SerializeBearerContextHeader(Buffer::Iterator &i, uint16_t length) const
virtual ~GtpcModifyBearerRequestMessage()
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
std::list< uint8_t > m_epsBearerIds
uint8_t m_epsBearerId
EPS bearer ID.
void SetBearerContexts(std::list< BearerContext > bearerContexts)