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

1 2 3 4 5 6 7 8 910

  /src/sys/lib/libkern/arch/alpha/
htonl.S 1 /* $NetBSD: htonl.S,v 1.1 1996/04/17 22:46:41 cgd Exp $ */
30 #define NAME htonl
  /src/sys/lib/libkern/arch/ia64/
htonl.S 1 /* $NetBSD: htonl.S,v 1.1 2006/04/07 13:57:43 cherry Exp $ */
30 #define NAME htonl
  /src/lib/libc/net/
Lint_htonl.c 9 #undef htonl
13 htonl(uint32_t host32) function in typeref:typename:uint32_t
  /src/common/lib/libc/arch/m68k/net/
htonl.S 1 /* $NetBSD: htonl.S,v 1.3 2013/07/16 23:24:19 matt Exp $ */
40 RCSID("from: @(#)htonl.s 5.1 (Berkeley) 5/12/90")
42 RCSID("$NetBSD: htonl.S,v 1.3 2013/07/16 23:24:19 matt Exp $")
46 /* netorder = htonl(hostorder) */
48 ENTRY(htonl) function
51 END(htonl)
  /src/common/lib/libc/arch/sparc/net/
htonl.S 1 /* $NetBSD: htonl.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
35 * from: Header: htonl.s,v 1.1 92/06/25 12:47:05 torek Exp
41 .asciz "@(#)htonl.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: htonl.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
47 /* netorder = htonl(hostorder) */
50 ENTRY(htonl) function
  /src/common/lib/libc/arch/sparc64/net/
htonl.S 1 /* $NetBSD: htonl.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
35 * from: Header: htonl.s,v 1.1 92/06/25 12:47:05 torek Exp
41 .asciz "@(#)htonl.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: htonl.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
47 /* netorder = htonl(hostorder) */
50 ENTRY(htonl) function
  /src/common/lib/libc/net/
htonl.c 1 /* $NetBSD: htonl.c,v 1.3 2012/03/21 20:02:56 he Exp $ */
10 __RCSID("$NetBSD: htonl.c,v 1.3 2012/03/21 20:02:56 he Exp $");
15 #undef htonl
18 htonl(uint32_t x) function in typeref:typename:uint32_t
  /src/sys/fs/nfs/common/
old_xdr_subs.h 44 * These use the MACHINE DEPENDENT routines ntohl, htonl
47 * To simplify the implementation, we use ntohl/htonl even on big-endian
54 #define txdr_unsigned(v) (htonl((int32_t)(v)))
66 ((struct nfsv2_time *)(t))->nfsv2_sec = htonl((f)->tv_sec); \
68 ((struct nfsv2_time *)(t))->nfsv2_usec = htonl((f)->tv_nsec / 1000); \
80 ((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
81 ((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
89 ((u_int32_t *)(t))[0] = htonl((u_int32_t)((f) >> 32)); \
90 ((u_int32_t *)(t))[1] = htonl((u_int32_t)((f) & 0xffffffff)); \
xdr_subs.h 42 * These use the MACHINE DEPENDENT routines ntohl, htonl
45 * To simplify the implementation, we use ntohl/htonl even on big-endian
52 #define txdr_unsigned(v) (htonl((int32_t)(v)))
63 ((struct nfsv2_time *)(t))->nfsv2_sec = htonl((f)->tv_sec); \
65 ((struct nfsv2_time *)(t))->nfsv2_usec = htonl((f)->tv_nsec / 1000); \
76 ((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
77 ((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
88 ((struct nfsv4_time *)(t))->nfsv4_sec = htonl((f)->tv_sec); \
89 ((struct nfsv4_time *)(t))->nfsv4_nsec = htonl((f)->tv_nsec); \
97 ((u_int32_t *)(t))[0] = htonl((u_int32_t)((f) >> 32));
    [all...]
  /src/common/lib/libc/arch/i386/gen/
byte_swap_4.S 34 * from: @(#)htonl.s 5.3 (Berkeley) 12/17/90
48 _ENTRY(_C_LABEL(htonl))
59 END(_C_LABEL(htonl))
  /src/common/lib/libc/arch/x86_64/gen/
byte_swap_4.S 14 _ENTRY(_C_LABEL(htonl))
25 END(_C_LABEL(htonl))
  /src/sys/lib/libkern/arch/sh3/
byte_swap_4.S 38 ALTENTRY(htonl) function
47 ALTENTRY(htonl) function
  /src/sys/nfs/
xdr_subs.h 42 * These use the MACHINE DEPENDENT routines ntohl, htonl
45 * To simplify the implementation, we use ntohl/htonl even on big-endian
52 #define txdr_unsigned(v) (htonl((int32_t)(v)))
80 ((struct nfsv2_time *)(t))->nfsv2_sec = htonl((f)->tv_sec); \
83 htonl((f)->tv_nsec / 1000); \
93 ((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
94 ((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
103 ((u_int32_t *)(t))[0] = htonl((u_int32_t)((f) >> 32)); \
104 ((u_int32_t *)(t))[1] = htonl((u_int32_t)((f) & 0xffffffff)); \
  /src/games/hunt/hunt/
connect.c 51 int32_t wire_status = htonl(enter_status);
54 uid = htonl(getuid());
73 mode = htonl(mode);
  /src/common/lib/libc/arch/aarch64/gen/
byte_swap_4.S 46 STRONG_ALIAS(_C_LABEL(htonl), FUNC)
  /src/lib/libc/arch/sh3/net/
htonl.c 1 /* $NetBSD: htonl.c,v 1.3 2005/12/24 23:10:08 perry Exp $ */
34 * from: @(#)htonl.s 5.2 (Berkeley) 12/17/90
40 __RCSID("$NetBSD: htonl.c,v 1.3 2005/12/24 23:10:08 perry Exp $");
43 /* hostorder = htonl(netorder) */
46 htonl(x) function
  /src/lib/libc/arch/vax/gen/
byte_swap_4.S 33 /* .asciz "@(#)htonl.s 8.1 (Berkeley) 6/4/93" */
38 ALTENTRY(htonl) function
  /src/usr.bin/talk/
invite.c 83 msg.id_num = htonl(-1); /* an impossible id_num */
110 msg.id_num = htonl(local_id);
112 msg.id_num = htonl(remote_id);
127 msg.id_num = htonl(remote_id + 1);
178 msg.id_num = htonl(remote_id);
184 msg.id_num = htonl(local_id);
get_addrs.c 54 msg.pid = htonl(getpid());
73 htonl(INADDR_LOOPBACK);
  /src/usr.sbin/ldpd/
notifications.c 58 t->st_code = htonl(n);
59 t->msg_id = htonl(msg);
  /src/usr.sbin/timed/timed/
byteorder.c 55 ptr->tsp_time.tv_sec = htonl((uint32_t)ptr->tsp_time.tv_sec);
56 ptr->tsp_time.tv_usec = htonl((uint32_t)ptr->tsp_time.tv_usec);
  /src/usr.bin/audio/common/
sun.c 169 auh.magic = htonl(AUDIO_FILE_MAGIC);
171 auh.data_size = htonl(AUDIO_UNKNOWN_SIZE);
173 auh.data_size = htonl(ti->total_size);
176 auh.encoding = htonl(sunenc);
177 auh.sample_rate = htonl(ti->sample_rate);
178 auh.channels = htonl(ti->channels);
184 auh.hdr_size = htonl(sizeof(auh) + infolen);
187 auh.hdr_size = htonl(sizeof(auh) + *leftp);
  /src/common/lib/libc/arch/vax/gen/
bswap32.S 40 ALTENTRY(_C_LABEL(htonl))
  /src/sys/netinet/
ip_ecn.c 115 *outer &= ~htonl(0xff << 20);
116 *outer |= htonl((u_int32_t)outer8 << 20);
130 *inner &= ~htonl(0xff << 20);
131 *inner |= htonl((u_int32_t)inner8 << 20);
  /src/common/lib/libc/arch/mips/gen/
byte_swap_4.S 39 RCSID("from: @(#)htonl.s 8.1 (Berkeley) 6/4/93")
57 ALEAF(htonl) # a0 = 0x11223344, return 0x44332211
82 NLEAF(htonl) # a0 = 0x11223344, return 0x44332211
86 END(htonl)

Completed in 23 milliseconds

1 2 3 4 5 6 7 8 910