Moved packet attributes specifications from rimebuf.h to the appropriate protocol header files

This commit is contained in:
adamdunkels 2009-01-15 22:15:51 +00:00
parent e70b45c102
commit 71e5adb254
6 changed files with 28 additions and 28 deletions

View file

@ -48,7 +48,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: rmh.h,v 1.5 2008/07/03 21:52:25 adamdunkels Exp $
* $Id: rmh.h,v 1.6 2009/01/15 22:15:51 adamdunkels Exp $
*/
/**
@ -66,6 +66,12 @@
struct rmh_conn;
#define RMH_ATTRIBUTES { PACKET_ADDR_ESENDER, PACKET_ADDRSIZE }, \
{ PACKET_ADDR_ERECEIVER, PACKET_ADDRSIZE }, \
{ PACKET_ATTR_TTL, PACKET_ATTR_BIT * 5 }, \
{ PACKET_ATTR_MAX_REXMIT, PACKET_ATTR_BIT * 5 }, \
RUC_ATTRIBUTES
struct rmh_callbacks {
void (* recv)(struct rmh_conn *ptr, rimeaddr_t *sender, uint8_t hops);
rimeaddr_t *(* forward)(struct rmh_conn *ptr,