#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/ipv4-list-routing-helper.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-module.h"
#include <cassert>
#include <fstream>
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
void | BindSock (Ptr< Socket > sock, Ptr< NetDevice > netdev) |
void | dstSocketRecv (Ptr< Socket > socket) |
void | SendStuff (Ptr< Socket > sock, Ipv4Address dstaddr, uint16_t port) |
void | srcSocketRecv (Ptr< Socket > socket) |
Definition at line 173 of file socket-bound-static-routing.cc.
Definition at line 198 of file socket-bound-static-routing.cc.
References ns3::InetSocketAddress::ConvertFrom(), NS_LOG_INFO, and SendStuff().
void SendStuff | ( | Ptr< Socket > | sock, |
Ipv4Address | dstaddr, | ||
uint16_t | port ) |
Definition at line 165 of file socket-bound-static-routing.cc.
References ns3::Create(), and port.
Referenced by dstSocketRecv().
Definition at line 179 of file socket-bound-static-routing.cc.
References ns3::InetSocketAddress::ConvertFrom(), ns3::InetSocketAddress::GetIpv4(), and NS_LOG_INFO.