Added some documentation and changed in_port_t for u16, since those ports are always on 16 bits