Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(516)

Unified Diff: src/internet/model/arp-l3-protocol.h

Issue 284530043: Introduce the traffic control layer (Closed)
Patch Set: Use DoInitialize to check config and initialize queue discs Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/internet/model/arp-l3-protocol.h
===================================================================
--- a/src/internet/model/arp-l3-protocol.h
+++ b/src/internet/model/arp-l3-protocol.h
@@ -21,7 +21,7 @@
#define ARP_L3_PROTOCOL_H
#include <list>
-#include "ns3/ipv4-address.h"
+#include "ns3/ipv4-header.h"
#include "ns3/net-device.h"
#include "ns3/address.h"
#include "ns3/ptr.h"
@@ -87,13 +87,14 @@
/**
* \brief Perform an ARP lookup
* \param p the packet
+ * \param ipHeader the IPv4 header
* \param destination destination IP address
* \param device outgoing device
* \param cache ARP cache
* \param hardwareDestination filled with the destination MAC address (if the entry exists)
* \return true if there is a matching ARP Entry
*/
- bool Lookup (Ptr<Packet> p, Ipv4Address destination,
+ bool Lookup (Ptr<Packet> p, const Ipv4Header & ipHeader, Ipv4Address destination,
Ptr<NetDevice> device,
Ptr<ArpCache> cache,
Address *hardwareDestination);

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b