From 8225948ffdcb24eb1d7b9ee08b9afc62684de0bb Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Mon, 25 Aug 2014 09:34:17 +0200 Subject: [PATCH] [Doxygen] NetDevice small fix --- src/network/model/net-device.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/network/model/net-device.h b/src/network/model/net-device.h index 8ab7d2d48..5f7c33a68 100644 --- a/src/network/model/net-device.h +++ b/src/network/model/net-device.h @@ -293,12 +293,14 @@ public: * \returns true if the callback could handle the packet successfully, false * otherwise. */ - typedef Callback,Ptr,uint16_t,const Address &> ReceiveCallback; + typedef Callback< bool, Ptr, Ptr, uint16_t, const Address & > ReceiveCallback; /** * \param cb callback to invoke whenever a packet has been received and must * be forwarded to the higher layers. * + * Set the callback to be used to notify higher layers when a packet has been + * received. */ virtual void SetReceiveCallback (ReceiveCallback cb) = 0;