See the definition of TCP header in /netinet/tcp.h:
struct tcphdr { u_int16_t th_sport; /* source port */ u_int16_t th_dport; /* destin
Its possible that in this machine the endianess also refers to the bit order as well as the byte order. This wikipedia article mentions that this is sometimes the case.