Home
last modified time | relevance | path

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

/external/android-clat/
Dclatd_test.cpp67 #define UDP_LEN 21 macro
70 0x00, UDP_LEN, 0, 0, /* Length 21, checksum empty for now */
796 uint8_t v4_pseudo_header[] = { IPV4_PSEUDOHEADER(v4_header, UDP_LEN) }; in TEST_F()
797 pseudo_checksum = ipv4_pseudo_header_checksum((struct iphdr *) v4_header, UDP_LEN); in TEST_F()
803 uint8_t v6_pseudo_header[] = { IPV6_PSEUDOHEADER(v6_header, IPPROTO_UDP, UDP_LEN) }; in TEST_F()
804 pseudo_checksum = ipv6_pseudo_header_checksum((struct ip6_hdr *) v6_header, UDP_LEN, IPPROTO_UDP); in TEST_F()
820 uint32_t ipv4_pseudo_sum = ipv4_pseudo_header_checksum((struct iphdr *) ip, UDP_LEN); in TEST_F()
821 uint32_t ipv6_pseudo_sum = ipv6_pseudo_header_checksum((struct ip6_hdr *) ip6, UDP_LEN, in TEST_F()