HelenOS sources

inet_pdu_encode   389 uspace/srv/net/inetsrv/inet_link.c 		rc = inet_pdu_encode(&packet, src_v4, dest_v4, offs, ilink->def_mtu,
inet_pdu_encode    50 uspace/srv/net/inetsrv/pdu.h extern errno_t inet_pdu_encode(inet_packet_t *, addr32_t, addr32_t, size_t, size_t,
HelenOS homepage, sources at GitHub