HelenOS sources

IP_PROTO_ICMP     114 uspace/srv/net/inetsrv/icmp.c 	rc = inet_route_packet(&rdgram, IP_PROTO_ICMP, INET_TTL_MAX, 0);
IP_PROTO_ICMP     172 uspace/srv/net/inetsrv/icmp.c 	errno_t rc = inet_route_packet(&dgram, IP_PROTO_ICMP, INET_TTL_MAX, 0);
IP_PROTO_ICMP     506 uspace/srv/net/inetsrv/inetsrv.c 	if (proto == IP_PROTO_ICMP)
HelenOS homepage, sources at GitHub