Searched refs:ip6_plen (Results 1 – 16 of 16) sorted by relevance
58 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()63 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
93 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
606 if (!EXTRACT_16BITS(&ip6->ip6_plen)) in esp_print()609 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
105 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print()
389 else if (IP_V(ip) == 6 && ip6->ip6_plen) {831 len32 = htonl(EXTRACT_16BITS(&ip6->ip6_plen));
555 else if (IP_V(ip) == 6 && ip6->ip6_plen) { in udp_print()
79 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
2980 ip6->ip6_plen = htons(ip6->ip6_plen);
96 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
144 ip6_targ->ip6_plen = htons(packet_length(out, pos)); in ipv4_packet()
226 EXPECT_EQ(len - sizeof(*ip6), htons(ip6->ip6_plen)) << msg << ": Incorrect IPv6 length\n"; in check_packet()365 ip6->ip6_plen = htons(total_length - sizeof(*ip6)); in reassemble_packet()366 ASSERT_FALSE(is_ipv6_fragment(ip6, ip6->ip6_plen)) in reassemble_packet()
80 printf("payload len = %x\n",ntohs(header->ip6_plen)); in dump_ip6()
162 ip6->ip6_plen = htons(payload_len); in fill_ip6_header()
281 length = ntohs(ip6->ip6_plen) + iphlen;
7778 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - sizeof(struct udphdr));
4457 ip6h->ip6_plen = (packet_length - sizeof(struct ip6_hdr));11572 ip6->ip6_plen = len - sizeof(struct ip6_hdr);