Home
last modified time | relevance | path

Searched refs:ip6_plen (Results 1 – 12 of 12) sorted by relevance

/external/tcpdump/
Dprint-frag6.c49 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()
Dip6.h93 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
Dprint-esp.c653 if (!EXTRACT_16BITS(&ip6->ip6_plen)) in esp_print()
656 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
Dprint-ip6.c242 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print()
Dprint-tcp.c384 } else if (IP_V(ip) == 6 && ip6->ip6_plen) { in tcp_print()
875 len32 = htonl(EXTRACT_16BITS(&ip6->ip6_plen)); in tcp_verify_signature()
Dprint-udp.c556 else if (IP_V(ip) == 6 && ip6->ip6_plen) { in udp_print()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c277 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()
Dns-icmp_redirector.c529 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()
/external/android-clat/
Dipv4.c144 ip6_targ->ip6_plen = htons(packet_length(out, pos)); in ipv4_packet()
Dclatd_test.cpp227 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()
Ddump.c80 printf("payload len = %x\n",ntohs(header->ip6_plen)); in dump_ip6()
Dtranslate.c162 ip6->ip6_plen = htons(payload_len); in fill_ip6_header()