Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-frag6.c50 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()
Dip6.h93 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
Dprint-esp.c709 if (!EXTRACT_16BITS(&ip6->ip6_plen)) in esp_print()
712 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/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c165 ip6hdr->ip6_plen = htons(frag_len); in send_fragment()
259 ip6hdr->ip6_plen = htons(frag_len); in send_udp_frags()
/external/android-clat/
Dipv4.c145 ip6_targ->ip6_plen = htons(packet_length(out, pos)); in ipv4_packet()
Ddump.c81 printf("payload len = %x\n", ntohs(header->ip6_plen)); in dump_ip6()
Dclatd_test.cpp236 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()
Dtranslate.c164 ip6->ip6_plen = htons(payload_len); in fill_ip6_header()
/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c129 ip6.ip6_plen = htons(pkt_len - ip6_hdr_len); in setup_client()