HomeSort by: relevance | last modified time | path
    Searched refs:htons (Results 1 - 25 of 701) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/lib/libkern/arch/alpha/
htons.S 1 /* $NetBSD: htons.S,v 1.1 1996/04/17 22:46:43 cgd Exp $ */
30 #define NAME htons
  /src/lib/libc/net/
Lint_htons.c 9 #undef htons macro
13 htons(uint16_t host16) function
  /src/common/lib/libc/arch/m68k/net/
htons.S 1 /* $NetBSD: htons.S,v 1.3 2013/07/16 23:24:19 matt Exp $ */
40 RCSID("from: @(#)htons.s 5.1 (Berkeley) 5/12/90")
42 RCSID("$NetBSD: htons.S,v 1.3 2013/07/16 23:24:19 matt Exp $")
46 /* hostorder = htons(netorder) */
48 ENTRY(htons) function
52 END(htons)
  /src/external/gpl3/gcc/dist/fixincludes/tests/base/netinet/
in.h 21 #define htons(x) (x) macro
  /src/external/gpl3/gcc.old/dist/fixincludes/tests/base/netinet/
in.h 21 #define htons(x) (x) macro
  /src/common/lib/libc/net/
htons.c 1 /* $NetBSD: htons.c,v 1.4 2026/01/09 08:01:11 skrll Exp $ */
10 __RCSID("$NetBSD: htons.c,v 1.4 2026/01/09 08:01:11 skrll Exp $");
16 #undef htons macro
19 htons(uint16_t x) function
  /src/common/lib/libc/arch/sparc/net/
htons.S 1 /* $NetBSD: htons.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
35 * from: Header: htons.s,v 1.1 92/06/25 12:47:05 torek Exp
41 .asciz "@(#)htons.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: htons.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
47 /* netorder = htons(hostorder) */
48 ENTRY(htons) function
  /src/common/lib/libc/arch/sparc64/net/
htons.S 1 /* $NetBSD: htons.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
35 * from: Header: htons.s,v 1.1 92/06/25 12:47:05 torek Exp
41 .asciz "@(#)htons.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: htons.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
47 /* netorder = htons(hostorder) */
48 ENTRY(htons) function
  /src/lib/libc/arch/sh3/net/
htons.c 1 /* $NetBSD: htons.c,v 1.3 2005/12/24 23:10:08 perry Exp $ */
40 __RCSID("$NetBSD: htons.c,v 1.3 2005/12/24 23:10:08 perry Exp $");
43 /* netorder = htons(hostorder) */
46 htons(x) function
  /src/common/lib/libc/arch/i386/gen/
byte_swap_2.S 34 * from: @(#)htons.s 5.2 (Berkeley) 12/17/90
48 _ENTRY(_C_LABEL(htons))
59 END(_C_LABEL(htons))
  /src/common/lib/libc/arch/x86_64/gen/
byte_swap_2.S 15 _ENTRY(_C_LABEL(htons))
26 END(_C_LABEL(htons))
  /src/sys/lib/libkern/arch/sh3/
byte_swap_2.S 38 ALTENTRY(htons) function
46 ALTENTRY(htons) function
  /src/usr.sbin/ldpd/
notifications.c 54 t->type = htons(LDP_NOTIFICATION);
55 t->length = htons(sizeof(struct notification_tlv) - TLV_TYPE_LENGTH);
56 t->status = htons(TLV_STATUS);
  /src/external/bsd/ipf/dist/lib/
portname.c 23 if ((sv = getservbyport(htons(port), "tcp"))) {
26 sv1 = getservbyport(htons(port), "udp");
33 if ((sv = getservbyport(htons(port), p->p_name))) {
  /src/common/lib/libc/arch/aarch64/gen/
byte_swap_2.S 46 STRONG_ALIAS(_C_LABEL(htons), FUNC)
  /src/common/lib/libc/arch/alpha/gen/
byte_swap_2.S 43 XLEAF(htons, 1)
  /src/common/lib/libc/arch/vax/gen/
bswap16.S 40 ALTENTRY(_C_LABEL(htons))
  /src/lib/libc/arch/vax/gen/
byte_swap_2.S 33 /* .asciz "@(#)htons.s 8.1 (Berkeley) 6/4/93" */
38 ALTENTRY(htons) function
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
get_port.c 51 return htons(default_port);
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/arpa/
inet.d 50 uint16_t htons(uint16_t);
74 uint16_t htons(uint16_t);
97 uint16_t htons(uint16_t);
120 uint16_t htons(uint16_t);
143 uint16_t htons(uint16_t);
168 uint16_t htons(uint16_t x) { return x; }
175 uint16_t htons(uint16_t x) { return byteswap(x); }
178 alias ntohs = htons;
199 uint16_t htons(uint16_t);
222 uint16_t htons(uint16_t)
    [all...]
  /src/external/bsd/ipf/dist/ipsend/
iptests.c 151 u->uh_sport = htons(1);
152 u->uh_dport = htons(9);
154 u->uh_ulen = htons(sizeof(*u) + 4);
236 ip->ip_id = htons(id++);
247 ip->ip_id = htons(id++);
266 ip->ip_id = htons(id++);
279 ip->ip_id = htons(id++);
297 ip->ip_off = htons(IP_MF);
305 ip->ip_off = htons(IP_MF);
313 ip->ip_off = htons(0xa000)
    [all...]
  /src/external/mpl/dhcp/dist/server/tests/
load_bal_unittest.c 84 raw.secs = htons(0);
95 raw.secs = htons(2);
105 raw.secs = htons(6);
115 raw.secs = htons(257);
167 raw.secs = htons(256);
177 raw.secs = htons(256 * 6);
  /src/common/lib/libc/arch/mips/gen/
byte_swap_2.S 39 RCSID("from: @(#)htons.s 8.1 (Berkeley) 6/4/93")
57 ALEAF(htons)
78 NLEAF(htons)
82 END(htons)
  /src/sys/lib/libsa/
arp.c 137 ah->arp_hrd = htons(ARPHRD_ETHER);
138 ah->arp_pro = htons(ETHERTYPE_IP);
141 ah->arp_op = htons(ARPOP_REQUEST);
221 if (ah->arp_hrd != htons(ARPHRD_ETHER) ||
222 ah->arp_pro != htons(ETHERTYPE_IP) ||
233 if (ah->arp_op == htons(ARPOP_REQUEST)) {
242 if (ah->arp_op != htons(ARPOP_REPLY)) {
279 if (arp->arp_hrd != htons(ARPHRD_ETHER) ||
280 arp->arp_pro != htons(ETHERTYPE_IP) ||
291 if (arp->arp_op != htons(ARPOP_REQUEST))
    [all...]
rarp.c 120 ap->arp_hrd = htons(ARPHRD_ETHER);
121 ap->arp_pro = htons(ETHERTYPE_IP);
124 ap->arp_op = htons(ARPOP_REVREQUEST);
205 if (ap->arp_hrd != htons(ARPHRD_ETHER) ||
206 ap->arp_pro != htons(ETHERTYPE_IP) ||
217 if (ap->arp_op != htons(ARPOP_REVREPLY)) {

Completed in 47 milliseconds

1 2 3 4 5 6 7 8 91011>>