HomeSort by: relevance | last modified time | path
    Searched refs:HTONS (Results 1 - 9 of 9) sorted by relevancy

  /src/sys/arch/hpc/stand/include/machine/
endian.h 86 uint16_t htons(uint16_t) __attribute__((__const__));
133 #define htons(x) (x) macro
138 #define HTONS(x) (void) (x)
147 #define htons(x) bswap16((uint16_t)(x))
153 #define HTONS(x) (x) = htons((uint16_t)(x))
  /src/sys/sys/
endian.h 71 uint16_t htons(uint16_t) __constfunc;
118 #define htons(x) __CAST(uint16_t, (x)) macro
123 #define HTONS(x) __CAST(void, (x))
130 #define htons(x) bswap16(__CAST(uint16_t, (x)))
135 #define HTONS(x) (x) = htons(__CAST(uint16_t, (x)))
  /src/sys/netinet/
raw_ip.c 335 ip->ip_off = htons(0);
337 ip->ip_len = htons(m->m_pkthdr.len);
374 HTONS(ip->ip_len);
375 HTONS(ip->ip_off);
in_l2tp.c 161 HTONS(iphdr.ip_len);
tcp_input.c 342 HTONS(th->th_win);
343 HTONS(th->th_urp);
910 htons(hw_csum + tlen + off + IPPROTO_TCP));
3041 ippseudo.ippseudo_len = htons(m->m_pkthdr.len - thoff);
3053 ip6pseudo.ip6ph_len = htons(m->m_pkthdr.len - thoff);
ip_output.c 280 ip->ip_off = htons(0);
623 ip->ip_off |= htons(IP_DF);
906 HTONS(mhip->ip_off);
908 mhip->ip_len = htons((u_int16_t)(len + mhlen));
945 ip->ip_len = htons((u_int16_t)m->m_pkthdr.len);
946 ip->ip_off |= htons(IP_MF);
1043 ip->ip_len = htons(ntohs(ip->ip_len) + optlen);
  /src/sys/netinet6/
in6_l2tp.c 163 HTONS(ip6hdr.ip6_plen);
  /src/sys/external/bsd/ipf/netinet/
ip_fil_netbsd.c 810 ip6->ip6_plen = htons(sizeof(struct tcphdr));
822 ip->ip_len = htons(sizeof(struct tcphdr));
861 HTONS(ip->ip_len);
865 ip->ip_off = htons(ip_mtudisc ? IP_DF : 0);
1036 icmp->icmp_nextmtu = htons(fin->fin_mtu);
1039 icmp->icmp_nextmtu = htons(GETIFMTU_4(ifp));
1042 icmp->icmp_nextmtu = htons(fin->fin_plen - 20);
1060 ip6->ip6_plen = htons(iclen - hlen);
1320 mhip->ip_len = htons((u_short)(len + mhlen));
1328 mhip->ip_off = htons((u_short)mhip->ip_off)
    [all...]
  /src/sys/dist/pf/net/
pf.c 1747 h->ip_len = htons(tlen);
1760 h6->ip6_plen = htons(tlen);
1779 th->th_win = htons(win);
1785 HTONS(mss);
1799 h->ip_len = htons(len);
1800 h->ip_off = htons(ip_mtudisc ? IP_DF : 0);
2470 key.gwy.port = htons(low);
2472 *nport = htons(low);
2487 key.gwy.port = htons(tmp);
2490 *nport = htons(tmp)
    [all...]

Completed in 20 milliseconds