• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/lwip2/src/core/ipv6/

Lines Matching defs:ip6hdr

393   struct ip6_hdr *ip6hdr;
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->src);
461 ip_data.current_ip6_header = ip6hdr;
563 ip6_forward(p, ip6hdr, inp);
574 nexth = IP6H_NEXTH(ip6hdr);
700 ip6hdr = (struct ip6_hdr *)p->payload;
701 nexth = IP6H_NEXTH(ip6hdr);
768 (IP6H_NEXTH(ip6hdr) != IP6_NEXTH_ICMP6)) {
772 LWIP_DEBUGF(IP6_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("ip6_input: Unsupported transport protocol %"U16_F"\n", (u16_t)IP6H_NEXTH(ip6hdr)));
845 struct ip6_hdr *ip6hdr;
859 ip6hdr = (struct ip6_hdr *)p->payload;
863 IP6H_HOPLIM_SET(ip6hdr, hl);
864 IP6H_NEXTH_SET(ip6hdr, nexth);
867 ip6_addr_copy(ip6hdr->dest, *dest);
869 IP6H_VTCFL_SET(ip6hdr, 6, tc, 0);
870 IP6H_PLEN_SET(ip6hdr, p->tot_len - IP6_HLEN);
876 ip6_addr_copy(ip6hdr->src, *src);
880 ip6hdr = (struct ip6_hdr *)p->payload;
881 ip6_addr_copy(dest_addr, ip6hdr->dest);
942 struct ip6_hdr *ip6hdr;
951 ip6hdr = (struct ip6_hdr *)p->payload;
952 ip6_addr_copy(src_addr, ip6hdr->src);
953 ip6_addr_copy(dest_addr, ip6hdr->dest);
1000 struct ip6_hdr *ip6hdr;
1010 ip6hdr = (struct ip6_hdr *)p->payload;
1011 ip6_addr_copy(src_addr, ip6hdr->src);
1012 ip6_addr_copy(dest_addr, ip6hdr->dest);
1083 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)p->payload;
1088 IP6H_V(ip6hdr),
1089 IP6H_TC(ip6hdr),
1090 IP6H_FL(ip6hdr)));
1093 IP6H_PLEN(ip6hdr),
1094 IP6H_NEXTH(ip6hdr),
1095 IP6H_HOPLIM(ip6hdr)));
1098 IP6_ADDR_BLOCK1(&(ip6hdr->src)),
1099 IP6_ADDR_BLOCK2(&(ip6hdr->src)),
1100 IP6_ADDR_BLOCK3(&(ip6hdr->src)),
1101 IP6_ADDR_BLOCK4(&(ip6hdr->src))));
1103 IP6_ADDR_BLOCK5(&(ip6hdr->src)),
1104 IP6_ADDR_BLOCK6(&(ip6hdr->src)),
1105 IP6_ADDR_BLOCK7(&(ip6hdr->src)),
1106 IP6_ADDR_BLOCK8(&(ip6hdr->src))));
1109 IP6_ADDR_BLOCK1(&(ip6hdr->dest)),
1110 IP6_ADDR_BLOCK2(&(ip6hdr->dest)),
1111 IP6_ADDR_BLOCK3(&(ip6hdr->dest)),
1112 IP6_ADDR_BLOCK4(&(ip6hdr->dest))));
1114 IP6_ADDR_BLOCK5(&(ip6hdr->dest)),
1115 IP6_ADDR_BLOCK6(&(ip6hdr->dest)),
1116 IP6_ADDR_BLOCK7(&(ip6hdr->dest)),
1117 IP6_ADDR_BLOCK8(&(ip6hdr->dest))));