Lines Matching refs:htons
75 eh->ether_type = htons(ETHERTYPE_IP);
121 eh->ether_type = htons(ETHERTYPE_IP);
126 ip->ip_len = htons(iplen);
131 ip->ip_id = htons(id++);
203 ip->ip_off |= htons(IP_MF);
209 ip->ip_off ^= htons(IP_MF);
214 ip->ip_off &= htons(0xe000);
215 ip->ip_off |= htons(sent >> 3);
217 ip->ip_len = htons(ts);
228 else if (!(ip->ip_off & htons(0x1fff)))
272 t2->th_win = htons(4096);
285 ip2->ip_len = htons(thlen);
316 ti->ti_len = htons(thlen);