Amusingly inet_net(3) will also want sys/types.h above sys/socket.h.
Incidentally as u_port_t is defined, why is u_int16_t used for eg struct
sockaddr_in sin_port? Why would I use u_port_t?
Cheers,
Patrick