Searched refs:ip6_plen (Results 1 – 14 of 14) sorted by relevance
50 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()55 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
93 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
709 if (!EXTRACT_16BITS(&ip6->ip6_plen)) in esp_print()712 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()
165 ip6hdr->ip6_plen = htons(frag_len); in send_fragment()259 ip6hdr->ip6_plen = htons(frag_len); in send_udp_frags()
145 ip6_targ->ip6_plen = htons(packet_length(out, pos)); in ipv4_packet()
81 printf("payload len = %x\n", ntohs(header->ip6_plen)); in dump_ip6()
236 EXPECT_EQ(len - sizeof(*ip6), htons(ip6->ip6_plen)) << msg << ": Incorrect IPv6 length\n"; in check_packet()374 ip6->ip6_plen = htons(total_length - sizeof(*ip6)); in reassemble_packet()375 ASSERT_FALSE(is_ipv6_fragment(ip6, ip6->ip6_plen)) in reassemble_packet()
164 ip6->ip6_plen = htons(payload_len); in fill_ip6_header()
129 ip6.ip6_plen = htons(pkt_len - ip6_hdr_len); in setup_client()