Searched refs:lowpan6_header_len (Results 1 – 3 of 3) sorted by relevance
/third_party/lwip/src/netif/ |
D | lowpan6_common.c | 137 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 …]
|
D | lowpan6.c | 349 u8_t lowpan6_header_len; in lowpan6_frag() local 374 &buffer[ieee_header_len], p_frag->len - ieee_header_len, &lowpan6_header_len, in lowpan6_frag() 385 lowpan6_header_len = 1; in lowpan6_frag() 400 max_data_len = LOWPAN6_MAX_PAYLOAD - ieee_header_len - lowpan6_header_len; in lowpan6_frag() 404 memmove(&buffer[ieee_header_len + 4], &buffer[ieee_header_len], lowpan6_header_len); in lowpan6_frag() 416 frag_len = data_len + lowpan6_header_len; in lowpan6_frag() 418 …pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len + 4, frag_len - lowpan6_header_… in lowpan6_frag() 419 remaining_len -= frag_len - lowpan6_header_len; in lowpan6_frag() 421 datagram_offset = frag_len - lowpan6_header_len + hidden_header_len; in lowpan6_frag() 472 pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len, frag_len, 0); in lowpan6_frag() [all …]
|
D | lowpan6_ble.c | 235 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()
|