HelenOS sources

TCP_CONN_SEND_FIN  486 uspace/lib/inet/src/tcp.c 	errno_t rc = async_req_1_0(exch, TCP_CONN_SEND_FIN, conn->id);
TCP_CONN_SEND_FIN 1208 uspace/srv/net/tcp/service.c 		case TCP_CONN_SEND_FIN:
HelenOS homepage, sources at GitHub