Searched refs:ip6_current_header (Results 1 - 2 of 2) sorted by relevance

/barrelfish-master/include/lwip2/lwip/
H A Dip.h153 #define ip6_current_header() ((const struct ip6_hdr*)(ip_data.current_ip6_header)) macro
155 #define ip_current_is_v6() (ip6_current_header() != NULL)
162 IP6H_NEXTH(ip6_current_header()) :\
166 (const u8_t*)ip6_current_header() : (const u8_t*)ip4_current_header()) + ip_current_header_tot_len()))
195 #define ip6_current_header() ((const struct ip6_hdr*)(ip_data.current_ip6_header)) macro
199 #define ip_current_header_proto() IP6H_NEXTH(ip6_current_header())
201 #define ip_next_header_ptr() ((const void*)((const u8_t*)ip6_current_header()))
/barrelfish-master/lib/lwip2/src/core/ipv6/
H A Dip6_frag.c271 if ((const void*)ip6_current_header() != ((u8_t*)p->payload) - IP6_HLEN) {
287 len = lwip_ntohs(ip6_current_header()->_plen);
288 len -= (u16_t)(((u8_t*)p->payload - (const u8_t*)ip6_current_header()) - IP6_HLEN);
341 MEMCPY(&ipr->iphdr, ip6_current_header(), IP6_HLEN);
481 MEMCPY(&ipr->iphdr, ip6_current_header(), IP6_HLEN);

Completed in 173 milliseconds