Lines Matching refs:ntohs
144 ip->ip_len = ntohs(ip->ip_len);
145 ip->ip_off = ntohs(ip->ip_off);
461 fnew.fin_plen = ntohs(ip->ip_len);
480 fnew.fin_plen = ntohs(ip6->ip6_plen) + hlen;
549 switch (ntohs(fin->fin_data[0]) >> 8)
826 if (ntohs(ip->ip_len) <= ifp->if_mtu) {
838 ip_off = ntohs(ip->ip_off);
859 for (off = hlen + len; off < ntohs(ip->ip_len); off += len) {
879 if (off + len >= ntohs(ip->ip_len))
880 len = ntohs(ip->ip_len) - off;
1313 fin->fin_ip->ip_len = ntohs(fin->fin_ip->ip_len);
1314 fin->fin_ip->ip_off = ntohs(fin->fin_ip->ip_off);