Home
last modified time | relevance | path

Searched refs:ip6_plen (Results 1 – 19 of 19) 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/usrsctp/usrsctplib/
Duser_ip6_var.h79 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
/external/android-clat/
Dipv4.c145 ip6_targ->ip6_plen = htons(packet_length(out, pos)); in ipv4_packet()
Dclatd_test.cpp235 EXPECT_EQ(len - sizeof(*ip6), htons(ip6->ip6_plen)) << msg << ": Incorrect IPv6 length\n"; in check_packet()
373 ip6->ip6_plen = htons(total_length - sizeof(*ip6)); in reassemble_packet()
374 ASSERT_FALSE(is_ipv6_fragment(ip6, ip6->ip6_plen)) in reassemble_packet()
Ddump.c83 printf("payload len = %x\n", ntohs(header->ip6_plen)); in dump_ip6()
Dtranslate.c163 ip6->ip6_plen = htons(payload_len); in fill_ip6_header()
/external/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c167 ip6hdr->ip6_plen = htons(frag_len); in send_fragment()
308 ip6hdr->ip6_plen = htons(frag_len); in send_udp_frags()
/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c129 ip6.ip6_plen = htons(pkt_len - ip6_hdr_len); in setup_client()
/external/iptables/iptables/
Dxtables-monitor.c383 ntohs(ip6h->ip6_plen) + sizeof(*iph), in trace_print_packet()
/external/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c279 length = ntohs(ip6->ip6_plen) + iphlen;
/external/usrsctp/usrsctplib/netinet/
Dsctputil.c8238 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - sizeof(struct udphdr));
Dsctp_output.c4684 ip6h->ip6_plen = htons((uint16_t)(packet_length - sizeof(struct ip6_hdr)));
12022 ip6->ip6_plen = htons((uint16_t)(len - sizeof(struct ip6_hdr)));