Searched refs:ip6_plen (Results 1 – 12 of 12) sorted by relevance
49 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()54 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
93 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
653 if (!EXTRACT_16BITS(&ip6->ip6_plen)) in esp_print()656 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
242 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print()
384 } else if (IP_V(ip) == 6 && ip6->ip6_plen) { in tcp_print()875 len32 = htonl(EXTRACT_16BITS(&ip6->ip6_plen)); in tcp_verify_signature()
556 else if (IP_V(ip) == 6 && ip6->ip6_plen) { in udp_print()
277 pkt.hdr.ip6_plen = htons(ip6_psize); in create_mld_query()376 pkt.hdr.ip6_plen = htons(ip6_psize); in create_echo_request()652 bitsize = sizeof(pkt->hdr.ip6_plen) * 8; in thrust_fakes()654 pkt->hdr.ip6_plen ^= seed; in thrust_fakes()
529 sndip6_p->hdr.ip6_plen = htons(sizeof(struct neighbor_adv)); in return_neigh_adv()550 p_ip6.hdr.p_ip6_plen = sndip6_p->hdr.ip6_plen; in return_neigh_adv()631 sndip6_p->hdr.ip6_plen = htons(ip6_payload_size); in return_icmp6_redirect()652 p_ip6.hdr.p_ip6_plen = sndip6_p->hdr.ip6_plen; in return_icmp6_redirect()
144 ip6_targ->ip6_plen = htons(packet_length(out, pos)); in ipv4_packet()
227 EXPECT_EQ(len - sizeof(*ip6), htons(ip6->ip6_plen)) << msg << ": Incorrect IPv6 length\n"; in check_packet()366 ip6->ip6_plen = htons(total_length - sizeof(*ip6)); in reassemble_packet()367 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()