src/wifi/model/wifi-net-device.h
changeset 10459 f2e90c12a44f
parent 10202 d32ee5f55fdb
child 10483 e3a02ed14587
equal deleted inserted replaced
10458:20987b07dbd4 10459:f2e90c12a44f
   107   virtual Address GetMulticast (Ipv6Address addr) const;
   107   virtual Address GetMulticast (Ipv6Address addr) const;
   108 
   108 
   109   virtual bool SendFrom (Ptr<Packet> packet, const Address& source, const Address& dest, uint16_t protocolNumber);
   109   virtual bool SendFrom (Ptr<Packet> packet, const Address& source, const Address& dest, uint16_t protocolNumber);
   110   virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb);
   110   virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb);
   111   virtual bool SupportsSendFrom (void) const;
   111   virtual bool SupportsSendFrom (void) const;
   112 
   112 protected:
       
   113    virtual void DoDispose (void);
       
   114    virtual void DoInitialize (void);
       
   115    void ForwardUp (Ptr<Packet> packet, Mac48Address from, Mac48Address to);
   113 private:
   116 private:
   114   // This value conforms to the 802.11 specification
   117   // This value conforms to the 802.11 specification
   115   static const uint16_t MAX_MSDU_SIZE = 2304;
   118   static const uint16_t MAX_MSDU_SIZE = 2304;
   116 
   119 
   117   virtual void DoDispose (void);
       
   118   virtual void DoInitialize (void);
       
   119   void ForwardUp (Ptr<Packet> packet, Mac48Address from, Mac48Address to);
       
   120   void LinkUp (void);
   120   void LinkUp (void);
   121   void LinkDown (void);
   121   void LinkDown (void);
   122   Ptr<WifiChannel> DoGetChannel (void) const;
   122   Ptr<WifiChannel> DoGetChannel (void) const;
   123   void CompleteConfig (void);
   123   void CompleteConfig (void);
   124 
   124