===void packetbuf_clear_hdr(void)===
 
===void packetbuf_clear_hdr(void)===
This function only resets the header field of the packet buffer.This function 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.
+
This function only resets the header field of the packet buffer.This function resets all the internal state pointers pertaining to the header (header size, header pointer, but not external data pointer). It is used after sending a packet in the packetbuf, to be able to reuse the packet buffer for a later retransmission.
 
  hdrptr = PACKETBUF_HDR_SIZE;
 
  hdrptr = PACKETBUF_HDR_SIZE;
Exception encountered, of type "Error"