Searched refs:ip6hdr (Results 1 - 6 of 6) sorted by relevance

/barrelfish-2018-10-04/lib/lwip2/src/netif/
H A Dlowpan6.c261 struct ip6_hdr *ip6hdr; local
264 ip6hdr = (struct ip6_hdr *)p->payload;
265 ip_addr_copy_from_ip6(ip_data.current_iphdr_dest, ip6hdr->dest);
266 ip_addr_copy_from_ip6(ip_data.current_iphdr_src, ip6hdr->src);
300 if (IP6H_FL(ip6hdr) == 0) {
303 if (IP6H_TC(ip6hdr) == 0) {
308 buffer[ieee_header_len + lowpan6_header_len++] = IP6H_TC(ip6hdr);
311 if (((IP6H_TC(ip6hdr) & 0x3f) == 0)) {
315 buffer[ieee_header_len + lowpan6_header_len] = IP6H_TC(ip6hdr) & 0xc0;
316 buffer[ieee_header_len + lowpan6_header_len++] |= (IP6H_FL(ip6hdr) >> 1
692 struct ip6_hdr *ip6hdr; local
[all...]
/barrelfish-2018-10-04/lib/lwip2/src/core/ipv6/
H A Dip6.c393 struct ip6_hdr *ip6hdr; local
406 ip6hdr = (struct ip6_hdr *)p->payload;
407 if (IP6H_V(ip6hdr) != 6) {
409 IP6H_V(ip6hdr)));
424 if ((IP6_HLEN > p->len) || ((IP6H_PLEN(ip6hdr) + IP6_HLEN) > p->tot_len)) {
430 if ((IP6H_PLEN(ip6hdr) + IP6_HLEN) > p->tot_len) {
433 (u16_t)(IP6H_PLEN(ip6hdr) + IP6_HLEN), p->tot_len));
444 pbuf_realloc(p, IP6_HLEN + IP6H_PLEN(ip6hdr));
447 ip_addr_copy_from_ip6(ip_data.current_iphdr_dest, ip6hdr->dest);
448 ip_addr_copy_from_ip6(ip_data.current_iphdr_src, ip6hdr
845 struct ip6_hdr *ip6hdr; local
942 struct ip6_hdr *ip6hdr; local
1000 struct ip6_hdr *ip6hdr; local
1083 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)p->payload; local
[all...]
H A Dicmp6.c279 struct ip6_hdr *ip6hdr; local
308 ip6hdr = (struct ip6_hdr *)p->payload;
310 ip6_addr_copy(reply_dest_local, ip6hdr->src);
311 ip6_addr_copy(reply_src_local, ip6hdr->dest);
H A Dip6_frag.c663 struct ip6_hdr *ip6hdr; local
713 ip6hdr = (struct ip6_hdr *)rambuf->payload;
729 ip6hdr = (struct ip6_hdr *)rambuf->payload;
782 IP6H_NEXTH_SET(ip6hdr, IP6_NEXTH_FRAGMENT);
783 IP6H_PLEN_SET(ip6hdr, cop + IP6_FRAG_HLEN);
H A Dnd6.c662 struct ip6_hdr *ip6hdr; /* IPv6 header of the packet which caused the error */ local
676 ip6hdr = (struct ip6_hdr *)((u8_t*)p->payload + sizeof(struct icmp6_hdr));
679 ip6_addr_set(&tmp, &(ip6hdr->dest));
1865 struct ip6_hdr *ip6hdr; local
1882 ip6hdr = (struct ip6_hdr *)(q->p->payload);
1884 ip6_addr_set(&dest, &(ip6hdr->dest));
1895 ip6hdr = (struct ip6_hdr *)(neighbor_cache[i].q->payload);
1897 ip6_addr_set(&dest, &(ip6hdr->dest));
/barrelfish-2018-10-04/lib/lwip2/src/core/
H A Draw.c142 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)p->payload; local
143 proto = IP6H_NEXTH(ip6hdr);

Completed in 103 milliseconds