A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
socket-options-ipv4.cc File Reference
#include "ns3/core-module.h"
#include "ns3/csma-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include <fstream>
+ Include dependency graph for socket-options-ipv4.cc:

Go to the source code of this file.

Functions

void ReceivePacket (Ptr< Socket > socket)
 
static void SendPacket (Ptr< Socket > socket, uint32_t pktSize, uint32_t pktCount, Time pktInterval)
 

Function Documentation

◆ ReceivePacket()

void ReceivePacket ( Ptr< Socket > socket)

Definition at line 26 of file socket-options-ipv4.cc.

References ns3::SocketIpTosTag::GetTos(), ns3::SocketIpTtlTag::GetTtl(), and NS_LOG_INFO.

+ Here is the call graph for this function:

◆ SendPacket()

static void SendPacket ( Ptr< Socket > socket,
uint32_t pktSize,
uint32_t pktCount,
Time pktInterval )
static

Definition at line 43 of file socket-options-ipv4.cc.

References ns3::Create(), pktSize, ns3::Simulator::Schedule(), and SendPacket().

Referenced by SendPacket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: