Home
last modified time | relevance | path

Searched refs:ip6hdr (Results 1 – 11 of 11) sorted by relevance

/components/net/lwip/lwip-2.1.2/src/netif/
A Dlowpan6_common.c140 struct ip6_hdr *ip6hdr; in lowpan6_compress_headers() local
203 if (IP6H_FL(ip6hdr) == 0) { in lowpan6_compress_headers()
206 if (IP6H_TC(ip6hdr) == 0) { in lowpan6_compress_headers()
399 struct ip6_hdr *ip6hdr; in lowpan6_decompress_hdr() local
478 IP6H_NEXTH_SET(ip6hdr, 0); in lowpan6_decompress_hdr()
510 ip6hdr->src.addr[1] = 0; in lowpan6_decompress_hdr()
518 ip6hdr->src.addr[1] = 0; in lowpan6_decompress_hdr()
528 ip6hdr->src.addr[1] = 0; in lowpan6_decompress_hdr()
548 ip6hdr->src.addr[0] = 0; in lowpan6_decompress_hdr()
549 ip6hdr->src.addr[1] = 0; in lowpan6_decompress_hdr()
[all …]
/components/net/lwip/lwip-2.0.3/src/netif/
A Dlowpan6.c261 struct ip6_hdr *ip6hdr; in lowpan6_frag() local
300 if (IP6H_FL(ip6hdr) == 0) { in lowpan6_frag()
692 struct ip6_hdr *ip6hdr; in lowpan6_decompress() local
730 IP6H_NEXTH_SET(ip6hdr, 0); in lowpan6_decompress()
753 ip6hdr->src.addr[1] = 0; in lowpan6_decompress()
758 ip6hdr->src.addr[1] = 0; in lowpan6_decompress()
765 ip6hdr->src.addr[1] = 0; in lowpan6_decompress()
780 ip6hdr->src.addr[0] = 0; in lowpan6_decompress()
781 ip6hdr->src.addr[1] = 0; in lowpan6_decompress()
782 ip6hdr->src.addr[2] = 0; in lowpan6_decompress()
[all …]
/components/net/lwip/lwip-2.0.3/src/core/ipv6/
A Dip6.c393 struct ip6_hdr *ip6hdr; in ip6_input() local
407 if (IP6H_V(ip6hdr) != 6) { in ip6_input()
409 IP6H_V(ip6hdr))); in ip6_input()
563 ip6_forward(p, ip6hdr, inp); in ip6_input()
574 nexth = IP6H_NEXTH(ip6hdr); in ip6_input()
701 nexth = IP6H_NEXTH(ip6hdr); in ip6_input()
845 struct ip6_hdr *ip6hdr; in ip6_output_if_src() local
863 IP6H_HOPLIM_SET(ip6hdr, hl); in ip6_output_if_src()
864 IP6H_NEXTH_SET(ip6hdr, nexth); in ip6_output_if_src()
942 struct ip6_hdr *ip6hdr; in ip6_output() local
[all …]
A Dicmp6.c279 struct ip6_hdr *ip6hdr; in icmp6_send_response() local
308 ip6hdr = (struct ip6_hdr *)p->payload; in icmp6_send_response()
310 ip6_addr_copy(reply_dest_local, ip6hdr->src); in icmp6_send_response()
311 ip6_addr_copy(reply_src_local, ip6hdr->dest); in icmp6_send_response()
A Dip6_frag.c663 struct ip6_hdr *ip6hdr; in ip6_frag() local
713 ip6hdr = (struct ip6_hdr *)rambuf->payload; in ip6_frag()
729 ip6hdr = (struct ip6_hdr *)rambuf->payload; in ip6_frag()
782 IP6H_NEXTH_SET(ip6hdr, IP6_NEXTH_FRAGMENT); in ip6_frag()
783 IP6H_PLEN_SET(ip6hdr, cop + IP6_FRAG_HLEN); in ip6_frag()
A Dnd6.c662 struct ip6_hdr *ip6hdr; /* IPv6 header of the packet which caused the error */ in nd6_input() local
676 ip6hdr = (struct ip6_hdr *)((u8_t*)p->payload + sizeof(struct icmp6_hdr)); in nd6_input()
679 ip6_addr_set(&tmp, &(ip6hdr->dest)); in nd6_input()
1865 struct ip6_hdr *ip6hdr; in nd6_send_q() local
1882 ip6hdr = (struct ip6_hdr *)(q->p->payload); in nd6_send_q()
1884 ip6_addr_set(&dest, &(ip6hdr->dest)); in nd6_send_q()
1895 ip6hdr = (struct ip6_hdr *)(neighbor_cache[i].q->payload); in nd6_send_q()
1897 ip6_addr_set(&dest, &(ip6hdr->dest)); in nd6_send_q()
/components/net/lwip/lwip-2.1.2/src/core/ipv6/
A Dip6.c511 struct ip6_hdr *ip6hdr; local
529 if (IP6H_V(ip6hdr) != 6) {
531 IP6H_V(ip6hdr)));
690 ip6_forward(p, ip6hdr, inp);
701 nexth = &IP6H_NEXTH(ip6hdr);
1177 struct ip6_hdr *ip6hdr; local
1210 IP6H_HOPLIM_SET(ip6hdr, hl);
1211 IP6H_NEXTH_SET(ip6hdr, nexth);
1295 struct ip6_hdr *ip6hdr; local
1353 struct ip6_hdr *ip6hdr; local
[all …]
A Dip6_frag.c723 struct ip6_hdr *ip6hdr; in ip6_frag() local
770 ip6hdr = (struct ip6_hdr *)rambuf->payload; in ip6_frag()
786 ip6hdr = (struct ip6_hdr *)rambuf->payload; in ip6_frag()
839 IP6H_NEXTH_SET(ip6hdr, IP6_NEXTH_FRAGMENT); in ip6_frag()
840 IP6H_PLEN_SET(ip6hdr, (u16_t)(cop + IP6_FRAG_HLEN)); in ip6_frag()
A Dnd6.c916 struct ip6_hdr *ip6hdr; /* IPv6 header of the packet which caused the error */ in nd6_input() local
930 ip6hdr = (struct ip6_hdr *)((u8_t*)p->payload + sizeof(struct icmp6_hdr)); in nd6_input()
933 ip6_addr_copy_from_packed(destination_address, ip6hdr->dest); in nd6_input()
2196 struct ip6_hdr *ip6hdr; in nd6_send_q() local
2213 ip6hdr = (struct ip6_hdr *)(q->p->payload); in nd6_send_q()
2215 ip6_addr_copy_from_packed(dest, ip6hdr->dest); in nd6_send_q()
2228 ip6hdr = (struct ip6_hdr *)(neighbor_cache[i].q->payload); in nd6_send_q()
2230 ip6_addr_copy_from_packed(dest, ip6hdr->dest); in nd6_send_q()
/components/net/lwip/lwip-2.0.3/src/core/
A Draw.c142 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)p->payload; in raw_input() local
143 proto = IP6H_NEXTH(ip6hdr); in raw_input()
/components/net/lwip/lwip-2.1.2/src/core/
A Draw.c149 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)p->payload; in raw_input() local
150 proto = IP6H_NEXTH(ip6hdr); in raw_input()

Completed in 30 milliseconds