Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 200 of 322) sorted by relevance

12

/linux-4.1.27/net/netfilter/
Dnf_conntrack_seqadj.c49 before(this_way->correction_pos, ntohl(seq))) { in nf_ct_seqadj_set()
50 this_way->correction_pos = ntohl(seq); in nf_ct_seqadj_set()
85 if (after(ntohl(sack->start_seq) - seq->offset_before, in nf_ct_sack_block_adjust()
87 new_start_seq = htonl(ntohl(sack->start_seq) - in nf_ct_sack_block_adjust()
90 new_start_seq = htonl(ntohl(sack->start_seq) - in nf_ct_sack_block_adjust()
93 if (after(ntohl(sack->end_seq) - seq->offset_before, in nf_ct_sack_block_adjust()
95 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust()
98 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust()
102 ntohl(sack->start_seq), ntohl(new_start_seq), in nf_ct_sack_block_adjust()
103 ntohl(sack->end_seq), ntohl(new_end_seq)); in nf_ct_sack_block_adjust()
[all …]
Dxt_iprange.c27 m = ntohl(iph->saddr) < ntohl(info->src_min.ip); in iprange_mt4()
28 m |= ntohl(iph->saddr) > ntohl(info->src_max.ip); in iprange_mt4()
40 m = ntohl(iph->daddr) < ntohl(info->dst_min.ip); in iprange_mt4()
41 m |= ntohl(iph->daddr) > ntohl(info->dst_max.ip); in iprange_mt4()
62 return ntohl(a->s6_addr32[i]) < ntohl(b->s6_addr32[i]); in iprange_ipv6_lt()
Dnft_payload.c67 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_init()
68 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_init()
69 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_init()
121 base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_select_ops()
131 offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_select_ops()
132 len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_select_ops()
Dnft_byteorder.c46 d[i].u32 = ntohl((__force __be32)s[i].u32); in nft_byteorder_eval()
91 priv->op = ntohl(nla_get_be32(tb[NFTA_BYTEORDER_OP])); in nft_byteorder_init()
100 priv->size = ntohl(nla_get_be32(tb[NFTA_BYTEORDER_SIZE])); in nft_byteorder_init()
110 priv->len = ntohl(nla_get_be32(tb[NFTA_BYTEORDER_LEN])); in nft_byteorder_init()
Dnf_conntrack_proto_tcp.c521 seq = ntohl(tcph->seq); in tcp_in_window()
522 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window()
891 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in tcp_packet()
918 ct->proto.tcp.last_seq = ntohl(th->seq); in tcp_packet()
920 segment_seq_plus_len(ntohl(th->seq), skb->len, dataoff, th); in tcp_packet()
969 ct->proto.tcp.seen[dir].td_end - 1 == ntohl(th->seq)) { in tcp_packet()
1005 && before(ntohl(th->seq), ct->proto.tcp.seen[!dir].td_maxack)) { in tcp_packet()
1018 && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { in tcp_packet()
1130 segment_seq_plus_len(ntohl(th->seq), skb->len, in tcp_new()
1150 segment_seq_plus_len(ntohl(th->seq), skb->len, in tcp_new()
[all …]
Dnfnetlink_cthelper.c145 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX])); in nfnl_cthelper_expect_policy()
147 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT])); in nfnl_cthelper_expect_policy()
174 ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM])); in nfnl_cthelper_parse_expect_policy()
220 helper->data_len = ntohl(nla_get_be32(tb[NFCTH_PRIV_DATA_LEN])); in nfnl_cthelper_create()
231 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_create()
234 int status = ntohl(nla_get_be32(tb[NFCTH_STATUS])); in nfnl_cthelper_create()
272 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_update()
275 int status = ntohl(nla_get_be32(tb[NFCTH_STATUS])); in nfnl_cthelper_update()
Dnf_log_common.c82 ntohl(th->seq), ntohl(th->ack_seq)); in nf_log_dump_tcp_header()
88 nf_log_buf_add(m, "RES=0x%02x ", (u_int8_t)(ntohl(tcp_flag_word(th) & in nf_log_dump_tcp_header()
Dxt_l2tp.c120 data.tid = ntohl(lh->val32); in l2tp_udp_mt()
122 data.sid = ntohl(lh->val32); in l2tp_udp_mt()
162 data.tid = ntohl(lh->val32); in l2tp_ip_mt()
164 data.sid = ntohl(lh->val32); in l2tp_ip_mt()
Dxt_u32.c43 val = ntohl(n); in u32_match_it()
71 val = ntohl(n); in u32_match_it()
Dnft_log.c79 ntohl(nla_get_be32(tb[NFTA_LOG_LEVEL])); in nft_log_init()
85 ntohl(nla_get_be32(tb[NFTA_LOG_FLAGS])); in nft_log_init()
92 ntohl(nla_get_be32(tb[NFTA_LOG_SNAPLEN])); in nft_log_init()
Dnft_exthdr.c70 priv->offset = ntohl(nla_get_be32(tb[NFTA_EXTHDR_OFFSET])); in nft_exthdr_init()
71 priv->len = ntohl(nla_get_be32(tb[NFTA_EXTHDR_LEN])); in nft_exthdr_init()
Dnfnetlink_queue_core.c917 verdict = ntohl(vhdr->verdict) & NF_VERDICT_MASK; in verdicthdr_get()
953 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict_batch()
954 maxid = ntohl(vhdr->id); in nfqnl_recv_verdict_batch()
972 entry->skb->mark = ntohl(nla_get_be32(nfqa[NFQA_MARK])); in nfqnl_recv_verdict_batch()
1007 verdict = ntohl(vhdr->verdict); in nfqnl_recv_verdict()
1009 entry = find_dequeue_entry(queue, ntohl(vhdr->id)); in nfqnl_recv_verdict()
1035 entry->skb->mark = ntohl(nla_get_be32(nfqa[NFQA_MARK])); in nfqnl_recv_verdict()
1128 ntohl(params->copy_range)); in nfqnl_recv_config()
1140 queue->queue_maxlen = ntohl(*queue_maxlen); in nfqnl_recv_config()
1160 flags = ntohl(nla_get_be32(nfqa[NFQA_CFG_FLAGS])); in nfqnl_recv_config()
[all …]
Dnft_nat.c130 switch (ntohl(nla_get_be32(tb[NFTA_NAT_TYPE]))) { in nft_nat_init()
148 family = ntohl(nla_get_be32(tb[NFTA_NAT_FAMILY])); in nft_nat_init()
207 priv->flags = ntohl(nla_get_be32(tb[NFTA_NAT_FLAGS])); in nft_nat_init()
Dnf_conntrack_netlink.c769 filter->mark.val = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_alloc_filter()
770 filter->mark.mask = ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_alloc_filter()
1088 u_int32_t id = ntohl(nla_get_be32(cda[CTA_ID])); in ctnetlink_del_conntrack()
1352 unsigned int status = ntohl(nla_get_be32(cda[CTA_STATUS])); in ctnetlink_change_status()
1462 u_int32_t timeout = ntohl(nla_get_be32(cda[CTA_TIMEOUT])); in ctnetlink_change_timeout()
1520 ntohl(nla_get_be32(cda[CTA_SEQADJ_CORRECTION_POS])); in change_seq_adj()
1526 ntohl(nla_get_be32(cda[CTA_SEQADJ_OFFSET_BEFORE])); in change_seq_adj()
1532 ntohl(nla_get_be32(cda[CTA_SEQADJ_OFFSET_AFTER])); in change_seq_adj()
1629 ct->mark = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_change_conntrack()
1665 ct->timeout.expires = ntohl(nla_get_be32(cda[CTA_TIMEOUT])); in ctnetlink_create_conntrack()
[all …]
Dnft_cmp.c87 priv->op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_init()
187 op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); in nft_cmp_select_ops()
Dnft_compat.c195 flags = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_FLAGS])); in nft_parse_compat()
201 *proto = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_PROTO])); in nft_parse_compat()
537 rev = ntohl(nla_get_be32(tb[NFTA_COMPAT_REV])); in nfnl_compat_get()
538 target = ntohl(nla_get_be32(tb[NFTA_COMPAT_TYPE])); in nfnl_compat_get()
642 rev = ntohl(nla_get_be32(tb[NFTA_MATCH_REV])); in nft_match_select_ops()
722 rev = ntohl(nla_get_be32(tb[NFTA_TARGET_REV])); in nft_target_select_ops()
Dnft_masq.c53 priv->flags = ntohl(nla_get_be32(tb[NFTA_MASQ_FLAGS])); in nft_masq_init()
Dnft_reject.c38 priv->type = ntohl(nla_get_be32(tb[NFTA_REJECT_TYPE])); in nft_reject_init()
Dxt_esp.c59 return spi_match(espinfo->spis[0], espinfo->spis[1], ntohl(eh->spi), in esp_mt()
Dnfnetlink_acct.c94 flags = ntohl(nla_get_be32(tb[NFACCT_FLAGS])); in nfnl_acct_new()
250 filter->mask = ntohl(nla_get_be32(tb[NFACCT_FILTER_MASK])); in nfacct_filter_alloc()
251 filter->value = ntohl(nla_get_be32(tb[NFACCT_FILTER_VALUE])); in nfacct_filter_alloc()
Dnf_nat_irc.c82 snprintf(buffer, sizeof(buffer), "%u %u", ntohl(newaddr.ip), port); in help()
Dnft_redir.c77 priv->flags = ntohl(nla_get_be32(tb[NFTA_REDIR_FLAGS])); in nft_redir_init()
Dnf_conntrack_proto_udp.c172 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_UNREPLIED])) * HZ; in udp_timeout_nlattr_to_obj()
176 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_REPLIED])) * HZ; in udp_timeout_nlattr_to_obj()
Dnft_meta.c223 priv->key = ntohl(nla_get_be32(tb[NFTA_META_KEY])); in nft_meta_get_init()
274 priv->key = ntohl(nla_get_be32(tb[NFTA_META_KEY])); in nft_meta_set_init()
Dnf_synproxy_core.c218 *ptr = htonl(ntohl(*ptr) - in synproxy_tstamp_adjust()
223 *ptr = htonl(ntohl(*ptr) + in synproxy_tstamp_adjust()
Dnf_conntrack_proto_udplite.c187 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDPLITE_UNREPLIED])) * HZ; in udplite_timeout_nlattr_to_obj()
191 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDPLITE_REPLIED])) * HZ; in udplite_timeout_nlattr_to_obj()
Dnf_conntrack_ftp.c431 seq = ntohl(th->seq) + datalen; in help()
434 if (!find_nl_seq(ntohl(th->seq), ct_ftp_info, dir)) { in help()
485 matchlen, ntohl(th->seq) + matchoff); in help()
Dnft_reject_inet.c75 priv->type = ntohl(nla_get_be32(tb[NFTA_REJECT_TYPE])); in nft_reject_inet_init()
Dnft_ct.c230 priv->key = ntohl(nla_get_be32(tb[NFTA_CT_KEY])); in nft_ct_get_init()
330 priv->key = ntohl(nla_get_be32(tb[NFTA_CT_KEY])); in nft_ct_set_init()
Dxt_HMARK.c120 u32 src = ntohl(t->src); in hmark_hash()
121 u32 dst = ntohl(t->dst); in hmark_hash()
Dnf_conntrack_proto_gre.c319 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_UNREPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
323 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GRE_REPLIED])) * HZ; in gre_timeout_nlattr_to_obj()
Dnf_tables_api.c300 ntohl(nla_get_be32(ctx->nla[NFTA_SET_ID])); in nft_trans_set_add()
604 flags = ntohl(nla_get_be32(ctx->nla[NFTA_TABLE_FLAGS])); in nf_tables_updtable()
677 flags = ntohl(nla_get_be32(nla[NFTA_TABLE_FLAGS])); in nf_tables_newtable()
1233 policy = ntohl(nla_get_be32(nla[NFTA_CHAIN_POLICY])); in nf_tables_newchain()
1317 hooknum = ntohl(nla_get_be32(ha[NFTA_HOOK_HOOKNUM])); in nf_tables_newchain()
1320 priority = ntohl(nla_get_be32(ha[NFTA_HOOK_PRIORITY])); in nf_tables_newchain()
2207 features = ntohl(nla_get_be32(nla[NFTA_SET_FLAGS])); in nft_select_set_ops()
2323 u32 id = ntohl(nla_get_be32(nla)); in nf_tables_set_lookup_byid()
2617 desc->size = ntohl(nla_get_be32(da[NFTA_SET_DESC_SIZE])); in nf_tables_set_desc_parse()
2651 ktype = ntohl(nla_get_be32(nla[NFTA_SET_KEY_TYPE])); in nf_tables_newset()
[all …]
Dnft_bitwise.c64 priv->len = ntohl(nla_get_be32(tb[NFTA_BITWISE_LEN])); in nft_bitwise_init()
Dnf_conntrack_proto_generic.c109 ntohl(nla_get_be32(tb[CTA_TIMEOUT_GENERIC_TIMEOUT])) * HZ; in generic_timeout_nlattr_to_obj()
Dxt_connlimit.c104 return ntohl(addr->ip & mask->ip) - in same_source_net()
105 ntohl(u3->ip & mask->ip); in same_source_net()
Dnfnetlink_log.c870 ntohl(params->copy_range)); in nfulnl_recv_config()
880 nfulnl_set_timeout(inst, ntohl(timeout)); in nfulnl_recv_config()
890 nfulnl_set_nlbufsiz(inst, ntohl(nlbufsiz)); in nfulnl_recv_config()
900 nfulnl_set_qthresh(inst, ntohl(qthresh)); in nfulnl_recv_config()
Dnf_conntrack_sane.c131 ntohl(reply->status)); in help()
Dxt_TPROXY.c165 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
Dnft_dynset.c126 priv->op = ntohl(nla_get_be32(tb[NFTA_DYNSET_OP])); in nft_dynset_init()
Dnf_conntrack_proto_dccp.c470 ntohl(dhack->dccph_ack_nr_low); in dccp_ack_seq()
730 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in dccp_timeout_nlattr_to_obj()
Dnf_nat_core.c269 minip = ntohl((__force __be32)range->min_addr.all[i]); in find_best_ips_proto()
270 maxip = ntohl((__force __be32)range->max_addr.all[i]); in find_best_ips_proto()
/linux-4.1.27/fs/lockd/
Dxdr.c50 len = ntohl(*p++); in nlm_decode_cookie()
87 if ((len = ntohl(*p++)) != NFS2_FHSIZE) { in nlm_decode_fh()
125 lock->svid = ntohl(*p++); in nlm_decode_lock()
132 start = ntohl(*p++); in nlm_decode_lock()
133 len = ntohl(*p++); in nlm_decode_lock()
192 exclusive = ntohl(*p++); in nlmsvc_decode_testargs()
216 argp->block = ntohl(*p++); in nlmsvc_decode_lockargs()
217 exclusive = ntohl(*p++); in nlmsvc_decode_lockargs()
222 argp->reclaim = ntohl(*p++); in nlmsvc_decode_lockargs()
223 argp->state = ntohl(*p++); in nlmsvc_decode_lockargs()
[all …]
Dxdr4.c50 len = ntohl(*p++); in nlm4_decode_cookie()
86 f->size = ntohl(*p++); in nlm4_decode_fh()
117 lock->svid = ntohl(*p++); in nlm4_decode_lock()
189 exclusive = ntohl(*p++); in nlm4svc_decode_testargs()
213 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs()
214 exclusive = ntohl(*p++); in nlm4svc_decode_lockargs()
219 argp->reclaim = ntohl(*p++); in nlm4svc_decode_lockargs()
220 argp->state = ntohl(*p++); in nlm4svc_decode_lockargs()
233 argp->block = ntohl(*p++); in nlm4svc_decode_cancargs()
234 exclusive = ntohl(*p++); in nlm4svc_decode_cancargs()
[all …]
Dsvc4proc.c94 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); in nlm4svc_proc_test()
136 dprintk("lockd: LOCK status %d\n", ntohl(resp->status)); in nlm4svc_proc_lock()
167 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status)); in nlm4svc_proc_cancel()
200 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status)); in nlm4svc_proc_unlock()
218 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status)); in nlm4svc_proc_granted()
338 dprintk("lockd: SHARE status %d\n", ntohl(resp->status)); in nlm4svc_proc_share()
371 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status)); in nlm4svc_proc_unshare()
Dsvcproc.c125 ntohl(resp->status), rqstp->rq_vers); in nlmsvc_proc_test()
167 dprintk("lockd: LOCK status %d\n", ntohl(resp->status)); in nlmsvc_proc_lock()
199 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status)); in nlmsvc_proc_cancel()
233 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status)); in nlmsvc_proc_unlock()
251 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status)); in nlmsvc_proc_granted()
381 dprintk("lockd: SHARE status %d\n", ntohl(resp->status)); in nlmsvc_proc_share()
414 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status)); in nlmsvc_proc_unshare()
Dclntproc.c307 ntohl(resp->status)); in nlmclnt_call()
639 status, ntohl(req->a_res.status)); in nlmclnt_reclaim()
693 ntohl(resp->status)); in nlmclnt_unlock()
704 u32 status = ntohl(req->a_res.status); in nlmclnt_unlock_callback()
771 u32 status = ntohl(req->a_res.status); in nlmclnt_cancel_callback()
822 switch(ntohl(status)) { in nlm_stat_to_errno()
847 ntohl(status)); in nlm_stat_to_errno()
Dclntxdr.c234 if (unlikely(ntohl(*p) > ntohl(nlm_lck_denied_grace_period))) in decode_nlm_stat()
Dclnt4xdr.c239 if (unlikely(ntohl(*p) > ntohl(nlm4_failed))) in decode_nlm4_stat()
/linux-4.1.27/fs/nfs/
Dcallback_xdr.c90 *len = ntohl(*p); in decode_string()
110 fh->size = ntohl(*p); in decode_fh()
129 attrlen = ntohl(*p); in decode_bitmap()
134 bitmap[0] = ntohl(*p++); in decode_bitmap()
136 bitmap[1] = ntohl(*p); in decode_bitmap()
168 hdr->minorversion = ntohl(*p++); in decode_compound_hdr_arg()
171 hdr->cb_ident = ntohl(*p++); /* ignored by v4.1 and v4.2 */ in decode_compound_hdr_arg()
178 hdr->nops = ntohl(*p); in decode_compound_hdr_arg()
190 *op = ntohl(*p); in decode_op_hdr()
204 dprintk("%s: exit with status = %d\n", __func__, ntohl(status)); in decode_getattr_args()
[all …]
Dcallback_proc.c65 dprintk("%s: exit with status = %d\n", __func__, ntohl(res->status)); in nfs4_callback_getattr()
97 trace_nfs4_recall_delegation(inode, -ntohl(res)); in nfs4_callback_recall()
100 dprintk("%s: exit with status = %d\n", __func__, ntohl(res)); in nfs4_callback_recall()
485 ntohl(status), ntohl(res->csr_status)); in nfs4_callback_sequence()
525 dprintk("%s: exit with status = %d\n", __func__, ntohl(status)); in nfs4_callback_recallany()
551 dprintk("%s: exit with status = %d\n", __func__, ntohl(status)); in nfs4_callback_recallslot()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dev.c53 FW_RI_TPTE_VALID_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
54 FW_RI_TPTE_STAGKEY_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
55 FW_RI_TPTE_STAGSTATE_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
56 FW_RI_TPTE_PDID_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
57 FW_RI_TPTE_PERM_G(ntohl(tpte.locread_to_qpid)), in print_tpte()
58 FW_RI_TPTE_PS_G(ntohl(tpte.locread_to_qpid)), in print_tpte()
59 ((u64)ntohl(tpte.len_hi) << 32) | ntohl(tpte.len_lo), in print_tpte()
60 ((u64)ntohl(tpte.va_hi) << 32) | ntohl(tpte.va_lo_fbo)); in print_tpte()
71 CQE_STATUS(err_cqe), CQE_TYPE(err_cqe), ntohl(err_cqe->len), in dump_err_cqe()
Ddevice.c384 FW_RI_TPTE_VALID_G(ntohl(tpte.valid_to_pdid)), in dump_stag()
385 FW_RI_TPTE_STAGKEY_G(ntohl(tpte.valid_to_pdid)), in dump_stag()
386 FW_RI_TPTE_STAGSTATE_G(ntohl(tpte.valid_to_pdid)), in dump_stag()
387 FW_RI_TPTE_PDID_G(ntohl(tpte.valid_to_pdid)), in dump_stag()
388 FW_RI_TPTE_PERM_G(ntohl(tpte.locread_to_qpid)), in dump_stag()
389 FW_RI_TPTE_PS_G(ntohl(tpte.locread_to_qpid)), in dump_stag()
390 ((u64)ntohl(tpte.len_hi) << 32) | ntohl(tpte.len_lo), in dump_stag()
391 ((u64)ntohl(tpte.va_hi) << 32) | ntohl(tpte.va_lo_fbo)); in dump_stag()
Dcm.c1061 unsigned int atid = TID_TID_G(ntohl(req->tos_atid)); in act_establish()
2043 ntohl(rpl->atid_status))); in act_open_rpl()
2045 int status = AOPEN_STATUS_G(ntohl(rpl->atid_status)); in act_open_rpl()
2087 ntohl(rpl->atid_status)))); in act_open_rpl()
2225 u32 hlen = ntohl(req->hdr_len); in accept_cr()
2276 ntohl(ip->saddr), ntohl(ip->daddr), ntohs(tcp->source), in get_4tuple()
2299 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); in pass_accept_req()
2332 PASS_OPEN_TOS_G(ntohl(req->tos_stid))); in pass_accept_req()
2339 PASS_OPEN_TOS_G(ntohl(req->tos_stid)), in pass_accept_req()
2427 child_ep->tos = PASS_OPEN_TOS_G(ntohl(req->tos_stid)); in pass_accept_req()
[all …]
/linux-4.1.27/net/rxrpc/
Dar-key.c97 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), ntohl(xdr[3]), in rxrpc_preparse_xdr_rxkad()
102 tktlen = ntohl(xdr[7]); in rxrpc_preparse_xdr_rxkad()
125 token->kad->vice_id = ntohl(xdr[0]); in rxrpc_preparse_xdr_rxkad()
126 token->kad->kvno = ntohl(xdr[1]); in rxrpc_preparse_xdr_rxkad()
127 token->kad->start = ntohl(xdr[4]); in rxrpc_preparse_xdr_rxkad()
128 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad()
129 token->kad->primary_flag = ntohl(xdr[6]); in rxrpc_preparse_xdr_rxkad()
226 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), toklen); in rxrpc_krb5_decode_principal()
228 n_parts = ntohl(*xdr++); in rxrpc_krb5_decode_principal()
244 tmp = ntohl(*xdr++); in rxrpc_krb5_decode_principal()
[all …]
Dar-ack.c102 call->debug_id, rxrpc_acks(ack_reason), ntohl(serial), in __rxrpc_propose_ACK()
160 _debug("cancel timer %%%u", ntohl(serial)); in __rxrpc_propose_ACK()
257 ntohl(sp->hdr.serial), ntohl(sp->hdr.seq)); in rxrpc_resend()
481 ntohl(sp->hdr.seq), call->rx_first_oos); in rxrpc_drain_rx_oos_queue()
483 if (ntohl(sp->hdr.seq) != call->rx_first_oos) { in rxrpc_drain_rx_oos_queue()
485 call->rx_first_oos = ntohl(rxrpc_skb(skb)->hdr.seq); in rxrpc_drain_rx_oos_queue()
500 ntohl(rxrpc_skb(skb)->hdr.seq); in rxrpc_drain_rx_oos_queue()
525 seq = ntohl(sp->hdr.seq); in rxrpc_insert_oos_packet()
538 if (ntohl(psp->hdr.seq) > seq) { in rxrpc_insert_oos_packet()
540 seq, ntohl(psp->hdr.seq)); in rxrpc_insert_oos_packet()
[all …]
Drxkad.c172 check = ntohl(sp->hdr.seq ^ sp->hdr.callNumber); in rxkad_secure_packet_auth()
218 check = ntohl(sp->hdr.seq ^ sp->hdr.callNumber); in rxkad_secure_packet_encrypt()
272 call->debug_id, key_serial(call->conn->key), ntohl(sp->hdr.seq), in rxkad_secure_packet()
298 y = ntohl(tmpbuf.x[1]); in rxkad_secure_packet()
367 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_auth()
371 check ^= ntohl(sp->hdr.seq ^ sp->hdr.callNumber); in rxkad_verify_packet_auth()
452 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_encrypt()
456 check ^= ntohl(sp->hdr.seq ^ sp->hdr.callNumber); in rxkad_verify_packet_encrypt()
506 ntohl(sp->hdr.seq)); in rxkad_verify_packet()
533 y = ntohl(tmpbuf.x[1]); in rxkad_verify_packet()
[all …]
Dar-recvmsg.c161 ntohl(sp->hdr.seq), skb->len, sp->offset); in rxrpc_recvmsg()
172 ASSERTCMP(ntohl(sp->hdr.seq), >=, call->rx_data_recv); in rxrpc_recvmsg()
173 ASSERTCMP(ntohl(sp->hdr.seq), <=, call->rx_data_recv + 1); in rxrpc_recvmsg()
174 call->rx_data_recv = ntohl(sp->hdr.seq); in rxrpc_recvmsg()
176 ASSERTCMP(ntohl(sp->hdr.seq), >, call->rx_data_eaten); in rxrpc_recvmsg()
367 ASSERTCMP(ntohl(sp->hdr.seq), >=, call->rx_data_recv); in rxrpc_kernel_data_delivered()
368 ASSERTCMP(ntohl(sp->hdr.seq), <=, call->rx_data_recv + 1); in rxrpc_kernel_data_delivered()
369 call->rx_data_recv = ntohl(sp->hdr.seq); in rxrpc_kernel_data_delivered()
371 ASSERTCMP(ntohl(sp->hdr.seq), >, call->rx_data_eaten); in rxrpc_kernel_data_delivered()
Dar-input.c333 serial = ntohl(sp->hdr.serial); in rxrpc_fast_process_packet()
354 abort_code = ntohl(_abort_code); in rxrpc_fast_process_packet()
389 seq = ntohl(sp->hdr.seq); in rxrpc_fast_process_packet()
484 sp->hdr.seq = htonl(ntohl(sp->hdr.seq) + 1); in rxrpc_process_jumbo_packet()
485 sp->hdr.serial = htonl(ntohl(sp->hdr.serial) + 1); in rxrpc_process_jumbo_packet()
489 _proto("Rx DATA Jumbo %%%u", ntohl(sp->hdr.serial) - 1); in rxrpc_process_jumbo_packet()
696 ntohl(ip_hdr(skb)->saddr), ntohs(udp_hdr(skb)->source)); in rxrpc_data_ready()
707 ntohl(sp->hdr.epoch), in rxrpc_data_ready()
708 ntohl(sp->hdr.cid), in rxrpc_data_ready()
709 ntohl(sp->hdr.callNumber)); in rxrpc_data_ready()
Dar-proc.c78 ntohl(call->conn->cid), in rxrpc_call_seq_show()
79 ntohl(call->call_id), in rxrpc_call_seq_show()
161 ntohl(conn->cid), in rxrpc_connection_seq_show()
Dar-skbuff.c62 _debug("hard ACK #%u", ntohl(sp->hdr.seq)); in rxrpc_hard_ACK_data()
70 seq = ntohl(sp->hdr.seq); in rxrpc_hard_ACK_data()
Dar-connevent.c113 _proto("Tx CONN ABORT %%%u { %d }", ntohl(hdr.serial), abort_code); in rxrpc_abort_connection()
158 serial = ntohl(sp->hdr.serial); in rxrpc_process_event()
166 _proto("Rx ABORT %%%u { ac=%d }", serial, ntohl(tmp)); in rxrpc_process_event()
170 ntohl(tmp)); in rxrpc_process_event()
Dar-connection.c274 _leave(" [CONNID %x CID %x]", real_conn_id, ntohl(conn->cid)); in rxrpc_assign_connection_id()
411 conn->debug_id, chan, ntohl(call->call_id)); in rxrpc_connect_exclusive()
600 conn->debug_id, chan, ntohl(call->call_id)); in rxrpc_connect_call()
637 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; in rxrpc_incoming_connection()
761 _enter(",{%x,%x}", ntohl(hdr->cid), hdr->flags); in rxrpc_find_connection()
765 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; in rxrpc_find_connection()
Dar-call.c80 u32 hcid = ntohl(cid); in rxrpc_call_hashfunc()
436 candidate->channel = ntohl(hdr->cid) & RXRPC_CHANNELMASK; in rxrpc_incoming_call()
717 ntohl(sp->hdr.serial), in rxrpc_release_call()
718 ntohl(sp->hdr.seq)); in rxrpc_release_call()
877 _debug("+++ clear Tx %u", ntohl(sp->hdr.seq)); in rxrpc_cleanup_call()
Dar-output.c484 ntohl(sp->hdr.serial), ntohl(sp->hdr.seq)); in rxrpc_queue_packet()
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Dvnic_vic.c58 if (ntohl(vp->length) + offsetof(struct vic_provinfo_tlv, value) + in vic_provinfo_add_tlv()
63 ntohl(vp->length) - sizeof(vp->num_tlvs)); in vic_provinfo_add_tlv()
69 vp->num_tlvs = htonl(ntohl(vp->num_tlvs) + 1); in vic_provinfo_add_tlv()
70 vp->length = htonl(ntohl(vp->length) + in vic_provinfo_add_tlv()
78 return vp ? ntohl(vp->length) + sizeof(*vp) - sizeof(vp->num_tlvs) : 0; in vic_provinfo_size()
Denic_clsf.c36 data.u.ipv4.src_addr = ntohl(keys->src); in enic_addfltr_5t()
37 data.u.ipv4.dst_addr = ntohl(keys->dst); in enic_addfltr_5t()
/linux-4.1.27/fs/
Dbinfmt_flat.c446 text_len = ntohl(hdr->data_start); in load_flat_file()
447 data_len = ntohl(hdr->data_end) - ntohl(hdr->data_start); in load_flat_file()
448 bss_len = ntohl(hdr->bss_end) - ntohl(hdr->data_end); in load_flat_file()
449 stack_len = ntohl(hdr->stack_size); in load_flat_file()
454 relocs = ntohl(hdr->reloc_count); in load_flat_file()
455 flags = ntohl(hdr->flags); in load_flat_file()
456 rev = ntohl(hdr->rev); in load_flat_file()
580 fpos = ntohl(hdr->data_start); in load_flat_file()
599 reloc = (unsigned long *) (datapos+(ntohl(hdr->reloc_start)-text_len)); in load_flat_file()
618 realdatastart = textpos + ntohl(hdr->data_start); in load_flat_file()
[all …]
/linux-4.1.27/fs/afs/
Dcmservice.c101 u32 operation_id = ntohl(call->operation_ID); in afs_cm_incoming_call()
198 call->count = ntohl(call->tmp); in afs_deliver_cb_callback()
229 cb->fid.vid = ntohl(*bp++); in afs_deliver_cb_callback()
230 cb->fid.vnode = ntohl(*bp++); in afs_deliver_cb_callback()
231 cb->fid.unique = ntohl(*bp++); in afs_deliver_cb_callback()
248 tmp = ntohl(call->tmp); in afs_deliver_cb_callback()
271 cb->version = ntohl(*bp++); in afs_deliver_cb_callback()
272 cb->expiry = ntohl(*bp++); in afs_deliver_cb_callback()
273 cb->type = ntohl(*bp++); in afs_deliver_cb_callback()
493 r->time_low = ntohl(b[0]); in afs_deliver_cb_probe_uuid()
[all …]
Dvlclient.c83 entry->name[loop] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
88 entry->nservers = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
96 tmp = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
106 entry->vid[0] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
107 entry->vid[1] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
108 entry->vid[2] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx()
112 tmp = ntohl(*bp++); /* flags */ in afs_deliver_vl_get_entry_by_xxx()
Dfsclient.c26 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid()
27 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid()
28 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid()
50 u32 x = ntohl(*bp++); \ in xdr_decode_AFSFetchStatus()
55 status->if_version = ntohl(*bp++); in xdr_decode_AFSFetchStatus()
58 size = ntohl(*bp++); in xdr_decode_AFSFetchStatus()
59 data_version = ntohl(*bp++); in xdr_decode_AFSFetchStatus()
61 owner = make_kuid(&init_user_ns, ntohl(*bp++)); in xdr_decode_AFSFetchStatus()
70 status->mtime_client = ntohl(*bp++); in xdr_decode_AFSFetchStatus()
71 status->mtime_server = ntohl(*bp++); in xdr_decode_AFSFetchStatus()
[all …]
Dvnode.c358 server, ntohl(server->addr.s_addr)); in afs_vnode_fetch_status()
421 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_fetch_data()
477 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_create()
533 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_remove()
595 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_link()
659 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_symlink()
729 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_rename()
795 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_store_data()
848 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_setattr()
895 _debug("USING SERVER: %08x\n", ntohl(server->addr.s_addr)); in afs_vnode_get_volume_status()
[all …]
Dvlocation.c207 ntohl(vl->vldb.servers[0].s_addr), in afs_vlocation_update_record()
209 ntohl(vl->vldb.servers[1].s_addr), in afs_vlocation_update_record()
211 ntohl(vl->vldb.servers[2].s_addr), in afs_vlocation_update_record()
272 ntohl(vldb->servers[0].s_addr), vldb->srvtmask[0], in afs_vlocation_apply_update()
273 ntohl(vldb->servers[1].s_addr), vldb->srvtmask[1], in afs_vlocation_apply_update()
274 ntohl(vldb->servers[2].s_addr), vldb->srvtmask[2]); in afs_vlocation_apply_update()
Dvolume.c259 server, ntohl(server->addr.s_addr)); in afs_volume_pick_fileserver()
314 volume->vlocation->vldb.name, ntohl(server->addr.s_addr), in afs_volume_release_fileserver()
/linux-4.1.27/net/tipc/
Dname_distr.c314 publ = tipc_nametbl_insert_publ(net, ntohl(i->type), in tipc_update_nametbl()
315 ntohl(i->lower), in tipc_update_nametbl()
316 ntohl(i->upper), in tipc_update_nametbl()
318 ntohl(i->ref), ntohl(i->key)); in tipc_update_nametbl()
324 publ = tipc_nametbl_remove_publ(net, ntohl(i->type), in tipc_update_nametbl()
325 ntohl(i->lower), in tipc_update_nametbl()
326 node, ntohl(i->ref), in tipc_update_nametbl()
327 ntohl(i->key)); in tipc_update_nametbl()
375 e->dtype, ntohl(e->i.type), in tipc_named_process_backlog()
376 ntohl(e->i.lower), in tipc_named_process_backlog()
[all …]
Dnetlink_compat.c372 if (nla_put_u32(skb, TIPC_NLA_BEARER_DOMAIN, ntohl(b->disc_domain))) in tipc_nl_compat_bearer_enable()
375 if (ntohl(b->priority) <= TIPC_MAX_LINK_PRI) { in tipc_nl_compat_bearer_enable()
379 if (nla_put_u32(skb, TIPC_NLA_PROP_PRIO, ntohl(b->priority))) in tipc_nl_compat_bearer_enable()
600 if (nla_put_u32(skb, TIPC_NLA_PROP_PRIO, ntohl(lc->value))) in tipc_nl_compat_link_set()
603 if (nla_put_u32(skb, TIPC_NLA_PROP_TOL, ntohl(lc->value))) in tipc_nl_compat_link_set()
606 if (nla_put_u32(skb, TIPC_NLA_PROP_WIN, ntohl(lc->value))) in tipc_nl_compat_link_set()
650 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump_header()
680 depth = ntohl(ntq->depth); in tipc_nl_compat_name_table_dump()
681 type = ntohl(ntq->type); in tipc_nl_compat_name_table_dump()
682 lowbound = ntohl(ntq->lowbound); in tipc_nl_compat_name_table_dump()
[all …]
/linux-4.1.27/net/sunrpc/xprtrdma/
Dsvc_rdma_marshal.c100 nchunks = ntohl(ary->wc_nchunks); in decode_write_list()
134 nchunks = ntohl(ary->wc_nchunks); in decode_reply_array()
166 rmsgp->rm_xid = ntohl(rmsgp->rm_xid); in svc_rdma_xdr_decode_req()
167 rmsgp->rm_vers = ntohl(rmsgp->rm_vers); in svc_rdma_xdr_decode_req()
168 rmsgp->rm_credit = ntohl(rmsgp->rm_credit); in svc_rdma_xdr_decode_req()
169 rmsgp->rm_type = ntohl(rmsgp->rm_type); in svc_rdma_xdr_decode_req()
178 ntohl(rmsgp->rm_body.rm_padded.rm_align); in svc_rdma_xdr_decode_req()
180 ntohl(rmsgp->rm_body.rm_padded.rm_thresh); in svc_rdma_xdr_decode_req()
300 &wr_ary->wc_array[ntohl(wr_ary->wc_nchunks)]. in svc_rdma_xdr_get_reply_hdr_len()
309 &wr_ary->wc_array[ntohl(wr_ary->wc_nchunks)]; in svc_rdma_xdr_get_reply_hdr_len()
Dsvc_rdma_sendto.c261 write_len = min(xfer_len, ntohl(arg_ch->rs_length)); in send_write_chunks()
273 ntohl(arg_ch->rs_handle), in send_write_chunks()
321 nchunks = ntohl(arg_ary->wc_nchunks); in send_reply_chunks()
338 ntohl(ch->rs_handle), in send_reply_chunks()
/linux-4.1.27/net/xfrm/
Dxfrm_hash.h10 return ntohl(addr->a4); in __xfrm4_addr_hash()
15 return ntohl(addr->a6[2] ^ addr->a6[3]); in __xfrm6_addr_hash()
22 return ntohl((__force __be32)sum); in __xfrm4_daddr_saddr_hash()
28 return ntohl(daddr->a6[2] ^ daddr->a6[3] ^ in __xfrm6_daddr_saddr_hash()
49 return jhash_2words(ntohl(daddr->a4) & __bits2mask32(dbits), in __xfrm4_dpref_spref_hash()
50 ntohl(saddr->a4) & __bits2mask32(sbits), in __xfrm4_dpref_spref_hash()
Dxfrm_replay.c32 seq = ntohl(net_seq); in xfrm_replay_seqhi()
121 u32 seq = ntohl(net_seq); in xfrm_replay_check()
152 u32 seq = ntohl(net_seq); in xfrm_replay_advance()
202 u32 seq = ntohl(net_seq); in xfrm_replay_check_bmp()
245 u32 seq = ntohl(net_seq); in xfrm_replay_advance_bmp()
441 u32 seq = ntohl(net_seq); in xfrm_replay_check_esn()
515 seq = ntohl(net_seq); in xfrm_replay_advance_esn()
Dxfrm_state.c2139 u32 spi = ntohl(x->id.spi); in xfrm_audit_helper_sainfo()
2223 spi = ntohl(x->id.spi); in xfrm_audit_state_replay_overflow()
2239 spi = ntohl(x->id.spi); in xfrm_audit_state_replay()
2241 spi, spi, ntohl(net_seq)); in xfrm_audit_state_replay()
2268 spi = ntohl(net_spi); in xfrm_audit_state_notfound()
2270 spi, spi, ntohl(net_seq)); in xfrm_audit_state_notfound()
2287 u32 spi = ntohl(net_spi); in xfrm_audit_state_icvfail()
2289 spi, spi, ntohl(net_seq)); in xfrm_audit_state_icvfail()
Dxfrm_ipcomp.c195 ipch->cpi = htons((u16 )ntohl(x->id.spi)); in ipcomp_output()
/linux-4.1.27/fs/nfsd/
Dnfs3xdr.c42 time->tv_sec = ntohl(*p++); in decode_time3()
43 time->tv_nsec = ntohl(*p++); in decode_time3()
52 size = ntohl(*p++); in decode_fh()
106 iap->ia_mode = ntohl(*p++); in decode_sattr3()
109 iap->ia_uid = make_kuid(&init_user_ns, ntohl(*p++)); in decode_sattr3()
114 iap->ia_gid = make_kgid(&init_user_ns, ntohl(*p++)); in decode_sattr3()
125 if ((tmp = ntohl(*p++)) == 1) { /* set to server time */ in decode_sattr3()
129 iap->ia_atime.tv_sec = ntohl(*p++); in decode_sattr3()
130 iap->ia_atime.tv_nsec = ntohl(*p++); in decode_sattr3()
132 if ((tmp = ntohl(*p++)) == 1) { /* set to server time */ in decode_sattr3()
[all …]
Dnfsxdr.c99 if ((tmp = ntohl(*p++)) != (u32)-1 && tmp != 0xffff) { in decode_sattr()
103 if ((tmp = ntohl(*p++)) != (u32)-1) { in decode_sattr()
108 if ((tmp = ntohl(*p++)) != (u32)-1) { in decode_sattr()
113 if ((tmp = ntohl(*p++)) != (u32)-1) { in decode_sattr()
117 tmp = ntohl(*p++); tmp1 = ntohl(*p++); in decode_sattr()
123 tmp = ntohl(*p++); tmp1 = ntohl(*p++); in decode_sattr()
256 args->offset = ntohl(*p++); in nfssvc_decode_readargs()
257 len = args->count = ntohl(*p++); in nfssvc_decode_readargs()
290 args->offset = ntohl(*p++); /* offset */ in nfssvc_decode_writeargs()
292 len = args->len = ntohl(*p++); in nfssvc_decode_writeargs()
[all …]
Dnfs2acl.c188 argp->mask = ntohl(*p); p++; in nfsaclsvc_decode_getaclargs()
204 argp->mask = ntohl(*p++); in nfsaclsvc_decode_setaclargs()
235 argp->access = ntohl(*p++); in nfsaclsvc_decode_accessargs()
Dnfs3acl.c134 args->mask = ntohl(*p); p++; in nfs3svc_decode_getaclargs()
150 args->mask = ntohl(*p++); in nfs3svc_decode_setaclargs()
Dnfsfh.c171 fh->fh_fsid[0] = new_encode_dev(MKDEV(ntohl((__force __be32)fh->fh_fsid[0]), in nfsd_set_fh_dentry()
172 ntohl((__force __be32)fh->fh_fsid[1]))); in nfsd_set_fh_dentry()
375 access, ntohl(error)); in fh_verify()
/linux-4.1.27/net/netlabel/
Dnetlabel_addrlist.c177 ntohl(entry->mask) > ntohl(iter->mask)) { in netlbl_af4list_add()
328 u32 mask_val = ntohl(mask); in netlbl_af4list_audit_addr()
368 if (ntohl(mask->s6_addr32[3]) != 0xffffffff) { in netlbl_af6list_audit_addr()
372 while (ntohl(mask->s6_addr32[++iter]) == 0xffffffff) in netlbl_af6list_audit_addr()
374 mask_val = ntohl(mask->s6_addr32[iter]); in netlbl_af6list_audit_addr()
/linux-4.1.27/net/ipv6/netfilter/
Dip6t_ah.c65 pr_debug("SPI %u %08X\n", ntohl(ah->spi), ntohl(ah->spi)); in ah_mt6()
69 ntohl(ah->spi), in ah_mt6()
82 ntohl(ah->spi), in ah_mt6()
Dnf_log_ipv6.c69 (ntohl(*(__be32 *)ih) & 0x0ff00000) >> 20, in dump_ipv6_packet()
71 (ntohl(*(__be32 *)ih) & 0x000fffff)); in dump_ipv6_packet()
111 ntohl(fh->identification)); in dump_ipv6_packet()
157 nf_log_buf_add(m, "SPI=0x%x ", ntohl(ah->spi)); in dump_ipv6_packet()
189 ntohl(eh->spi)); in dump_ipv6_packet()
253 ntohl(ic->icmp6_pointer)); in dump_ipv6_packet()
269 ntohl(ic->icmp6_mtu)); in dump_ipv6_packet()
Dip6t_frag.c63 pr_debug("ID %u %08X\n", ntohl(fh->identification), in frag_mt6()
64 ntohl(fh->identification)); in frag_mt6()
68 ntohl(fh->identification), in frag_mt6()
93 ntohl(fh->identification), in frag_mt6()
Dip6t_SYNPROXY.c111 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack()
155 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn()
196 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack()
197 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack()
234 nth->seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_ack()
254 mss = __cookie_v6_check(ipv6_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack()
309 synproxy_recv_client_ack(snet, skb, th, &opts, ntohl(th->seq)); in synproxy_tg6()
357 ntohl(th->seq) + 1); in ipv6_synproxy_hook()
385 ntohl(th->seq) + 1)) in ipv6_synproxy_hook()
391 synproxy->isn = ntohl(th->ack_seq); in ipv6_synproxy_hook()
[all …]
Dnf_reject_ipv6.c111 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_mb.c62 return FW_CMD_RETVAL_G(ntohl(hdr->lo)); in csio_mb_fw_retval()
115 *retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16)); in csio_mb_process_hello_rsp()
118 hw->fwrev = ntohl(rsp->fwrev); in csio_mb_process_hello_rsp()
120 value = ntohl(rsp->err_to_clearinit); in csio_mb_process_hello_rsp()
248 *retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16)); in csio_mb_process_read_params_rsp()
252 *val++ = ntohl(*p); in csio_mb_process_read_params_rsp()
397 *retval = FW_CMD_RETVAL_G(ntohl(rsp->action_to_len16)); in csio_mb_process_read_port_rsp()
592 *ret_val = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)); in csio_mb_iq_alloc_write_rsp()
778 *ret_val = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)); in csio_mb_eq_ofld_alloc_write_rsp()
782 ntohl(rsp->eqid_pkd)); in csio_mb_eq_ofld_alloc_write_rsp()
[all …]
Dcsio_rnode.c341 ((ntohl(*port_id) >> 8) & CSIO_DID_MASK)); in csio_confirm_rnode()
458 if (((ntohl(*did) >> 8) & CSIO_DID_MASK) != FC_FID_FLOGI) { in csio_rn_verify_rparams()
471 if (((ntohl(*did) >> 8) & CSIO_DID_MASK) != FC_FID_DIR_SERV) { in csio_rn_verify_rparams()
521 (ntohl(*did) & CSIO_DID_MASK)); in csio_rn_verify_rparams()
530 (ntohl(*did) & CSIO_DID_MASK)); in csio_rn_verify_rparams()
537 rn->nport_id = (ntohl(*did) >> 8) & CSIO_DID_MASK; in csio_rn_verify_rparams()
Dcsio_attr.c454 if (FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)) != FW_SUCCESS) { in csio_fcoe_alloc_vnp()
456 FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16))); in csio_fcoe_alloc_vnp()
462 ntohl(rsp->gen_wwn_to_vnpi)); in csio_fcoe_alloc_vnp()
529 if (FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)) != FW_SUCCESS) { in csio_fcoe_free_vnp()
531 FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16))); in csio_fcoe_free_vnp()
Dcsio_lnode.c606 retval = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)); in csio_ln_vnp_read_cbfn()
617 ln->nport_id = ntohl(nport_id); in csio_ln_vnp_read_cbfn()
773 retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16)); in csio_ln_read_fcf_cbfn()
789 fcf_info->fcfi = FW_FCOE_FCF_CMD_FCFI_GET(ntohl(rsp->op_to_fcfi)); in csio_ln_read_fcf_cbfn()
1483 ntohl(lcmd->op_to_portid)); in csio_fcoe_fwevt_handler()
1484 fcfi = FW_FCOE_LINK_CMD_FCFI_GET(ntohl(lcmd->sub_opcode_fcfi)); in csio_fcoe_fwevt_handler()
1485 vnpi = FW_FCOE_LINK_CMD_VNPI_GET(ntohl(lcmd->vnpi_pkd)); in csio_fcoe_fwevt_handler()
1515 ntohl(rdev_wr->alloc_to_len16)); in csio_fcoe_fwevt_handler()
1517 ntohl(rdev_wr->flags_to_assoc_flowid)); in csio_fcoe_fwevt_handler()
Dcsio_hw.c706 csum += ntohl(p[i]); in csio_hw_fw_dload()
1249 reset = ((ntohl(fw_hdr->flags) & FW_HDR_FLAGS_RESET_HALT) == 0); in csio_hw_fw_upgrade()
1503 retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16)); in csio_get_fcoe_resinfo()
1515 res_info->max_xchgs = ntohl(rsp->max_xchgs); in csio_get_fcoe_resinfo()
1516 res_info->max_ssns = ntohl(rsp->max_ssns); in csio_get_fcoe_resinfo()
1517 res_info->used_xchgs = ntohl(rsp->used_xchgs); in csio_get_fcoe_resinfo()
1518 res_info->used_ssns = ntohl(rsp->used_ssns); in csio_get_fcoe_resinfo()
1519 res_info->max_fcfs = ntohl(rsp->max_fcfs); in csio_get_fcoe_resinfo()
1520 res_info->max_vnps = ntohl(rsp->max_vnps); in csio_get_fcoe_resinfo()
1521 res_info->used_fcfs = ntohl(rsp->used_fcfs); in csio_get_fcoe_resinfo()
[all …]
/linux-4.1.27/net/batman-adv/
Dgateway_client.c431 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add()
432 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add()
433 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add()
434 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add()
488 if ((gw_node->bandwidth_down == ntohl(gateway->bandwidth_down)) && in batadv_gw_node_update()
489 (gw_node->bandwidth_up == ntohl(gateway->bandwidth_up))) in batadv_gw_node_update()
499 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_update()
500 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_update()
501 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_update()
502 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_update()
[all …]
Dbat_iv_ogm.c452 ntohl(batadv_ogm_packet->seqno), in batadv_iv_ogm_send_to_if()
1287 uint32_t seqno = ntohl(batadv_ogm_packet->seqno); in batadv_iv_ogm_update_seqnos()
1487 sameseq = orig_ifinfo->last_real_seqno == ntohl(ogm_packet->seqno); in batadv_iv_ogm_process_per_outif()
1610 ogm_packet->prev_sender, ntohl(ogm_packet->seqno), in batadv_iv_ogm_process()
1668 bit_pos -= ntohl(ogm_packet->seqno); in batadv_iv_ogm_process()
/linux-4.1.27/net/ipv4/netfilter/
Dipt_SYNPROXY.c96 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack()
140 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn()
181 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack()
182 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack()
219 nth->seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_ack()
239 mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack()
294 synproxy_recv_client_ack(snet, skb, th, &opts, ntohl(th->seq)); in synproxy_tg4()
335 ntohl(th->seq) + 1); in ipv4_synproxy_hook()
363 ntohl(th->seq) + 1)) in ipv4_synproxy_hook()
369 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook()
[all …]
Dnf_log_ipv4.c174 ntohl(ich->un.gateway) >> 24); in dump_ipv4_packet()
221 nf_log_buf_add(m, "SPI=0x%x ", ntohl(ah->spi)); in dump_ipv4_packet()
244 nf_log_buf_add(m, "SPI=0x%x ", ntohl(eh->spi)); in dump_ipv4_packet()
Dnf_nat_l3proto_ipv4.c68 return ntohl(t->src.u3.ip) >= ntohl(range->min_addr.ip) && in nf_nat_ipv4_in_range()
69 ntohl(t->src.u3.ip) <= ntohl(range->max_addr.ip); in nf_nat_ipv4_in_range()
Dipt_ah.c54 ntohl(ah->spi), in ah_mt()
Dipt_CLUSTERIP.c266 hashval = jhash_1word(ntohl(iph->saddr), in clusterip_hashfn()
270 hashval = jhash_2words(ntohl(iph->saddr), sport, in clusterip_hashfn()
274 hashval = jhash_3words(ntohl(iph->saddr), sport, dport, in clusterip_hashfn()
Dnf_reject_ipv4.c86 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip_tcphdr_put()
Dnf_nat_h323.c114 (ntohl(addr.ip) & 0xff000000) == 0x7f000000) in set_sig_addr()
473 (ntohl(addr.ip) & 0xff000000) == 0x7f000000) { in nat_q931()
/linux-4.1.27/net/ipx/
Dipx_proc.c48 seq_printf(seq, "%08X ", ntohl(i->if_netnum)); in ipx_seq_interface_show()
90 seq_printf(seq, "%08X ", ntohl(rt->ir_net)); in ipx_seq_route_show()
93 ntohl(rt->ir_intrfc->if_netnum), in ipx_seq_route_show()
198 ntohl(ipxs->intrfc->if_netnum), in ipx_seq_socket_show()
202 seq_printf(seq, "%08X:%04X ", ntohl(ipxs->intrfc->if_netnum), in ipx_seq_socket_show()
209 ntohl(ipxs->dest_addr.net), in ipx_seq_socket_show()
/linux-4.1.27/drivers/net/slip/
Dslhc.c378 if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){ in slhc_compress()
384 if((deltaS = ntohl(th->seq) - ntohl(oth->seq)) != 0L){ in slhc_compress()
544 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress()
545 thp->seq = htonl( ntohl(thp->seq) + i); in slhc_uncompress()
550 thp->seq = htonl( ntohl(thp->seq) + in slhc_uncompress()
573 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
579 thp->seq = htonl( ntohl(thp->seq) + x); in slhc_uncompress()
/linux-4.1.27/include/linux/sunrpc/
Dsvcsock.h43 return ntohl(svsk->sk_reclen) & RPC_FRAGMENT_SIZE_MASK; in svc_sock_reclen()
48 return ntohl(svsk->sk_reclen) & RPC_LAST_STREAM_FRAGMENT; in svc_sock_final_rec()
Dsvc_rdma.h300 wc_array[ntohl(wr_ary->wc_nchunks)].wc_target.rs_length; in svc_rdma_get_reply_array()
Dsvc.h184 return ntohl(val); in svc_getnl()
/linux-4.1.27/scripts/basic/
Dfixdep.c118 #define INT_CONF ntohl(0x434f4e46)
119 #define INT_ONFI ntohl(0x4f4e4649)
120 #define INT_NFIG ntohl(0x4e464947)
121 #define INT_FIG_ ntohl(0x4649475f)
/linux-4.1.27/net/dccp/
Doptions.c148 dreq->dreq_timestamp_echo = ntohl(opt_val); in dccp_parse_options()
152 dp->dccps_timestamp_echo = ntohl(opt_val); in dccp_parse_options()
156 dccp_role(sk), ntohl(opt_val), in dccp_parse_options()
167 opt_recv->dccpor_timestamp_echo = ntohl(opt_val); in dccp_parse_options()
188 elapsed_time = ntohl(opt_val); in dccp_parse_options()
206 elapsed_time = ntohl(opt_val); in dccp_parse_options()
/linux-4.1.27/net/sunrpc/
Dauth_null.c90 flavor = ntohl(*p++); in nul_validate()
96 size = ntohl(*p++); in nul_validate()
Dauth_unix.c190 flavor = ntohl(*p++); in unx_validate()
198 size = ntohl(*p++); in unx_validate()
Dxprtsock.c264 snprintf(buf, sizeof(buf), "%08x", ntohl(sin->sin_addr.s_addr)); in xs_format_common_peer_addresses()
1053 transport->tcp_reclen = ntohl(transport->tcp_fraghdr); in xs_tcp_read_fraghdr()
1104 ntohl(transport->tcp_xid)); in xs_tcp_read_xid()
1134 switch (ntohl(transport->tcp_calldir)) { in xs_tcp_read_calldir()
1206 ntohl(transport->tcp_xid)); in xs_tcp_read_common()
1215 ntohl(transport->tcp_xid), r); in xs_tcp_read_common()
1239 dprintk("RPC: read reply XID %08x\n", ntohl(transport->tcp_xid)); in xs_tcp_read_reply()
1246 ntohl(transport->tcp_xid)); in xs_tcp_read_reply()
1285 dprintk("RPC: read callback XID %08x\n", ntohl(req->rq_xid)); in xs_tcp_read_callback()
2410 dprintk("sending request with xid: %08x\n", ntohl(req->rq_xid)); in bc_send_request()
Dsvc.c1252 dprintk("svc: authentication failed (%d)\n", ntohl(auth_stat)); in svc_process_common()
1258 svc_putnl(resv, ntohl(auth_stat)); /* status */ in svc_process_common()
1290 svc_putnl(resv, ntohl(rpc_stat)); in svc_process_common()
Dclnt.c2257 if ((n = ntohl(*p++)) != RPC_REPLY) { in rpc_verify_header()
2264 if ((n = ntohl(*p++)) != RPC_MSG_ACCEPTED) { in rpc_verify_header()
2267 switch ((n = ntohl(*p++))) { in rpc_verify_header()
2284 switch ((n = ntohl(*p++))) { in rpc_verify_header()
2335 switch ((n = ntohl(*p++))) { in rpc_verify_header()
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
Dft1000_download.c208 tempx = ntohl(tempx); in put_handshake()
285 tempx = ntohl(tempx); in get_request_type()
291 tempx = ntohl(tempx); in get_request_type()
308 tempx = ntohl(tempx); in get_request_type_usb()
320 tempx = ntohl(tempx); in get_request_type_usb()
336 value = ntohl(value); in get_request_value()
344 value = ntohl(value); in get_request_value()
357 tempx = ntohl(lvalue); in put_request_value()
/linux-4.1.27/net/sctp/
Doutqueue.c359 ntsn = ntohl(nchunk->subh.data_hdr->tsn); in sctp_insert_list()
363 ltsn = ntohl(lchunk->subh.data_hdr->tsn); in sctp_insert_list()
1008 "illegal chunk", ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush()
1023 __func__, ntohl(chunk->subh.data_hdr->tsn), in sctp_outq_flush()
1143 sack_ctsn = ntohl(sack->cum_tsn_ack); in sctp_outq_sack()
1241 tsn = ntohl(tchunk->subh.data_hdr->tsn); in sctp_outq_sack()
1253 sack_a_rwnd = ntohl(sack->a_rwnd); in sctp_outq_sack()
1315 sack_ctsn = ntohl(sack->cum_tsn_ack); in sctp_check_transmitted()
1340 tsn = ntohl(tchunk->subh.data_hdr->tsn); in sctp_check_transmitted()
1586 tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_mark_missing()
[all …]
Dsm_statefuns.c2340 stale = ntohl(*(__be32 *)((u8 *)err + sizeof(sctp_errhdr_t))); in sctp_sf_do_5_2_6_stale()
2650 ctsn = ntohl(sdh->cum_tsn_ack); in sctp_sf_do_9_2_shutdown()
2735 ctsn = ntohl(sdh->cum_tsn_ack); in sctp_sf_do_9_2_shut_ctsn()
2853 lowest_tsn = ntohl(cwr->lowest_tsn); in sctp_sf_do_ecn_cwr()
2910 SCTP_U32(ntohl(ecne->lowest_tsn))); in sctp_sf_do_ecne()
3183 ctsn = ntohl(sackh->cum_tsn_ack); in sctp_sf_eat_sack_6_2()
3257 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_tabort_8_4_8()
3523 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_shut_8_4_5()
3620 serial = ntohl(hdr->serial); in sctp_sf_do_asconf()
3737 rcvd_serial = ntohl(addip_hdr->serial); in sctp_sf_do_asconf_ack()
[all …]
Dsm_make_chunk.c1761 if (ntohl(chunk->sctp_hdr->vtag) != bear_cookie->my_vtag) { in sctp_unpack_cookie()
2241 ntohl(peer_init->init_hdr.a_rwnd) < SCTP_DEFAULT_MINWINDOW) in sctp_verify_init()
2372 ntohl(peer_init->init_hdr.init_tag); in sctp_process_init()
2374 ntohl(peer_init->init_hdr.a_rwnd); in sctp_process_init()
2380 ntohl(peer_init->init_hdr.initial_tsn); in sctp_process_init()
2530 stale = ntohl(param.life->lifespan_increment); in sctp_process_param()
2602 asoc->peer.adaptation_ind = ntohl(param.aind->adaptation_ind); in sctp_process_param()
3195 serial = ntohl(hdr->serial); in sctp_process_asconf()
Dulpevent.c671 ntohl(chunk->subh.data_hdr->tsn), in sctp_ulpevent_make_rcvmsg()
711 event->tsn = ntohl(chunk->subh.data_hdr->tsn); in sctp_ulpevent_make_rcvmsg()
Dinput.c482 __u32 vtag = ntohl(sctphdr->vtag); in sctp_err_lookup()
522 ntohl(chunkhdr->init_hdr.init_tag) != asoc->c.my_vtag) { in sctp_err_lookup()
/linux-4.1.27/include/linux/byteorder/
Dgeneric.h128 #undef ntohl
139 #define ntohl(x) ___ntohl(x) macro
/linux-4.1.27/net/netfilter/ipset/
Dip_set_hash_ipmark.c131 e.mark = ntohl(nla_get_u32(tb[IPSET_ATTR_MARK])); in hash_ipmark4_uadt()
140 ip_to = ip = ntohl(e.ip); in hash_ipmark4_uadt()
156 ip = ntohl(h->next.ip); in hash_ipmark4_uadt()
266 e.mark = ntohl(nla_get_u32(tb[IPSET_ATTR_MARK])); in hash_ipmark6_uadt()
Dip_set_hash_ipport.c164 ip_to = ip = ntohl(e.ip); in hash_ipport4_uadt()
187 ip = ntohl(h->next.ip); in hash_ipport4_uadt()
189 p = retried && ip == ntohl(h->next.ip) ? ntohs(h->next.port) in hash_ipport4_uadt()
Dip_set_hash_ipportnet.c277 ip = ntohl(h->next.ip); in hash_ipportnet4_uadt()
280 p = retried && ip == ntohl(h->next.ip) ? ntohs(h->next.port) in hash_ipportnet4_uadt()
285 ip == ntohl(h->next.ip) && in hash_ipportnet4_uadt()
287 ? ntohl(h->next.ip2) : ip2_from; in hash_ipportnet4_uadt()
Dip_set_hash_ipportip.c170 ip_to = ip = ntohl(e.ip); in hash_ipportip4_uadt()
193 ip = ntohl(h->next.ip); in hash_ipportip4_uadt()
195 p = retried && ip == ntohl(h->next.ip) ? ntohs(h->next.port) in hash_ipportip4_uadt()
Dip_set_hash_netportnet.c288 ip = ntohl(h->next.ip[0]); in hash_netportnet4_uadt()
294 p = retried && ip == ntohl(h->next.ip[0]) ? ntohs(h->next.port) in hash_netportnet4_uadt()
298 ip2 = (retried && ip == ntohl(h->next.ip[0]) && in hash_netportnet4_uadt()
299 p == ntohs(h->next.port)) ? ntohl(h->next.ip[1]) in hash_netportnet4_uadt()
Dip_set_hash_netnet.c245 ip = ntohl(h->next.ip[0]); in hash_netnet4_uadt()
252 ip == ntohl(h->next.ip[0])) ? ntohl(h->next.ip[1]) in hash_netnet4_uadt()
Dip_set_hash_netport.c247 ip = ntohl(h->next.ip); in hash_netport4_uadt()
252 p = retried && ip == ntohl(h->next.ip) ? ntohs(h->next.port) in hash_netport4_uadt()
Dip_set_hash_ip.c156 ip = ntohl(h->next.ip); in hash_ip4_uadt()
/linux-4.1.27/net/ipv6/
Dsyncookies.c130 th->dest, ntohl(th->seq), mssind); in __cookie_v6_init_sequence()
148 __u32 seq = ntohl(th->seq) - 1; in __cookie_v6_check()
164 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
231 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v6_check()
Dtcp_ipv6.c351 seq = ntohl(th->seq); in tcp_v6_err()
398 tp->mtu_info = ntohl(info); in tcp_v6_err()
886 seq = ntohl(th->ack_seq); in tcp_v6_send_reset()
888 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
1349 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v6_fill_cb()
1352 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
/linux-4.1.27/drivers/scsi/
Dosst.c637 if (ntohl(aux->format_id) != 0) { in osst_verify_frame()
639 printk(OSST_DEB_MSG "%s:D: Skipping frame, format_id %u\n", name, ntohl(aux->format_id)); in osst_verify_frame()
688 if (frame_seq_number != -1 && ntohl(aux->frame_seq_num) != frame_seq_number) { in osst_verify_frame()
692 name, ntohl(aux->frame_seq_num), frame_seq_number); in osst_verify_frame()
700 i = ntohl(aux->filemark_cnt); in osst_verify_frame()
702 STp->first_frame_position - 1 != ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[i]))) { in osst_verify_frame()
719 blk_sz = ntohl(aux->dat.dat_list[0].blk_sz); in osst_verify_frame()
736 STp->frame_seq_number = ntohl(aux->frame_seq_num); in osst_verify_frame()
737 STp->logical_blk_num = ntohl(aux->logical_blk_num); in osst_verify_frame()
1087 ntohl(aux->update_frame_cntr), ntohs(aux->partition.wrt_pass_cntr), in osst_read_frame()
[all …]
/linux-4.1.27/drivers/net/wan/
Dhdlc_cisco.c190 switch (ntohl (cisco_data->type)) { in cisco_rx()
223 st->rxseq = ntohl(cisco_data->par1); in cisco_rx()
224 ack = ntohl(cisco_data->par2); in cisco_rx()
231 sec = ntohl(cisco_data->time) / 1000; in cisco_rx()
/linux-4.1.27/net/ipv4/
Dsyncookies.c190 th->source, th->dest, ntohl(th->seq), in __cookie_v4_init_sequence()
214 __u32 seq = ntohl(th->seq) - 1; in __cookie_v4_check()
299 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check()
335 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v4_check()
Dinet_lro.c90 if (lro_desc && after(ntohl(lro_desc->tcp_rcv_tsval), in lro_tcp_ip_check()
91 ntohl(*topt))) in lro_tcp_ip_check()
159 lro_desc->tcp_next_seq = ntohl(tcph->seq) + tcp_data_len; in lro_init_desc()
329 if (lro_desc->tcp_next_seq != ntohl(tcph->seq)) in __lro_proc_skb()
Dtcp_offload.c126 seq = ntohl(th->seq); in tcp_gso_segment()
248 flush |= (ntohl(th2->seq) + skb_gro_len(p)) ^ ntohl(th->seq); in tcp_gro_receive()
Dipconfig.c452 if (IN_CLASSA(ntohl(ic_myaddr))) in ic_defaults()
454 else if (IN_CLASSB(ntohl(ic_myaddr))) in ic_defaults()
456 else if (IN_CLASSC(ntohl(ic_myaddr))) in ic_defaults()
/linux-4.1.27/fs/nfs_common/
Dnfsacl.c163 entry->e_tag = ntohl(*p++) & ~NFS_ACL_DEFAULT; in xdr_nfsace_decode()
164 id = ntohl(*p++); in xdr_nfsace_decode()
165 entry->e_perm = ntohl(*p++); in xdr_nfsace_decode()
/linux-4.1.27/drivers/staging/ft1000/ft1000-pcmcia/
Dft1000_dnld.c165 ntohl(ft1000_read_dpram_mag_32 in get_handshake()
194 tempx = ntohl(tempx); in put_handshake()
210 tempx = ntohl(tempx); in get_request_type()
240 value = ntohl(value); in get_request_value()
268 tempx = ntohl(lvalue); in put_request_value()
/linux-4.1.27/net/sched/
Dcls_flow.c72 return ntohl(flow->src); in flow_get_src()
79 return ntohl(flow->dst); in flow_get_dst()
149 return ntohl(CTTUPLE(skb, src.u3.ip)); in flow_get_nfct_src()
151 return ntohl(CTTUPLE(skb, src.u3.ip6[3])); in flow_get_nfct_src()
161 return ntohl(CTTUPLE(skb, dst.u3.ip)); in flow_get_nfct_dst()
163 return ntohl(CTTUPLE(skb, dst.u3.ip6[3])); in flow_get_nfct_dst()
/linux-4.1.27/include/net/sctp/
Dsm.h401 if (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag) in sctp_vtag_verify()
436 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || in sctp_vtag_verify_either()
438 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { in sctp_vtag_verify_either()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_app.c295 __u32 seq = ntohl(th->seq); in vs_fix_seq()
322 __u32 ack_seq = ntohl(th->ack_seq); in vs_fix_ack_seq()
381 seq = ntohl(th->seq); in app_tcp_pkt_out()
456 seq = ntohl(th->seq); in app_tcp_pkt_in()
Dip_vs_conn.c1082 ntohl(cp->daddr.ip)); in ip_vs_conn_seq_show()
1100 ntohl(cp->caddr.ip), ntohs(cp->cport), in ip_vs_conn_seq_show()
1101 ntohl(cp->vaddr.ip), ntohs(cp->vport), in ip_vs_conn_seq_show()
1158 ntohl(cp->daddr.ip)); in ip_vs_conn_sync_seq_show()
1177 ntohl(cp->caddr.ip), ntohs(cp->cport), in ip_vs_conn_sync_seq_show()
1178 ntohl(cp->vaddr.ip), ntohs(cp->vport), in ip_vs_conn_sync_seq_show()
Dip_vs_dh.c84 return (ntohl(addr_fold)*2654435761UL) & IP_VS_DH_TAB_MASK; in ip_vs_dh_hashkey()
Dip_vs_sync.c1145 flags = ntohl(s->v4.flags) & IP_VS_CONN_F_BACKUP_MASK; in ip_vs_proc_sync_conn()
1180 ntohl(s->v4.timeout), ntohl(s->v4.fwmark), in ip_vs_proc_sync_conn()
1187 ntohl(s->v6.timeout), ntohl(s->v6.fwmark), in ip_vs_proc_sync_conn()
Dip_vs_sh.c99 return (offset + (ntohs(port) + ntohl(addr_fold))*2654435761UL) & in ip_vs_sh_hashkey()
/linux-4.1.27/drivers/target/tcm_fc/
Dtfc_sess.c372 fcp_parm = ntohl(rspp->spp_params); in ft_prli_locked()
400 fcp_parm = ntohl(spp->spp_params); in ft_prli_locked()
406 fcp_parm = ntohl(spp->spp_params); in ft_prli_locked()
Dtfc_io.c281 rel_off = ntohl(fh->fh_parm_offset); in ft_recv_write_data()
/linux-4.1.27/include/linux/
Ddccp.h98 seq_nr = (seq_nr << 32) + ntohl(dccp_hdrx(dh)->dccph_seq_low); in dccp_hdr_seq()
120 return ((u64)ntohs(dhack->dccph_ack_nr_high) << 32) + ntohl(dhack->dccph_ack_nr_low); in dccp_hdr_ack_seq()
Dinetdevice.h185 hmask = ntohl(mask); in bad_mask()
251 __u32 hmask = ntohl(mask); in inet_mask_len()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_cm.c605 *ip_addr = ntohl(in_addr->sin_addr.s_addr); in record_sockaddr_info()
864 new_send->seq_num = ntohl(tcp_hdr(skb)->seq); in schedule_nes_timer()
1543 neigh->ha, ntohl(rt->rt_gateway)); in nes_addr_resolve_neigh()
1996 err = ((ntohl(tcph->ack_seq) == cm_node->tcp_cntxt.loc_seq_num)) ? 0 : 1; in check_syn()
2013 seq = ntohl(tcph->seq); in check_seq()
2014 ack_seq = ntohl(tcph->ack_seq); in check_seq()
2046 inc_sequence = ntohl(tcph->seq); in handle_syn_pkt()
2107 inc_sequence = ntohl(tcph->seq); in handle_synack_pkt()
2114 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); in handle_synack_pkt()
2132 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in handle_synack_pkt()
[all …]
Dnes.c177 ntohl(nesvnic->local_ipaddr), NES_ARP_DELETE); in nes_inetaddr_event()
202 ntohl(nesvnic->local_ipaddr)); in nes_inetaddr_event()
204 ntohl(nesvnic->local_ipaddr), NES_ARP_ADD); in nes_inetaddr_event()
244 ntohl(*(__be32 *)neigh->primary_key), NES_ARP_ADD); in nes_net_event()
247 ntohl(*(__be32 *)neigh->primary_key), NES_ARP_DELETE); in nes_net_event()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c479 unsigned int atid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_act_establish()
480 u32 rcv_isn = ntohl(req->rcv_isn); /* real RCV_ISN + 1 */ in do_act_establish()
509 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in do_act_establish()
630 csk, csk->state, csk->flags, csk->tid, ntohl(rpl->snd_nxt)); in do_close_con_rpl()
632 cxgbi_sock_rcv_close_conn_rpl(csk, ntohl(rpl->snd_nxt)); in do_close_con_rpl()
769 cxgbi_skcb_tcp_seq(skb) = ntohl(hdr_cpl->seq); in do_iscsi_hdr()
796 cxgbi_skcb_rx_ddigest(skb) = ntohl(ddp_cpl.ulp_crc); in do_iscsi_hdr()
797 status = ntohl(ddp_cpl.ddp_status); in do_iscsi_hdr()
826 csk->rcv_nxt = ntohl(ddp_cpl.seq) + cxgbi_skcb_rx_pdulen(skb); in do_iscsi_hdr()
856 cxgbi_sock_rcv_wr_ack(csk, ntohs(hdr->credits), ntohl(hdr->snd_una), 1); in do_wr_ack()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c742 unsigned int atid = G_TID(ntohl(rpl->atid)); in do_act_open_rpl()
762 unsigned int stid = G_TID(ntohl(p->opcode_tid)); in do_stid_rpl()
780 unsigned int hwtid = G_TID(ntohl(p->opcode_tid)); in do_hwtid_rpl()
798 unsigned int stid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_cr()
847 unsigned int hwtid = G_TID(ntohl(p->opcode_tid)); in do_abort_req_rss()
892 unsigned int atid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_act_establish()
936 return ntohl((__force __be32)skb->priority) >> 8 & 0xfffff; in get_hwtid()
941 return G_OPCODE(ntohl((__force __be32)skb->csum)); in get_opcode()
1031 dev->name, opcode, G_TID(ntohl(p->opcode_tid))); in process_rx()
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c444 result = ntohl(response->result); in myri10ge_send_cmd()
445 value = ntohl(response->data); in myri10ge_send_cmd()
565 if (ntohl(hdr->mcp_type) != MCP_TYPE_ETH) { in myri10ge_validate_firmware()
566 dev_err(dev, "Bad firmware type: 0x%x\n", ntohl(hdr->mcp_type)); in myri10ge_validate_firmware()
615 hdr_offset = ntohl(*(__be32 *) (fw->data + MCP_HEADER_PTR_OFFSET)); in myri10ge_load_hotplug_firmware()
1632 unsigned link_up = ntohl(stats->link_up); in myri10ge_check_statblock()
1650 ntohl(stats->rdma_tags_available)) { in myri10ge_check_statblock()
1652 ntohl(stats->rdma_tags_available); in myri10ge_check_statblock()
1753 send_done_count = ntohl(stats->send_done_count); in myri10ge_intr()
1998 data[i++] = (unsigned int)ntohl(ss->fw_stats->link_up); in myri10ge_get_ethtool_stats()
[all …]
/linux-4.1.27/drivers/mtd/maps/
Duclinux.c84 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8)))); in uclinux_mtd_init()
/linux-4.1.27/net/rds/
Dtransport.c86 if (IN_LOOPBACK(ntohl(addr))) in rds_trans_get_preferred()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tcpip.c120 *ip = ntohl(val); in libcfs_ipif_query()
132 *mask = ntohl(val); in libcfs_ipif_query()
474 *ip = ntohl (sin.sin_addr.s_addr); in libcfs_sock_getaddr()
/linux-4.1.27/arch/ia64/hp/sim/
Dsimeth.c307 dev->name, ntohl(ifa->ifa_local)); in simeth_device_event()
318 netdev_attach(local->simfd, dev->irq, ntohl(ifa->ifa_local)): in simeth_device_event()
/linux-4.1.27/drivers/net/usb/
Dlg-vl600.c148 if (ntohl(frame->magic) != 0x53544448 && in vl600_rx_fixup()
149 ntohl(frame->magic) != 0x44544d48) in vl600_rx_fixup()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c328 dma_unmap_single(dev, be64_to_cpu(sgl->addr0), ntohl(sgl->len0), in unmap_sgl()
331 dma_unmap_page(dev, be64_to_cpu(sgl->addr0), ntohl(sgl->len0), in unmap_sgl()
343 ntohl(p->len[0]), DMA_TO_DEVICE); in unmap_sgl()
345 ntohl(p->len[1]), DMA_TO_DEVICE); in unmap_sgl()
354 ntohl(p->len[0]), DMA_TO_DEVICE); in unmap_sgl()
356 ntohl(p->len[1]), DMA_TO_DEVICE); in unmap_sgl()
362 ntohl(p->len[0]), DMA_TO_DEVICE); in unmap_sgl()
364 ntohl(p->len[1]), DMA_TO_DEVICE); in unmap_sgl()
375 dma_unmap_page(dev, be64_to_cpu(addr), ntohl(p->len[0]), in unmap_sgl()
2019 u32 len = ntohl(rc->pldbuflen_qid), bufsz, frags; in process_responses()
[all …]
Dt4_hw.c217 asrt.u.assert.filename_0_7, ntohl(asrt.u.assert.line), in fw_asrt()
218 ntohl(asrt.u.assert.x), ntohl(asrt.u.assert.y)); in fw_asrt()
1996 csum += ntohl(p[i]); in t4_load_fw()
3891 v = ntohl(c.err_to_clearinit); in t4_fw_hello()
4193 reset = ((ntohl(fw_hdr->flags) & FW_HDR_FLAGS_RESET_HALT) == 0); in t4_fw_upgrade()
4358 *val++ = ntohl(*p); in t4_query_params()
4908 int chan = FW_PORT_CMD_PORTID_G(ntohl(p->op_to_portid)); in t4_handle_fw_rpl()
4912 u32 stat = ntohl(p->u.info.lstatus_to_modtype); in t4_handle_fw_rpl()
5234 devlog_meminfo = ntohl(devlog_cmd.memtype_devlog_memaddr16_devlog); in t4_init_devlog_params()
5237 dparams->size = ntohl(devlog_cmd.memsize_devlog); in t4_init_devlog_params()
[all …]
/linux-4.1.27/net/core/
Dtso.c62 tso->tcp_seq = ntohl(tcp_hdr(skb)->seq); in tso_start()
Dpktgen.c597 seq_printf(seq, "%08x%s", ntohl(pkt_dev->labels[i]), in pktgen_if_show()
1568 "%08x%s", ntohl(pkt_dev->labels[n]), in pktgen_if_write()
2438 imn = ntohl(pkt_dev->saddr_min); in mod_cur_headers()
2439 imx = ntohl(pkt_dev->saddr_max); in mod_cur_headers()
2445 t = ntohl(pkt_dev->cur_saddr); in mod_cur_headers()
2457 imn = ntohl(pkt_dev->daddr_min); in mod_cur_headers()
2458 imx = ntohl(pkt_dev->daddr_max); in mod_cur_headers()
2475 t = ntohl(pkt_dev->cur_daddr); in mod_cur_headers()
/linux-4.1.27/security/apparmor/
Dmatch.c221 if (ntohl(*(u32 *) data) != YYTH_MAGIC) in aa_dfa_unpack()
224 hsize = ntohl(*(u32 *) (data + 4)); in aa_dfa_unpack()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c708 unsigned int atid = TID_TID_G(ntohl(req->tos_atid)); in do_act_establish()
766 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in do_act_establish()
939 cxgbi_sock_rcv_close_conn_rpl(csk, ntohl(rpl->snd_nxt)); in do_close_con_rpl()
1088 cxgbi_skcb_tcp_seq(skb) = ntohl(cpl->seq); in do_rx_iscsi_hdr()
1114 dlen = ntohl(*(unsigned int *)(bhs + 4)) & 0xFFFFFF; in do_rx_iscsi_hdr()
1136 ntohl(*((unsigned int *)(bhs + 16))), in do_rx_iscsi_hdr()
1137 ntohl(*((unsigned int *)(bhs + 24)))); in do_rx_iscsi_hdr()
1169 unsigned int status = ntohl(rpl->ddpvld); in do_rx_data_ddp()
1201 cxgbi_skcb_rx_ddigest(lskb) = ntohl(rpl->ulp_crc); in do_rx_data_ddp()
1262 cxgbi_sock_rcv_wr_ack(csk, rpl->credits, ntohl(rpl->snd_una), in do_fw4_ack()
[all …]
/linux-4.1.27/drivers/scsi/libfc/
Dfc_rport.c640 e_d_tov = ntohl(flogi->fl_csp.sp_e_d_tov); in fc_rport_login_complete()
692 r_a_tov = ntohl(flogi->fl_csp.sp_r_a_tov); in fc_rport_flogi_resp()
1048 fcp_parm = ntohl(pp->spp.spp_params); in fc_rport_prli_resp()
1181 toq = ntohl(rtv->rtv_toq); in fc_rport_rtv_resp()
1182 tov = ntohl(rtv->rtv_r_a_tov); in fc_rport_rtv_resp()
1186 tov = ntohl(rtv->rtv_e_d_tov); in fc_rport_rtv_resp()
1982 fcp_parm = ntohl(rspp->spp_params); in fc_rport_fcp_prli()
2000 fcp_parm = ntohl(spp->spp_params); in fc_rport_fcp_prli()
Dfc_fcp.c458 offset = ntohl(fh->fh_parm_offset); in fc_fcp_recv_data()
790 (size_t) ntohl(dd->ft_data_ro), in fc_fcp_recv()
791 (size_t) ntohl(dd->ft_burst_len)); in fc_fcp_recv()
853 respl = ntohl(rp_ex->fr_rsp_len); in fc_fcp_resp()
869 snsl = ntohl(rp_ex->fr_sns_len); in fc_fcp_resp()
880 fsp->scsi_resid = ntohl(rp_ex->fr_resid); in fc_fcp_resp()
1526 offset = ntohl(recp->reca_fc4value); in fc_fcp_rec_resp()
1527 e_stat = ntohl(recp->reca_e_stat); in fc_fcp_rec_resp()
/linux-4.1.27/net/bridge/netfilter/
Dnft_meta_bridge.c58 priv->key = ntohl(nla_get_be32(tb[NFTA_META_KEY])); in nft_meta_bridge_get_init()
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_transport.c180 *addr = ntohl(((struct sockaddr_in *) in usnic_transport_sock_get_addr()
Dusnic_fwd.c167 else if (ntohl(ufdev->inaddr) != filter->u.ipv4.dst_addr) in validate_filter_locked()
/linux-4.1.27/security/keys/
Dtrusted.h16 #define LOAD32(buffer, offset) (ntohl(*(uint32_t *)&buffer[offset]))
/linux-4.1.27/drivers/block/
Dnbd.c328 if (ntohl(reply.magic) != NBD_REPLY_MAGIC) { in nbd_read_stat()
330 (unsigned long)ntohl(reply.magic)); in nbd_read_stat()
347 if (ntohl(reply.error)) { in nbd_read_stat()
349 ntohl(reply.error)); in nbd_read_stat()
/linux-4.1.27/include/linux/netfilter/ipset/
Dip_set.h429 *ipaddr = ntohl(ip); in ip_set_get_hostipaddr4()
467 return ntohl(nla_get_be32(attr)); in ip_set_get_h32()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c273 ouisubtype = ntohl(tlv->ouisubtype); in i40e_parse_ieee_tlv()
308 ouisubtype = ntohl(tlv->ouisubtype); in i40e_parse_org_tlv()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Diwch_cm.c647 ep->snd_seq = ntohl(req->snd_isn); in act_establish()
648 ep->rcv_seq = ntohl(req->rcv_isn); in act_establish()
1056 BUG_ON(ep->rcv_seq != (ntohl(hdr->seq) + dlen)); in rx_data()
1374 req->peer_port, G_PASS_OPEN_TOS(ntohl(req->tos_tid))); in pass_accept_req()
1407 child_ep->tos = G_PASS_OPEN_TOS(ntohl(req->tos_tid)); in pass_accept_req()
1427 ep->snd_seq = ntohl(req->snd_isn); in pass_establish()
1428 ep->rcv_seq = ntohl(req->rcv_isn); in pass_establish()
2190 ret = work_handlers[G_OPCODE(ntohl((__force __be32)skb->csum))](tdev, skb, ep); in process_work()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbfa_cee.c42 buffer[i] = ntohl(buffer[i]); in bfa_cee_stats_swap()
Dbna_enet.c175 ioceth->attr.num_txq = ntohl(rsp->max_cfg); in bna_bfi_attr_get_rsp()
176 ioceth->attr.num_rxp = ntohl(rsp->max_cfg); in bna_bfi_attr_get_rsp()
177 ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); in bna_bfi_attr_get_rsp()
179 ioceth->attr.max_rit_size = ntohl(rsp->rit_size); in bna_bfi_attr_get_rsp()
192 u32 tx_enet_mask = ntohl(stats_req->tx_enet_mask); in bna_bfi_stats_get_rsp()
193 u32 rx_enet_mask = ntohl(stats_req->rx_enet_mask); in bna_bfi_stats_get_rsp()
Dbna.h79 (_addr) = ((((u64)ntohl((_bna_dma_addr)->msb))) << 32) \
80 | ((ntohl((_bna_dma_addr)->lsb) & 0xffffffff)); \
/linux-4.1.27/tools/usb/usbip/src/
Dusbip_network.c72 i = ntohl(*num); in usbip_net_pack_uint32_t()
/linux-4.1.27/net/l2tp/
Dl2tp_ip.c132 session_id = ntohl(*((__be32 *) ptr)); in l2tp_ip_recv()
175 tunnel_id = ntohl(*(__be32 *) &skb->data[4]); in l2tp_ip_recv()
Dl2tp_ip6.c144 session_id = ntohl(*((__be32 *) ptr)); in l2tp_ip6_recv()
187 tunnel_id = ntohl(*(__be32 *) &skb->data[4]); in l2tp_ip6_recv()
/linux-4.1.27/net/atm/
Dmpoa_proc.c174 (unsigned long)ntohl(eg_entry->ctrl_info.cache_id), in mpc_show()
Dmpoa_caches.c485 ntohl(entry->ctrl_info.cache_id)); in eg_cache_add_entry()
519 ntohl(entry->ctrl_info.cache_id)); in clear_expired()
/linux-4.1.27/init/
Ddo_mounts_rd.c113 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1457 flow_vm_vlan = ntohl(input.dword); in ixgbe_atr_compute_sig_hash_82599()
1460 hi_hash_dword = ntohl(common.dword); in ixgbe_atr_compute_sig_hash_82599()
1590 flow_vm_vlan = ntohl(input->dword_stream[0]); in ixgbe_atr_compute_perfect_hash_82599()
1595 hi_hash_dword = ntohl(hi_dword); in ixgbe_atr_compute_perfect_hash_82599()
1657 IXGBE_WRITE_REG((a), (reg), IXGBE_STORE_AS_BE32(ntohl(value)))
/linux-4.1.27/include/net/
Dip.h386 __u32 addr=ntohl(naddr); in ip_eth_mc_map()
411 addr = ntohl(naddr); in ip_ib_mc_map()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_nego.c361 ntohl(login_rsp->exp_cmdsn), ntohl(login_rsp->max_cmdsn), in iscsi_target_do_tx_login_io()
362 ntohl(login_rsp->statsn), login->rsp_length); in iscsi_target_do_tx_login_io()
/linux-4.1.27/net/sunrpc/auth_gss/
Dauth_gss.c1619 flav = ntohl(*p++); in gss_validate()
1620 if ((len = ntohl(*p++)) > RPC_MAX_AUTH_SIZE) in gss_validate()
1871 integ_len = ntohl(*(*p)++); in gss_unwrap_resp_integ()
1878 if (ntohl(*(*p)++) != rqstp->rq_seqno) in gss_unwrap_resp_integ()
1906 opaque_len = ntohl(*(*p)++); in gss_unwrap_resp_priv()
1918 if (ntohl(*(*p)++) != rqstp->rq_seqno) in gss_unwrap_resp_priv()
/linux-4.1.27/drivers/net/
Dvxlan.c168 return IN_MULTICAST(ntohl(ipa->sin.sin_addr.s_addr)); in vxlan_addr_multicast()
210 return IN_MULTICAST(ntohl(ipa->sin.sin_addr.s_addr)); in vxlan_addr_multicast()
612 flags = ntohl(vh->vx_flags); in vxlan_gro_receive()
616 ntohl(vh->vx_vni), &grc, in vxlan_gro_receive()
1177 flags = ntohl(vxh->vx_flags); in vxlan_udp_encap_recv()
1178 vni = ntohl(vxh->vx_vni); in vxlan_udp_encap_recv()
1247 ntohl(vxh->vx_flags), ntohl(vxh->vx_vni)); in vxlan_udp_encap_recv()
1266 vni = ntohl(md->vni) >> 8; in vxlan_rcv()
/linux-4.1.27/drivers/infiniband/ulp/iser/
Diser_initiator.c389 edtl = ntohl(hdr->data_length); in iser_send_command()
462 buf_offset = ntohl(hdr->offset); in iser_send_data_out()
/linux-4.1.27/drivers/net/ppp/
Dpptp.c326 ack = ntohl(ack); in pptp_rcv_core()
341 seq = ntohl(header->seq); in pptp_rcv_core()
/linux-4.1.27/drivers/media/usb/ttusb-dec/
Dttusb_dec.c357 *mode = ntohl(tmp); in ttusb_dec_get_stb_state()
361 *model = ntohl(tmp); in ttusb_dec_get_stb_state()
365 *version = ntohl(tmp); in ttusb_dec_get_stb_state()
1321 crc32_check = ntohl(tmp); in ttusb_dec_boot_dsp()
/linux-4.1.27/net/openvswitch/
Dvport-vxlan.c84 key = cpu_to_be64(ntohl(md->vni) >> 8); in vxlan_rcv()
/linux-4.1.27/drivers/net/ethernet/xilinx/
Dxilinx_emaclite.c408 proto_type = ((ntohl(__raw_readl(addr + XEL_HEADER_OFFSET + in xemaclite_recv_data()
417 length = ((ntohl(__raw_readl(addr + in xemaclite_recv_data()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dcq.c447 qpn = ntohl(cqe64->sop_drop_qpn) & 0xffffff; in mlx5_poll_one()
852 return rsn == (ntohl(cqe64->sop_drop_qpn) & 0xffffff); in is_equal_rsn()
883 if (srq && (ntohl(cqe64->srqn) & 0xffffff)) in __mlx5_ib_cq_clean()

12