HelenOS sources

root/uspace/lib/inet/src/

[..]
addr.c dhcp.c dnsr.c endpoint.c eth_addr.c
host.c hostname.c hostport.c inet.c inetcfg.c
inetping.c iplink.c iplink_srv.c tcp.c udp.c
[..]
HelenOS homepage, sources at GitHub