the protocol number field is a 16 bit integer, not a 32 bit integer

This commit is contained in:
Mathieu Lacage committed 2007-08-24 10:33:58 +02:00
1 parent d8b046a69f
commit 2ee1d5fca6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -197,7 +197,7 @@ NetDevice::GetChannel (void) const
// Receive packets from below
bool
NetDevice::ForwardUp(const Packet& p, uint32_t param, const Address &from)
NetDevice::ForwardUp(const Packet& p, uint16_t param, const Address &from)
{
bool retval = false;
+1 -1
View File
@@ -251,7 +251,7 @@ public:
* forwards it to the higher layers by calling this method
* which is responsible for passing it up to the Rx callback.
*/
bool ForwardUp (const Packet& p, uint32_t param, const Address &address);
bool ForwardUp (const Packet& p, uint16_t param, const Address &address);
/**