Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/e2fsprogs/lib/e2p/
Dljs.c72 size = (ntohl(jsb->s_blocksize) / 1024) * ntohl(jsb->s_maxlen); in e2p_list_journal_super()
77 nr_users = (unsigned int) ntohl(jsb->s_nr_users); in e2p_list_journal_super()
78 if (exp_block_size != (int) ntohl(jsb->s_blocksize)) in e2p_list_journal_super()
80 (unsigned int)ntohl(jsb->s_blocksize)); in e2p_list_journal_super()
82 (unsigned int)ntohl(jsb->s_maxlen)); in e2p_list_journal_super()
83 if (ntohl(jsb->s_first) != 1) in e2p_list_journal_super()
85 (unsigned int)ntohl(jsb->s_first)); in e2p_list_journal_super()
88 (unsigned int)ntohl(jsb->s_sequence), in e2p_list_journal_super()
89 (unsigned int)ntohl(jsb->s_start)); in e2p_list_journal_super()
112 (int) ntohl(jsb->s_errno)); in e2p_list_journal_super()
/external/strace/tests-m32/
Dnetlink_kobject_uevent.c77 ntohl(uh.magic), uh.header_size, uh.properties_off, in test_nlmsg_type_udev()
78 uh.properties_len, ntohl(uh.filter_subsystem_hash), in test_nlmsg_type_udev()
79 ntohl(uh.filter_devtype_hash), ntohl(uh.filter_tag_bloom_hi), in test_nlmsg_type_udev()
80 ntohl(uh.filter_tag_bloom_lo), uh_len, errstr); in test_nlmsg_type_udev()
92 ntohl(uh.magic), uh.header_size, uh.properties_off, in test_nlmsg_type_udev()
93 uh.properties_len, ntohl(uh.filter_subsystem_hash), in test_nlmsg_type_udev()
94 ntohl(uh.filter_devtype_hash), ntohl(uh.filter_tag_bloom_hi), in test_nlmsg_type_udev()
95 ntohl(uh.filter_tag_bloom_lo)); in test_nlmsg_type_udev()
/external/strace/tests/
Dnetlink_kobject_uevent.c77 ntohl(uh.magic), uh.header_size, uh.properties_off, in test_nlmsg_type_udev()
78 uh.properties_len, ntohl(uh.filter_subsystem_hash), in test_nlmsg_type_udev()
79 ntohl(uh.filter_devtype_hash), ntohl(uh.filter_tag_bloom_hi), in test_nlmsg_type_udev()
80 ntohl(uh.filter_tag_bloom_lo), uh_len, errstr); in test_nlmsg_type_udev()
92 ntohl(uh.magic), uh.header_size, uh.properties_off, in test_nlmsg_type_udev()
93 uh.properties_len, ntohl(uh.filter_subsystem_hash), in test_nlmsg_type_udev()
94 ntohl(uh.filter_devtype_hash), ntohl(uh.filter_tag_bloom_hi), in test_nlmsg_type_udev()
95 ntohl(uh.filter_tag_bloom_lo)); in test_nlmsg_type_udev()
/external/strace/tests-mx32/
Dnetlink_kobject_uevent.c77 ntohl(uh.magic), uh.header_size, uh.properties_off, in test_nlmsg_type_udev()
78 uh.properties_len, ntohl(uh.filter_subsystem_hash), in test_nlmsg_type_udev()
79 ntohl(uh.filter_devtype_hash), ntohl(uh.filter_tag_bloom_hi), in test_nlmsg_type_udev()
80 ntohl(uh.filter_tag_bloom_lo), uh_len, errstr); in test_nlmsg_type_udev()
92 ntohl(uh.magic), uh.header_size, uh.properties_off, in test_nlmsg_type_udev()
93 uh.properties_len, ntohl(uh.filter_subsystem_hash), in test_nlmsg_type_udev()
94 ntohl(uh.filter_devtype_hash), ntohl(uh.filter_tag_bloom_hi), in test_nlmsg_type_udev()
95 ntohl(uh.filter_tag_bloom_lo)); in test_nlmsg_type_udev()
/external/u-boot/drivers/net/mscc_eswitch/
Dmscc_xfer.c15 #define XTR_EOF_0 ntohl(0x80000000u)
16 #define XTR_EOF_1 ntohl(0x80000001u)
17 #define XTR_EOF_2 ntohl(0x80000002u)
18 #define XTR_EOF_3 ntohl(0x80000003u)
19 #define XTR_PRUNED ntohl(0x80000004u)
20 #define XTR_ABORT ntohl(0x80000005u)
21 #define XTR_ESCAPE ntohl(0x80000006u)
22 #define XTR_NOT_READY ntohl(0x80000007u)
78 cmp = ntohl(val); in mscc_recv()
/external/u-boot/net/
Dnfs.c440 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in rpc_lookup_reply()
442 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in rpc_lookup_reply()
452 nfs_server_mount_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
455 nfs_server_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
470 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_mount_reply()
472 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_mount_reply()
496 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_umountall_reply()
498 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_umountall_reply()
520 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_lookup_reply()
522 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_lookup_reply()
[all …]
/external/mesa3d/src/util/sha1/
Dsha1.h43 x[0] = ntohl(x[0]); \
44 x[1] = ntohl(x[1]); \
45 x[2] = ntohl(x[2]); \
46 x[3] = ntohl(x[3]); \
47 x[4] = ntohl(x[4]); } while (0)
/external/libnl/lib/netfilter/
Dlog_msg.c97 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
111 nfnl_log_msg_set_indev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
115 nfnl_log_msg_set_outdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
119 nfnl_log_msg_set_physindev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
123 nfnl_log_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
148 nfnl_log_msg_set_uid(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
152 nfnl_log_msg_set_gid(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
156 nfnl_log_msg_set_seq(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
160 nfnl_log_msg_set_seq_global(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
Dqueue_msg.c89 nfnl_queue_msg_set_packetid(msg, ntohl(hdr->packet_id)); in nfnlmsg_queue_msg_parse()
97 nfnl_queue_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse()
111 nfnl_queue_msg_set_indev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse()
115 nfnl_queue_msg_set_outdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse()
119 nfnl_queue_msg_set_physindev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse()
123 nfnl_queue_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse()
185 ntohl(nfnl_queue_msg_get_mark(msg))) < 0) in __nfnl_queue_msg_build_verdict()
/external/strace/
Dnetlink_kobject_uevent.c51 tprintf(", magic=htonl(%#x)", ntohl(uh.magic)); in decode_netlink_kobject_uevent()
55 tprintf(", filter_subsystem_hash=htonl(%#x)", ntohl(uh.filter_subsystem_hash)); in decode_netlink_kobject_uevent()
56 tprintf(", filter_devtype_hash=htonl(%#x)", ntohl(uh.filter_devtype_hash)); in decode_netlink_kobject_uevent()
57 tprintf(", filter_tag_bloom_hi=htonl(%#x)", ntohl(uh.filter_tag_bloom_hi)); in decode_netlink_kobject_uevent()
58 tprintf(", filter_tag_bloom_lo=htonl(%#x)", ntohl(uh.filter_tag_bloom_lo)); in decode_netlink_kobject_uevent()
/external/openssh/openbsd-compat/
Dsha1.h51 x[0] = ntohl(x[0]); \
52 x[1] = ntohl(x[1]); \
53 x[2] = ntohl(x[2]); \
54 x[3] = ntohl(x[3]); \
55 x[4] = ntohl(x[4]); } while (0)
/external/libpcap/
Dextract.h108 return ((uint32_t)ntohl(((const unaligned_uint32_t *)(p))->val)); in EXTRACT_32BITS()
114 return ((uint64_t)(((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 0)->val)) << 32 | \ in EXTRACT_64BITS()
115 ((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 1)->val)) << 0)); in EXTRACT_64BITS()
158 return ((uint32_t)ntohl(*(const uint32_t *)(p))); in EXTRACT_32BITS()
164 return ((uint64_t)(((uint64_t)ntohl(*((const uint32_t *)(p) + 0))) << 32 | \ in EXTRACT_64BITS()
165 ((uint64_t)ntohl(*((const uint32_t *)(p) + 1))) << 0)); in EXTRACT_64BITS()
/external/tcpdump/
Dextract.h140 return ((uint32_t)ntohl(((const unaligned_uint32_t *)(p))->val)); in EXTRACT_32BITS()
146 return ((uint64_t)(((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 0)->val)) << 32 | in EXTRACT_64BITS()
147 ((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 1)->val)) << 0)); in EXTRACT_64BITS()
190 return ((uint32_t)ntohl(*(const uint32_t *)(p))); in EXTRACT_32BITS()
196 return ((uint64_t)(((uint64_t)ntohl(*((const uint32_t *)(p) + 0))) << 32 | in EXTRACT_64BITS()
197 ((uint64_t)ntohl(*((const uint32_t *)(p) + 1))) << 0)); in EXTRACT_64BITS()
/external/libnetfilter_conntrack/src/conntrack/
Dparse.c267 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_PROTOINFO_SCTP_VTAG_ORIGINAL-1])); in __parse_protoinfo_sctp()
273 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_PROTOINFO_SCTP_VTAG_REPLY-1])); in __parse_protoinfo_sctp()
334 = ntohl(*(uint32_t *) in __parse_counters()
358 = ntohl(*(uint32_t *) in __parse_counters()
389 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_NAT_SEQ_CORRECTION_POS-1])); in __parse_nat_seq()
402 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_NAT_SEQ_OFFSET_BEFORE-1])); in __parse_nat_seq()
415 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_NAT_SEQ_OFFSET_AFTER-1])); in __parse_nat_seq()
547 ct->status = ntohl(*(uint32_t *)NFA_DATA(cda[CTA_STATUS-1])); in __parse_conntrack()
555 ct->timeout = ntohl(*(uint32_t *)NFA_DATA(cda[CTA_TIMEOUT-1])); in __parse_conntrack()
560 ct->mark = ntohl(*(uint32_t *)NFA_DATA(cda[CTA_MARK-1])); in __parse_conntrack()
[all …]
Dparse_mnl.c416 ntohl(mnl_attr_get_u32(tb[CTA_PROTOINFO_SCTP_VTAG_ORIGINAL])); in nfct_parse_protoinfo_sctp()
422 ntohl(mnl_attr_get_u32(tb[CTA_PROTOINFO_SCTP_VTAG_REPLY])); in nfct_parse_protoinfo_sctp()
555 ntohl(mnl_attr_get_u32(tb[CTA_COUNTERS32_PACKETS])); in nfct_parse_counters()
573 ntohl(mnl_attr_get_u32(tb[CTA_COUNTERS32_BYTES])); in nfct_parse_counters()
624 ntohl(mnl_attr_get_u32(tb[CTA_NAT_SEQ_CORRECTION_POS])); in nfct_parse_nat_seq()
637 ntohl(mnl_attr_get_u32(tb[CTA_NAT_SEQ_OFFSET_BEFORE])); in nfct_parse_nat_seq()
650 ntohl(mnl_attr_get_u32(tb[CTA_NAT_SEQ_OFFSET_AFTER])); in nfct_parse_nat_seq()
908 ct->status = ntohl(mnl_attr_get_u32(tb[CTA_STATUS])); in nfct_payload_parse()
918 ct->timeout = ntohl(mnl_attr_get_u32(tb[CTA_TIMEOUT])); in nfct_payload_parse()
923 ct->mark = ntohl(mnl_attr_get_u32(tb[CTA_MARK])); in nfct_payload_parse()
[all …]
/external/iproute2/tc/
Df_u32.c832 switch (ntohl(key->mask)) { in print_ipv4()
835 ntohl(key->val) >> 24); in print_ipv4()
839 ntohl(key->val) >> 16); in print_ipv4()
844 if (ntohl(key->mask) == 0x00ff0000) { in print_ipv4()
846 ntohl(key->val) >> 16); in print_ipv4()
866 switch (ntohl(key->mask)) { in print_ipv4()
869 ntohl(key->val) & 0xffff); in print_ipv4()
873 ntohl(key->val) >> 16); in print_ipv4()
877 ntohl(key->val) & 0xffff, in print_ipv4()
878 ntohl(key->val) >> 16); in print_ipv4()
[all …]
/external/u-boot/cmd/
Dtsi148.c204 i, ntohl(__raw_readl(&dev->uregs->outbound[i].otat))); in tsi148_pci_slave_window()
206 i, ntohl(__raw_readl(&dev->uregs->outbound[i].otsal))); in tsi148_pci_slave_window()
208 i, ntohl(__raw_readl(&dev->uregs->outbound[i].oteal))); in tsi148_pci_slave_window()
210 i, ntohl(__raw_readl(&dev->uregs->outbound[i].otofl))); in tsi148_pci_slave_window()
297 i, ntohl(__raw_readl(&dev->uregs->inbound[i].itat))); in tsi148_vme_slave_window()
299 i, ntohl(__raw_readl(&dev->uregs->inbound[i].itsal))); in tsi148_vme_slave_window()
301 i, ntohl(__raw_readl(&dev->uregs->inbound[i].iteal))); in tsi148_vme_slave_window()
303 i, ntohl(__raw_readl(&dev->uregs->inbound[i].itofl))); in tsi148_vme_slave_window()
/external/libnetfilter_conntrack/src/expect/
Dparse.c68 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_TIMEOUT-1])); in __parse_expect()
79 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_FLAGS-1])); in __parse_expect()
89 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_CLASS-1])); in __parse_expect()
110 ntohl(*((uint32_t *) in __parse_expect()
/external/python/cpython2/Lib/plat-irix6/
DIN.py55 def ntohl(x): return (x) function
63 def htonl(x): return ntohl(x)
264 def IPV6_GET_FLOWLABEL(x): return (ntohl(x) & 0x00ffffff)
266 def IPV6_GET_PRIORITY(x): return ((ntohl(x) >> 24) & 0xf)
268 def IPV6_GET_VERSION(x): return ((ntohl(x) >> 28) & 0xf)
/external/ltp/testcases/network/lib6/
Dasapi_01.c180 expected += ntohl(tpt->tp_dlen); in recvtprot()
189 expected += ntohl(tpt->tp_dlen); in recvtprot()
257 pttp->tp_offset = ntohl(offset); in client()
258 pttp->tp_dlen = ntohl(cstab[i].cs_dlen); in client()
259 pttp->tp_seq = ntohl(++seq); in client()
309 pend = rpbuf + sizeof(struct tprot) + ntohl(prtp->tp_dlen); in client()
/external/dnsmasq/src/
Ddhcp.c331 unsigned int start, end, addr = ntohl(taddr.s_addr); in address_available()
338 start = ntohl(tmp->start.s_addr); in address_available()
339 end = ntohl(tmp->end.s_addr); in address_available()
428 ntohl(c->start.s_addr) + in address_allocate()
429 ((j + c->addr_epoch) % (1 + ntohl(c->end.s_addr) - ntohl(c->start.s_addr)))); in address_allocate()
443 (!IN_CLASSC(ntohl(addr.s_addr)) || ((ntohl(addr.s_addr) & 0xff) != 0xff && in address_allocate()
444 … ((ntohl(addr.s_addr) & 0xff) != 0x0)))) { in address_allocate()
488 addr.s_addr = htonl(ntohl(addr.s_addr) + 1); in address_allocate()
490 if (addr.s_addr == htonl(ntohl(c->end.s_addr) + 1)) addr = c->start; in address_allocate()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/
Dcgscc-libcall-update.ll50 %tmp7 = call i32 @ntohl(i32 %tmp6)
51 ; CHECK-NOT: call i32 @ntohl
58 define internal i32 @ntohl(i32 %x) {
59 ; CHECK-LABEL: define internal i32 @ntohl(
/external/ppp/pppd/plugins/radius/
Dip_util.c35 return ntohl(inet_addr (host)); in rc_get_ipaddr()
42 return ntohl((*(UINT4 *) hp->h_addr)); in rc_get_ipaddr()
/external/e2fsprogs/debugfs/
Djournal.c566 switch (ntohl(jsb->s_header.h_blocktype)) { in ext2fs_journal_load()
578 if (ntohl(jsb->s_nr_users) > 1 && in ext2fs_journal_load()
581 if (ntohl(jsb->s_nr_users) > 1) in ext2fs_journal_load()
629 if (ntohl(jsb->s_maxlen) < journal->j_maxlen) in ext2fs_journal_load()
630 journal->j_maxlen = ntohl(jsb->s_maxlen); in ext2fs_journal_load()
631 else if (ntohl(jsb->s_maxlen) > journal->j_maxlen) in ext2fs_journal_load()
634 journal->j_tail_sequence = ntohl(jsb->s_sequence); in ext2fs_journal_load()
636 journal->j_tail = ntohl(jsb->s_start); in ext2fs_journal_load()
637 journal->j_first = ntohl(jsb->s_first); in ext2fs_journal_load()
638 journal->j_last = ntohl(jsb->s_maxlen); in ext2fs_journal_load()
/external/webrtc/webrtc/modules/audio_coding/test/
DRTPFile.cc158 start_sec = ntohl(start_sec); in ReadHeader()
160 start_usec = ntohl(start_usec); in ReadHeader()
162 source = ntohl(source); in ReadHeader()
204 *offset = ntohl(*offset); in Read()

12345678910