A Discrete-Event Network Simulator
csma-packet-socket.cc File Reference
#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/csma-module.h"
#include "ns3/applications-module.h"
+ Include dependency graph for csma-packet-socket.cc:

Go to the source code of this file.


static void SinkRx (std::string path, Ptr< const Packet > p, const Address &address)


std::ofstream g_os

Function Documentation

◆ SinkRx()

static void SinkRx ( std::string  path,
Ptr< const Packet p,
const Address address 

Definition at line 47 of file csma-packet-socket.cc.

References g_os, and ns3::Packet::GetSize().

+ Here is the call graph for this function:

Variable Documentation

◆ g_os

std::ofstream g_os

Definition at line 42 of file csma-packet-socket.cc.

Referenced by SinkRx().