mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Added macro to identify address attributes for use in header processing modules
This commit is contained in:
parent
eb63cb21e0
commit
b7b2c8fcde
@ -40,7 +40,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: packetbuf.h,v 1.11 2010/04/30 07:25:51 adamdunkels Exp $
|
||||
* $Id: packetbuf.h,v 1.12 2010/05/27 20:28:29 nifi Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -376,6 +376,7 @@ enum {
|
||||
#define PACKETBUF_NUM_ATTRS (PACKETBUF_ATTR_MAX - PACKETBUF_NUM_ADDRS)
|
||||
#define PACKETBUF_ADDR_FIRST PACKETBUF_ADDR_SENDER
|
||||
|
||||
#define PACKETBUF_IS_ADDR(type) ((type) >= PACKETBUF_ADDR_FIRST)
|
||||
|
||||
#if PACKETBUF_CONF_ATTRS_INLINE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user