#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/applications-module.h"
Go to the source code of this file.
Functions | |
void | ClientEmbeddedObjectReceived (Ptr< const ThreeGppHttpClient >, Ptr< const Packet > packet) |
void | ClientMainObjectReceived (Ptr< const ThreeGppHttpClient >, Ptr< const Packet > packet) |
void | ClientRx (Ptr< const Packet > packet, const Address &address) |
void | EmbeddedObjectGenerated (uint32_t size) |
void | MainObjectGenerated (uint32_t size) |
void | ServerConnectionEstablished (Ptr< const ThreeGppHttpServer >, Ptr< Socket >) |
void | ServerTx (Ptr< const Packet > packet) |
void ClientEmbeddedObjectReceived | ( | Ptr< const ThreeGppHttpClient > | , |
Ptr< const Packet > | packet | ||
) |
Definition at line 80 of file three-gpp-http-example.cc.
References ns3::Packet::Copy(), ns3::ThreeGppHttpHeader::EMBEDDED_OBJECT, ns3::ThreeGppHttpHeader::GetContentLength(), ns3::ThreeGppHttpHeader::GetContentType(), ns3::Packet::GetSize(), NS_LOG_INFO, and ns3::Packet::RemoveHeader().
void ClientMainObjectReceived | ( | Ptr< const ThreeGppHttpClient > | , |
Ptr< const Packet > | packet | ||
) |
Definition at line 62 of file three-gpp-http-example.cc.
References ns3::Packet::Copy(), ns3::ThreeGppHttpHeader::GetContentLength(), ns3::ThreeGppHttpHeader::GetContentType(), ns3::Packet::GetSize(), ns3::ThreeGppHttpHeader::MAIN_OBJECT, NS_LOG_INFO, and ns3::Packet::RemoveHeader().
Definition at line 56 of file three-gpp-http-example.cc.
References first::address, ns3::Packet::GetSize(), and NS_LOG_INFO.
void EmbeddedObjectGenerated | ( | uint32_t | size | ) |
Definition at line 44 of file three-gpp-http-example.cc.
References NS_LOG_INFO.
void MainObjectGenerated | ( | uint32_t | size | ) |
Definition at line 38 of file three-gpp-http-example.cc.
References NS_LOG_INFO.
void ServerConnectionEstablished | ( | Ptr< const ThreeGppHttpServer > | , |
Ptr< Socket > | |||
) |
Definition at line 32 of file three-gpp-http-example.cc.
References NS_LOG_INFO.
Definition at line 50 of file three-gpp-http-example.cc.
References ns3::Packet::GetSize(), and NS_LOG_INFO.