Lines Matching refs:htons
134 ip->ip_len = htons(ip->ip_len);
135 ip->ip_off = htons(ip->ip_off);
417 ip6->ip6_plen = htons(sizeof(struct tcphdr));
428 ip->ip_len = htons(sizeof(struct tcphdr));
432 ip->ip_len = htons(hlen + sizeof(*tcp2));
465 ip->ip_off = htons(V_path_mtu_discovery ? IP_DF : 0);
635 icmp->icmp_nextmtu = htons(fin->fin_mtu);
638 icmp->icmp_nextmtu = htons(GETIFMTU_4(ifp));
641 icmp->icmp_nextmtu = htons(fin->fin_plen - 20);
652 ip6->ip6_plen = htons(iclen - hlen);
674 ip->ip_len = htons(iclen);
883 mhip->ip_len = htons((u_short)(len + mhlen));
892 mhip->ip_off = htons((u_short)mhip->ip_off);
902 ip->ip_len = htons((u_short)(hlen + firstlen));
903 ip->ip_off = htons((u_short)IP_MF);