src/devices/wifi/mac-high-nqap.h
changeset 2159 20f882e85b4a
parent 2089 f6d8dea92b39
child 2285 7c716f6fc4de
--- a/src/devices/wifi/mac-high-nqap.h	Thu Nov 22 10:44:48 2007 +0100
+++ b/src/devices/wifi/mac-high-nqap.h	Thu Nov 22 14:27:22 2007 +0100
@@ -37,7 +37,7 @@
 
 class MacHighNqap {
 public:
-  typedef Callback<void, Packet, const Mac48Address &> ForwardCallback;
+  typedef Callback<void, Ptr<Packet>, const Mac48Address &> ForwardCallback;
 
   MacHighNqap ();
   ~MacHighNqap ();
@@ -50,13 +50,13 @@
   void SetForwardCallback (ForwardCallback callback);
   void SetBeaconInterval (Time interval);
 
-  void Queue (Packet packet, Mac48Address to);
+  void Queue (Ptr<const Packet> packet, Mac48Address to);
 
   void StartBeaconing (void);
 
-  void Receive (Packet packet, WifiMacHeader const *hdr);
+  void Receive (Ptr<Packet> packet, WifiMacHeader const *hdr);
 private:
-  void ForwardDown (Packet packet, Mac48Address from, Mac48Address to);
+  void ForwardDown (Ptr<const Packet> packet, Mac48Address from, Mac48Address to);
   void TxOk (WifiMacHeader const &hdr);
   void TxFailed (WifiMacHeader const &hdr);
   void SendProbeResp (Mac48Address to);