mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-15 12:27:50 +00:00
Added explicit timestamp packet type, for the revived timesynch support
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: packetbuf.h,v 1.1 2010/06/14 19:19:16 adamdunkels Exp $
|
* $Id: packetbuf.h,v 1.2 2010/12/16 22:41:43 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -330,6 +330,7 @@ struct packetbuf_addr {
|
|||||||
#define PACKETBUF_ATTR_PACKET_TYPE_DATA 0
|
#define PACKETBUF_ATTR_PACKET_TYPE_DATA 0
|
||||||
#define PACKETBUF_ATTR_PACKET_TYPE_ACK 1
|
#define PACKETBUF_ATTR_PACKET_TYPE_ACK 1
|
||||||
#define PACKETBUF_ATTR_PACKET_TYPE_STREAM 2
|
#define PACKETBUF_ATTR_PACKET_TYPE_STREAM 2
|
||||||
|
#define PACKETBUF_ATTR_PACKET_TYPE_TIMESTAMP 3
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
PACKETBUF_ATTR_NONE,
|
PACKETBUF_ATTR_NONE,
|
||||||
|
Reference in New Issue
Block a user