Home
last modified time | relevance | path

Searched refs:lowpan6_header_len (Results 1 – 4 of 4) sorted by relevance

/third_party/lwip/src/netif/
Dlowpan6_common.c137 u8_t lowpan6_header_len; in lowpan6_compress_headers() local
170 lowpan6_header_len = 2; in lowpan6_compress_headers()
196 lowpan6_header_len++; in lowpan6_compress_headers()
211 buffer[lowpan6_header_len++] = IP6H_TC(ip6hdr); in lowpan6_compress_headers()
218 buffer[lowpan6_header_len] = IP6H_TC(ip6hdr) & 0xc0; in lowpan6_compress_headers()
219 buffer[lowpan6_header_len++] |= (IP6H_FL(ip6hdr) >> 16) & 0x0f; in lowpan6_compress_headers()
220 buffer[lowpan6_header_len++] = (IP6H_FL(ip6hdr) >> 8) & 0xff; in lowpan6_compress_headers()
221 buffer[lowpan6_header_len++] = IP6H_FL(ip6hdr) & 0xff; in lowpan6_compress_headers()
224 buffer[lowpan6_header_len++] = IP6H_TC(ip6hdr); in lowpan6_compress_headers()
225 buffer[lowpan6_header_len++] = (IP6H_FL(ip6hdr) >> 16) & 0x0f; in lowpan6_compress_headers()
[all …]
Dlowpan6.c374 u8_t lowpan6_header_len; in lowpan6_frag() local
399 &buffer[ieee_header_len], p_frag->len - ieee_header_len, &lowpan6_header_len, in lowpan6_frag()
410 lowpan6_header_len = 1; in lowpan6_frag()
425 max_data_len = LOWPAN6_MAX_PAYLOAD - ieee_header_len - lowpan6_header_len; in lowpan6_frag()
429 memmove(&buffer[ieee_header_len + 4], &buffer[ieee_header_len], lowpan6_header_len); in lowpan6_frag()
441 frag_len = data_len + lowpan6_header_len; in lowpan6_frag()
443 …pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len + 4, frag_len - lowpan6_header_… in lowpan6_frag()
444 remaining_len -= frag_len - lowpan6_header_len; in lowpan6_frag()
446 datagram_offset = frag_len - lowpan6_header_len + hidden_header_len; in lowpan6_frag()
497 pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len, frag_len, 0); in lowpan6_frag()
[all …]
Dlowpan6_ble.c235 u8_t lowpan6_header_len; in rfc7668_compress() local
257 …&lowpan6_header_len, &hidden_header_len, rfc7668_context, &rfc7668_local_addr, &rfc7668_peer_addr); in rfc7668_compress()
269 pbuf_copy_partial(p, buffer + lowpan6_header_len, remaining_len, 0); in rfc7668_compress()
272 p_frag->len = p_frag->tot_len = remaining_len + lowpan6_header_len; in rfc7668_compress()
/third_party/lwip/
D0081-ip6-hdr.patch320 u8_t lowpan6_header_len;