Lines Matching refs:ntohs
26 sum += ntohs(*pos++);
28 sum += ntohs(*pos << 8);
142 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port));
176 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), (int) res);
460 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port),
490 sport = ntohs(udph->uh_sport);
491 dport = ntohs(udph->uh_dport);
492 ulen = ntohs(udph->uh_ulen);
495 sport, dport, ulen, ntohs(udph->uh_sum));
524 tot_len = ntohs(iph->tot_len);