Add ARP cache helper

This commit is contained in:
Tim Schubert 2020-07-18 11:55:21 +02:00
parent 4628af9511
commit bbf9269a14
5 changed files with 95 additions and 1 deletions

23
helper/arp-cache-helper.h Normal file
View file

@ -0,0 +1,23 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#ifndef ARP_CACHE_HELPER_H
#define ARP_CACHE_HELPER_H
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/applications-module.h"
#include "ns3/node-container.h"
namespace ns3 {
class ArpCacheHelper
{
public:
void Install (NetDeviceContainer &devices, Ipv4InterfaceContainer &interfaces) const;
void Install (NetDeviceContainer &devicesSrc, NetDeviceContainer &devicesDst, Ipv4InterfaceContainer &interfaces) const;
};
}; /* namespace ns3 */
#endif /* ARP_CACHE_HELPER */