src/node/net-device.h
changeset 451 3fe2c883cb47
parent 445 10cd9049a0ad
child 465 7f620ea278f4
--- a/src/node/net-device.h	Mon Apr 30 10:24:43 2007 +0200
+++ b/src/node/net-device.h	Mon Apr 30 10:37:22 2007 +0200
@@ -154,6 +154,8 @@
 
   bool NeedsArp (void) const;
 
+  void SetReceiveCallback (Callback<bool,NetDevice *,const Packet &,uint16_t> cb);
+
  protected:
   /**
    * Enable broadcast support. This method should be
@@ -238,6 +240,7 @@
   bool          m_isMulticast;
   bool          m_isPointToPoint;
   Callback<void> m_linkChangeCallback;
+  Callback<bool,NetDevice *,const Packet &,uint16_t> m_receiveCallback;
 };
 
 }; // namespace ns3