ICMP, or Internet Control Message Protocol, is a network layer protocol used primarily for error reporting and diagnostics.