Home
last modified time | relevance | path

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

/third_party/lwip/src/include/lwip/
Dip.h155 #define ip6_current_header() ((const struct ip6_hdr*)(ip_data.current_ip6_header)) macro
157 #define ip_current_is_v6() (ip6_current_header() != NULL)
164 IP6H_NEXTH(ip6_current_header()) :\
168 …(const u8_t*)ip6_current_header() : (const u8_t*)ip4_current_header()) + ip_current_header_tot_le…
197 #define ip6_current_header() ((const struct ip6_hdr*)(ip_data.current_ip6_header)) macro
201 #define ip_current_header_proto() IP6H_NEXTH(ip6_current_header())
203 #define ip_next_header_ptr() ((const void*)(((const u8_t*)ip6_current_header()) + ip_current_he…
/third_party/lwip/src/core/ipv6/
Dip6_frag.c298 len = lwip_ntohs(ip6_current_header()->_plen); in ip6_reass()
299 hdrdiff = (u8_t*)p->payload - (const u8_t*)ip6_current_header(); in ip6_reass()
367 MEMCPY(&ipr->src, &ip6_current_header()->src, sizeof(ipr->src)); in ip6_reass()
368 MEMCPY(&ipr->dest, &ip6_current_header()->dest, sizeof(ipr->dest)); in ip6_reass()
Dicmp6.c294 u32_t pointer_u32 = (u32_t)((const u8_t *)pointer - (const u8_t *)ip6_current_header()); in icmp6_param_problem()
Dnd6.c319 if (IP6H_HOPLIM(ip6_current_header()) != ND6_HOPLIM || na_hdr->code != 0 || in nd6_input()
450 if (IP6H_HOPLIM(ip6_current_header()) != ND6_HOPLIM || ns_hdr->code != 0 || in nd6_input()
577 IP6H_HOPLIM(ip6_current_header()) != ND6_HOPLIM || ra_hdr->code != 0) { in nd6_input()
829 IP6H_HOPLIM(ip6_current_header()) != ND6_HOPLIM || in nd6_input()