Home
last modified time | relevance | path

Searched refs:IP6_HLEN (Results 1 – 8 of 8) sorted by relevance

/third_party/lwip/src/core/ipv6/
Dip6_frag.c301 LWIP_ASSERT("not a valid pbuf (ip6_input check missing?)", hdrdiff >= IP6_HLEN); in ip6_reass()
302 hdrdiff -= IP6_HLEN; in ip6_reass()
618 - IP6_HLEN); in ip6_reass()
630 u8_t *ptr = (u8_t *)iphdr_ptr + IP6_HLEN; in ip6_reass()
734 const u16_t nfb = (u16_t)((mtu - (IP6_HLEN + IP6_FRAG_HLEN)) & IP6_FRAG_OFFSET_MASK); in ip6_frag()
737 u16_t poff = IP6_HLEN; in ip6_frag()
744 LWIP_ASSERT("p->tot_len >= IP6_HLEN", p->tot_len >= IP6_HLEN); in ip6_frag()
745 left = (u16_t)(p->tot_len - IP6_HLEN); in ip6_frag()
763 if (pbuf_add_header(rambuf, IP6_HLEN)) { in ip6_frag()
769 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); in ip6_frag()
[all …]
Dip6.c546 if ((IP6_HLEN > p->len) || (IP6H_PLEN(ip6hdr) > (p->tot_len - IP6_HLEN))) {
547 if (IP6_HLEN > p->len) {
550 (u16_t)IP6_HLEN, p->len));
552 if ((IP6H_PLEN(ip6hdr) + IP6_HLEN) > p->tot_len) {
555 (u16_t)(IP6H_PLEN(ip6hdr) + IP6_HLEN), p->tot_len));
566 pbuf_realloc(p, (u16_t)(IP6_HLEN + IP6H_PLEN(ip6hdr)));
704 hlen = hlen_tot = IP6_HLEN;
707 pbuf_remove_header(p, IP6_HLEN);
1014 hlen = hlen_tot = IP6_HLEN;
1015 pbuf_remove_header(p, IP6_HLEN);
[all …]
Dicmp6.c60 #if !LWIP_ICMP6_DATASIZE || (LWIP_ICMP6_DATASIZE > (IP6_MIN_MTU_LENGTH - IP6_HLEN - ICMP6_HLEN))
62 #define LWIP_ICMP6_DATASIZE (IP6_MIN_MTU_LENGTH - IP6_HLEN - ICMP6_HLEN)
Dnd6.c903 if (p->len < (sizeof(struct icmp6_hdr) + IP6_HLEN)) { in nd6_input()
/third_party/lwip/src/netif/
Dlowpan6_common.c153 if (inbuf_size < IP6_HLEN) { in lowpan6_compress_headers()
157 if (outbuf_size < IP6_HLEN) { in lowpan6_compress_headers()
315 inptr += IP6_HLEN; in lowpan6_compress_headers()
316 hidden_header_len += IP6_HLEN; in lowpan6_compress_headers()
323 if (inbuf_size < IP6_HLEN + UDP_HLEN) { in lowpan6_compress_headers()
402 u16_t ip6_offset = IP6_HLEN; in lowpan6_decompress_hdr()
412 if (decomp_bufsize < IP6_HLEN) { in lowpan6_decompress_hdr()
715 if (decomp_bufsize < IP6_HLEN + UDP_HLEN) { in lowpan6_decompress_hdr()
752 udphdr->len = lwip_htons(datagram_size - IP6_HLEN); in lowpan6_decompress_hdr()
766 IP6H_PLEN_SET(ip6hdr, datagram_size - IP6_HLEN); in lowpan6_decompress_hdr()
[all …]
/third_party/lwip/src/core/
Draw.c437 IP_IS_V6(dst_ip) ? IP6_HLEN : IP_HLEN); in raw_sendto_if_src()
441 IP6_HLEN); in raw_sendto_if_src()
Dtcp.c2279 offset = IP6_HLEN + TCP_HLEN; in tcp_eff_send_mss_netif()
/third_party/lwip/src/include/lwip/prot/
Dip6.h64 #define IP6_HLEN 40 macro