#include <iostream>#include <fstream>#include <string>#include <cassert>#include "ns3/core-module.h"#include "ns3/network-module.h"#include "ns3/internet-module.h"#include "ns3/point-to-point-module.h"#include "ns3/ipv4-static-routing-helper.h"#include "ns3/ipv4-list-routing-helper.h" Include dependency graph for socket-bound-static-routing.cc:
 Include dependency graph for socket-bound-static-routing.cc: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 183 of file socket-bound-static-routing.cc.
References ns3::Socket::BindToNetDevice().
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 208 of file socket-bound-static-routing.cc.
References first::address, ns3::InetSocketAddress::ConvertFrom(), ns3::Packet::GetSize(), NS_LOG_INFO, ns3::Socket::RecvFrom(), ns3::Packet::RemoveAllByteTags(), ns3::Packet::RemoveAllPacketTags(), and SendStuff().
 Here is the call graph for this function:
 Here is the call graph for this function:| void SendStuff | ( | Ptr< Socket > | sock, | 
| Ipv4Address | dstaddr, | ||
| uint16_t | port | ||
| ) | 
Definition at line 175 of file socket-bound-static-routing.cc.
References ns3::Packet::AddPaddingAtEnd(), port, and ns3::Socket::SendTo().
Referenced by dstSocketRecv().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 190 of file socket-bound-static-routing.cc.
References ns3::InetSocketAddress::ConvertFrom(), ns3::Socket::GetBoundNetDevice(), ns3::InetSocketAddress::GetIpv4(), ns3::Packet::GetSize(), NS_LOG_INFO, ns3::Socket::RecvFrom(), ns3::Packet::RemoveAllByteTags(), and ns3::Packet::RemoveAllPacketTags().
 Here is the call graph for this function:
 Here is the call graph for this function: