Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-hncp.c143 #define IPV4_MAPPED_HEADING_LEN 12 macro
152 static const u_char ipv4_mapped_heading[IPV4_MAPPED_HEADING_LEN] = in is_ipv4_mapped_address()
155 return memcmp(addr, ipv4_mapped_heading, IPV4_MAPPED_HEADING_LEN) == 0; in is_ipv4_mapped_address()
198 return ipaddr_string(ndo, cp + IPV4_MAPPED_HEADING_LEN); in format_ip6addr()
209 if (prefix[0] >= 96 && max_length >= IPV4_MAPPED_HEADING_LEN + 1 && in print_prefix()
221 if (max_length < (u_int)plenbytes + IPV4_MAPPED_HEADING_LEN) in print_prefix()
223 memcpy(&addr, &prefix[1 + IPV4_MAPPED_HEADING_LEN], plenbytes); in print_prefix()
229 plenbytes += 1 + IPV4_MAPPED_HEADING_LEN; in print_prefix()