A Discrete-Event Network Simulator
API
csma-raw-ip-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 "ns3/internet-apps-module.h"
#include "ns3/internet-module.h"
+ Include dependency graph for csma-raw-ip-socket.cc:

Go to the source code of this file.

Functions

static void SinkRx (Ptr< const Packet > p, const Address &ad)
 

Detailed Description

Usage

$ ./ns3 run "csma-raw-ip-socket [Program Options]"

Program Options

–dataRate
application dataRate (Kb/s) [10]

Definition in file csma-raw-ip-socket.cc.

Function Documentation

◆ SinkRx()

static void SinkRx ( Ptr< const Packet p,
const Address ad 
)
static

Definition at line 45 of file csma-raw-ip-socket.cc.