Searched refs:htonl (Results 1 - 25 of 203) sorted by relevance

123456789

/external/kernel-headers/original/linux/
H A Din.h242 /* <asm/byteorder.h> contains the htonl type stuff.. */
247 #define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000))
248 #define MULTICAST(x) (((x) & htonl(0xf0000000)) == htonl(0xe0000000))
249 #define BADCLASS(x) (((x) & htonl(0xf0000000)) == htonl(0xf0000000))
250 #define ZERONET(x) (((x) & htonl(0xff000000)) == htonl(0x00000000))
251 #define LOCAL_MCAST(x) (((x) & htonl(
[all...]
/external/iproute2/tc/
H A Df_rsvp.c56 pi->key = htonl(((__u32)tmp)<<16);
57 pi->mask = htonl(0xFFFF0000);
60 pi->key = htonl(((__u32)tmp));
61 pi->mask = htonl(0x0000FFFF);
82 pi->mask = htonl(0xFFFFFFFF);
83 pi->key = htonl(gpi);
94 pi->mask = htonl(0xFFFFFFFF);
95 pi->key = htonl(gpi);
107 pi->mask = htonl(0x000FFFFF);
108 pi->key = htonl(flabe
[all...]
/external/dhcpcd/
H A Dipv4ll.c56 u32 = htonl(LINKLOCAL_MASK);
61 u32 = htonl(LINKLOCAL_BRDC);
75 addr = htonl(LINKLOCAL_ADDR |
96 if (IN_LINKLOCAL(htonl(iface->addr.s_addr))) {
109 if (!IN_LINKLOCAL(htonl(addr))) {
H A Dif-pref.c55 sill = (si->state->new->cookie == htonl(MAGIC_COOKIE));
56 till = (ti->state->new->cookie == htonl(MAGIC_COOKIE));
/external/mdnsresponder/mDNSShared/
H A Ddnssd_ipc.c156 hdr->version = htonl(hdr->version);
157 hdr->datalen = htonl(hdr->datalen);
158 hdr->ipc_flags = htonl(hdr->ipc_flags);
159 hdr->op = htonl(hdr->op );
160 hdr->reg_index = htonl(hdr->reg_index);
/external/srtp/crypto/include/
H A Dcrypto_math.h153 tmp = htonl(x->v32[3]) + htonl(y->v32[3]); \
156 tmp = htonl(x->v32[2]) + htonl(y->v32[2]) \
157 + htonl(tmp >> 32); \
160 tmp = htonl(x->v32[1]) + htonl(y->v32[1]) \
161 + htonl(tmp >> 32); \
164 tmp = htonl(x->v32[0]) + htonl(
[all...]
H A Ddatatypes.h297 tmp = htonl(x->v32[3]) + htonl(y->v32[3]); \
300 tmp = htonl(x->v32[2]) + htonl(y->v32[2]) \
301 + htonl(tmp >> 32); \
304 tmp = htonl(x->v32[1]) + htonl(y->v32[1]) \
305 + htonl(tmp >> 32); \
308 tmp = htonl(x->v32[0]) + htonl(
[all...]
/external/kernel-headers/original/linux/byteorder/
H A Dgeneric.h51 * htonl(__u32 x)
147 #undef htonl macro
155 extern __be32 htonl(__u32);
166 #define htonl(x) ___htonl(x) macro
/external/webkit/Source/WebCore/platform/graphics/
H A DWOFFFileFormat.cpp40 #define htonl(x) std_htonl(x) macro
51 #define htonl(x) ((uint32_t)(x)) macro
56 #define htonl(x) ntohl(x) macro
62 #define htonl(x) ntohl(x) macro
94 uint32_t bigEndianValue = htonl(value);
222 *sfntTableDirectoryPtr++ = htonl(tableTag);
223 *sfntTableDirectoryPtr++ = htonl(tableOrigChecksum);
224 *sfntTableDirectoryPtr++ = htonl(sfnt.size());
225 *sfntTableDirectoryPtr++ = htonl(tableOrigLength);
/external/chromium/net/spdy/
H A Dspdy_protocol.h318 id = htonl(id & kSettingsIdMask);
376 length = htonl(length & kLengthMask);
415 frame_->data_.stream_id_ = htonl(id & kStreamIdMask);
507 mutable_block()->stream_id_ = htonl(id & kStreamIdMask);
515 mutable_block()->associated_stream_id_ = htonl(id & kStreamIdMask);
557 mutable_block()->stream_id_ = htonl(id & kStreamIdMask);
594 mutable_block()->stream_id_ = htonl(id & kStreamIdMask);
606 mutable_block()->status_ = htonl(static_cast<uint32>(status));
634 mutable_block()->num_entries_ = htonl(val);
679 mutable_block()->unique_id_ = htonl(unique_i
[all...]
H A Dspdy_frame_builder.h71 value = htonl(value);
79 value = htonl(value);
/external/e2fsprogs/lib/ext2fs/
H A Djfs_compat.h18 #define cpu_to_be32(n) htonl(n)
H A Dmkjournal.c59 jsb->s_header.h_magic = htonl(JFS_MAGIC_NUMBER);
61 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V1);
63 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V2);
64 jsb->s_blocksize = htonl(fs->blocksize);
65 jsb->s_maxlen = htonl(size);
66 jsb->s_nr_users = htonl(1);
67 jsb->s_first = htonl(1);
68 jsb->s_sequence = htonl(1);
78 jsb->s_first = htonl(3);
80 jsb->s_first = htonl(
[all...]
/external/ppp/pppd/plugins/radius/
H A Dip_util.c106 UINT4 n_ipaddr = htonl (h_ipaddr);
/external/webkit/Source/WebKit/android/wds/
H A DConnection.cpp62 addr.sin_addr.s_addr = htonl(INADDR_ANY);
/external/tcpdump/
H A Dip6.h99 #define IPV6_FLOWINFO_MASK ((u_int32_t)htonl(0x0fffffff)) /* flow info (28 bits) */
100 #define IPV6_FLOWLABEL_MASK ((u_int32_t)htonl(0x000fffff)) /* flow label (20 bits) */
H A Dtcpdump-stdinc.h149 #undef htonl macro
157 #define htonl(x) __ntohl(x) macro
/external/mtpd/
H A Dpptp.c63 #define MAGIC_COOKIE htonl(0x1A2B3C4D)
224 outgoing.sccrq.framing = htonl(3);
225 outgoing.sccrq.bearer = htonl(3);
293 outgoing.ocrq.minimum_speed = htonl(1000);
294 outgoing.ocrq.maximum_speed = htonl(100000000);
295 outgoing.ocrq.bearer = htonl(3);
296 outgoing.ocrq.framing = htonl(3);
/external/chromium/third_party/libevent/test/
H A Dregress_dns.c174 in.s_addr = htonl(0x7f000001ul); /* 127.0.0.1 */
197 ans.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */
252 if (in_addrs[0].s_addr != htonl(0xc0a80b0bUL) || ttl != 12345) {
331 my_addr.sin_addr.s_addr = htonl(0x7f000001UL);
343 resolve_addr.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */
/external/kernel-headers/original/linux/nfsd/
H A Dnfsfh.h170 fsidv[0] = htonl((MAJOR(dev)<<16) |
182 fsidv[0] = htonl(MAJOR(dev));
183 fsidv[1] = htonl(MINOR(dev));
280 fhp->fh_post_rdev[0] = htonl((u32)imajor(inode));
281 fhp->fh_post_rdev[1] = htonl((u32)iminor(inode));
/external/openssh/openbsd-compat/
H A Dport-tun.c239 if (*af == htonl(AF_INET6))
240 *af = htonl(OPENBSD_AF_INET6);
242 *af = htonl(OPENBSD_AF_INET);
266 *af = htonl(AF_INET6);
268 *af = htonl(AF_INET);
/external/qemu/slirp/
H A Dbootp.c67 paddr->s_addr = htonl(ntohl(special_addr.s_addr) | (i + START_ADDR));
102 paddr->s_addr = htonl(ntohl(special_addr.s_addr) | (i + START_ADDR));
221 saddr.sin_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_ALIAS);
278 dns_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_DNS);
285 val = htonl(LEASE_TIME);
/external/qemu/slirp-android/
H A Dbootp.c235 rbp->bp_yiaddr = htonl(sock_address_get_ip(&daddr)); /* Client IP address */
236 rbp->bp_siaddr = htonl(sock_address_get_ip(&saddr)); /* Server IP address */
243 uint32_t saddr_ip = htonl(sock_address_get_ip(&saddr));
282 dns_addr = htonl(special_addr_ip | CTL_DNS);
289 val = htonl(LEASE_TIME);
/external/srtp/test/
H A Drtp.c37 sender->message.header.ts = htonl(sender->message.header.ts);
108 sender->message.header.ssrc = htonl(ssrc);
132 rcvr->message.header.ssrc = htonl(ssrc);
/external/kernel-headers/original/asm-mips/
H A Dchecksum.h255 "0" (htonl(len)), "1" (htonl(proto)), "r" (sum));

Completed in 594 milliseconds

123456789