HelenOS sources
icmp_echo_t 80 uspace/srv/net/inetsrv/icmp.c icmp_echo_t *request, *reply;
icmp_echo_t 88 uspace/srv/net/inetsrv/icmp.c if (dgram->size < sizeof(icmp_echo_t))
icmp_echo_t 91 uspace/srv/net/inetsrv/icmp.c request = (icmp_echo_t *)dgram->data;
icmp_echo_t 125 uspace/srv/net/inetsrv/icmp.c if (dgram->size < sizeof(icmp_echo_t))
icmp_echo_t 128 uspace/srv/net/inetsrv/icmp.c icmp_echo_t *reply = (icmp_echo_t *) dgram->data;
icmp_echo_t 135 uspace/srv/net/inetsrv/icmp.c sdu.data = dgram->data + sizeof(icmp_echo_t);
icmp_echo_t 136 uspace/srv/net/inetsrv/icmp.c sdu.size = dgram->size - sizeof(icmp_echo_t);
icmp_echo_t 145 uspace/srv/net/inetsrv/icmp.c size_t rsize = sizeof(icmp_echo_t) + sdu->size;
icmp_echo_t 150 uspace/srv/net/inetsrv/icmp.c icmp_echo_t *request = (icmp_echo_t *) rdata;
icmp_echo_t 158 uspace/srv/net/inetsrv/icmp.c memcpy(rdata + sizeof(icmp_echo_t), sdu->data, sdu->size);
HelenOS homepage, sources at GitHub