src/devices/point-to-point/point-to-point-channel.h
changeset 4263 fec2f830d015
parent 3181 26e7f865c548
child 4322 bad9eed19283
equal deleted inserted replaced
4244:7c98934dcccd 4263:fec2f830d015
    60    * \param device pointer to the netdevice to attach to the channel
    60    * \param device pointer to the netdevice to attach to the channel
    61    */
    61    */
    62   void Attach (Ptr<PointToPointNetDevice> device);
    62   void Attach (Ptr<PointToPointNetDevice> device);
    63 
    63 
    64   /**
    64   /**
    65    * \brief Attach a given netdevice to this channel
    65    * \brief Transmit a packet over this channel
    66    * \param p Packet to transmit
    66    * \param p Packet to transmit
    67    * \param src Source PointToPointNetDevice
    67    * \param src Source PointToPointNetDevice
    68    * \param txTime Transmit time to apply
    68    * \param txTime Transmit time to apply
       
    69    * \returns true if successful (currently always true)
    69    */
    70    */
    70   bool TransmitStart (Ptr<Packet> p, Ptr<PointToPointNetDevice> src,
    71   bool TransmitStart (Ptr<Packet> p, Ptr<PointToPointNetDevice> src, Time txTime);
    71     Time txTime);
       
    72 
    72 
    73   /**
    73   /**
    74    * \brief Get number of devices on this channel
    74    * \brief Get number of devices on this channel
    75    * \returns number of devices on this channel
    75    * \returns number of devices on this channel
    76    */
    76    */