Searched refs:IP6_HLEN (Results 1 – 11 of 11) sorted by relevance
/third_party/lwip/src/core/ipv6/ |
D | ip6_frag.c | 321 LWIP_ASSERT("not a valid pbuf (ip6_input check missing?)", hdrdiff >= IP6_HLEN); in ip6_reass() 322 hdrdiff -= IP6_HLEN; in ip6_reass() 638 - IP6_HLEN); in ip6_reass() 650 u8_t *ptr = (u8_t *)iphdr_ptr + IP6_HLEN; in ip6_reass() 754 const u16_t nfb = (u16_t)((mtu - (IP6_HLEN + IP6_FRAG_HLEN)) & IP6_FRAG_OFFSET_MASK); in ip6_frag() 757 u16_t poff = IP6_HLEN; in ip6_frag() 764 LWIP_ASSERT("p->tot_len >= IP6_HLEN", p->tot_len >= IP6_HLEN); in ip6_frag() 765 left = (u16_t)(p->tot_len - IP6_HLEN); in ip6_frag() 783 if (pbuf_add_header(rambuf, IP6_HLEN)) { in ip6_frag() 789 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); in ip6_frag() [all …]
|
D | ip6.c | 602 if ((IP6_HLEN > p->len) || (IP6H_PLEN(ip6hdr) > (p->tot_len - IP6_HLEN))) { 603 if (IP6_HLEN > p->len) { 606 (u16_t)IP6_HLEN, p->len)); 608 if ((IP6H_PLEN(ip6hdr) + IP6_HLEN) > p->tot_len) { 611 (u16_t)(IP6H_PLEN(ip6hdr) + IP6_HLEN), p->tot_len)); 622 pbuf_realloc(p, (u16_t)(IP6_HLEN + IP6H_PLEN(ip6hdr))); 764 hlen = hlen_tot = IP6_HLEN; 767 pbuf_remove_header(p, IP6_HLEN); 1074 hlen = hlen_tot = IP6_HLEN; 1075 pbuf_remove_header(p, IP6_HLEN); [all …]
|
D | icmp6.c | 60 #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)
|
D | nd6.c | 903 if (p->len < (sizeof(struct icmp6_hdr) + IP6_HLEN)) { in nd6_input()
|
/third_party/lwip/src/netif/ |
D | lowpan6_common.c | 153 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/ |
D | 0081-ip6-hdr.patch | 38 hlen = hlen_tot = IP6_HLEN; 39 pbuf_remove_header(p, IP6_HLEN); 165 LWIP_ASSERT("p->tot_len >= IP6_HLEN", p->tot_len >= IP6_HLEN); 169 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); 172 frag_hdr = (struct ip6_frag_hdr *)((u8_t*)rambuf->payload + IP6_HLEN); 177 (rambuf->len >= (IP6_HLEN))); 178 SMEMCPY(rambuf->payload, original_ip6hdr, IP6_HLEN); 181 frag_hdr = (struct ip6_frag_hdr *)((u8_t*)rambuf->payload + IP6_HLEN); 345 u16_t ip6_offset = IP6_HLEN; 352 if (decomp_bufsize < IP6_HLEN) {
|
D | 0089-add-struct-gz-addr.patch | 31 #define IP6_HLEN 40
|
D | 0080-enable-ipv6.patch | 110 + iph_cksum_set(p, IP6_HLEN, 0); 371 +#define IP6_HLEN 40 381 +#define TCP_MSS (FRAME_MTU - IP6_HLEN - TCP_HLEN - VLAN_LEN)
|
/third_party/lwip/src/core/ |
D | raw.c | 460 IP_IS_V6(dst_ip) ? IP6_HLEN : IP_HLEN); in raw_sendto_if_src() 464 IP6_HLEN); in raw_sendto_if_src()
|
D | tcp.c | 2456 offset = IP6_HLEN + TCP_HLEN;
|
/third_party/lwip/src/include/lwip/prot/ |
D | ip6.h | 64 #define IP6_HLEN 40 macro
|