Lines Matching full:icmp
16 * icmp.c - convenience functions for translating ICMP and ICMPv6 packets.
22 #include <linux/icmp.h>
25 #include "icmp.h"
44 * Determines whether an ICMP type is an error message.
45 * type: the ICMP type
60 * Maps ICMP types to ICMPv6 types. Partial implementation of RFC 6145, section 4.2.
81 // We don't understand this ICMP type. Return parameter problem so the caller will bail out.
82 logmsg_dbg(ANDROID_LOG_DEBUG, "icmp_to_icmp6_type: unhandled ICMP type %d", type);
87 * Maps ICMP codes to ICMPv6 codes. Partial implementation of RFC 6145, section 4.2.
88 * type - the ICMP type
89 * code - the ICMP code
115 // Otherwise, we don't understand this ICMP type/code combination. Fall through.
118 logmsg_dbg(ANDROID_LOG_DEBUG, "icmp_to_icmp6_code: unhandled ICMP type/code %d/%d", type, code);
123 * Maps ICMPv6 types to ICMP types. Partial implementation of RFC 6145, section 5.2.
124 * type - the ICMP type
141 // We don't understand this ICMP type. Return parameter problem so the caller will bail out.
142 logmsg_dbg(ANDROID_LOG_DEBUG, "icmp6_to_icmp_type: unhandled ICMP type %d", type);
147 * Maps ICMPv6 codes to ICMP codes. Partial implementation of RFC 6145, section 5.2.
179 logmsg_dbg(ANDROID_LOG_DEBUG, "icmp6_to_icmp_code: unhandled ICMP type/code %d/%d", type, code);