== Description ==
 
== Description ==
void packetbuf_clear(void);
+
struct packetbuf_attr packetbuf_attrs[PACKETBUF_NUM_ATTRS];
 +
struct packetbuf_addr packetbuf_addrs[PACKETBUF_NUM_ADDRS];
   −
/**
  −
* \brief      Clear and reset the header of the packetbuf
  −
*
  −
*            This function clears the header of the packetbuf and
  −
*            resets all the internal state pointers pertaining to
  −
*            the header (header size, header pointer, but not
  −
*            external data pointer). It is used before after sending
  −
*            a packet in the packetbuf, to be able to reuse the
  −
*            packet buffer for a later retransmission.
  −
*
  −
*/
  −
void packetbuf_clear_hdr(void);
     −
void packetbuf_hdr_remove(int bytes);
+
static uint16_t buflen, bufptr;
 +
static uint8_t hdrptr;
   Exception encountered, of type "Error"