1.1 --- a/src/devices/tap-net-device/tap-net-device.h Sat May 30 17:37:38 2009 +0100
1.2 +++ b/src/devices/tap-net-device/tap-net-device.h Tue Jun 02 18:35:05 2009 +0100
1.3 @@ -51,6 +51,10 @@
1.4 class TapNetDevice : public NetDevice
1.5 {
1.6 public:
1.7 + /**
1.8 + * Callback the be invoked when the TapNetDevice is asked to queue/transmit a packet.
1.9 + * For more information, consult the documentation of NetDevice::SendFrom().
1.10 + */
1.11 typedef Callback<bool, Ptr<Packet>, const Address&, const Address&, uint16_t> SendFromCallback;
1.12
1.13 static TypeId GetTypeId (void);
1.14 @@ -87,7 +91,7 @@
1.15
1.16
1.17 /**
1.18 - * \param p packet sent from below up to Network Device
1.19 + * \param packet packet sent from below up to Network Device
1.20 * \param protocol Protocol type
1.21 * \param source the address of the sender of this packet.
1.22 * \returns true if the packet was forwarded successfully,
1.23 @@ -100,7 +104,7 @@
1.24
1.25
1.26 /**
1.27 - * \param p packet sent from below up to Network Device
1.28 + * \param packet packet sent from below up to Network Device
1.29 * \param protocol Protocol type
1.30 * \param source the address of the sender of this packet.
1.31 * \param destination the address of the receiver of this packet.