42 void uipbuf_clear(
void);
49 bool uipbuf_add_ext_hdr(int16_t len);
56 bool uipbuf_set_len(uint16_t len);
63 void uipbuf_set_len_field(
struct uip_ip_hdr *hdr, uint16_t len);
70 uint16_t uipbuf_get_len_field(
struct uip_ip_hdr *hdr);
82 uint8_t *uipbuf_get_next_header(uint8_t *buffer, uint16_t size, uint8_t *protocol,
bool start);
94 uint8_t *uipbuf_get_last_header(uint8_t *buffer, uint16_t size, uint8_t *protocol);
105 uint8_t *uipbuf_search_header(uint8_t *buffer, uint16_t size, uint8_t protocol);
114 uint16_t uipbuf_get_attr(uint8_t type);
126 int uipbuf_set_attr(uint8_t type, uint16_t value);
137 int uipbuf_set_default_attr(uint8_t type, uint16_t value);
145 void uipbuf_set_attr_flag(uint16_t flag_bits);
153 void uipbuf_clr_attr_flag(uint16_t flag_bits);
162 uint16_t uipbuf_is_attr_flag(uint16_t flag_bits);
171 void uipbuf_clear_attr(
void);
179 void uipbuf_init(
void);
186 #define UIPBUF_ATTR_FLAGS_6LOWPAN_NO_NHC_COMPRESSION 0x01 188 #define UIPBUF_ATTR_FLAGS_6LOWPAN_NO_PREFIX_COMPRESSION 0x02 191 #define UIPBUF_ATTR_LLSEC_LEVEL_MAC_DEFAULT 0xffff 198 UIPBUF_ATTR_LLSEC_LEVEL,
199 UIPBUF_ATTR_LLSEC_KEY_ID,
200 UIPBUF_ATTR_INTERFACE_ID,
201 UIPBUF_ATTR_PHYSICAL_NETWORK_ID,
202 UIPBUF_ATTR_MAX_MAC_TRANSMISSIONS,
static void start(void)
Start measurement.