Home
last modified time | relevance | path

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

12345678910>>...20

/OK3568_Linux_fs/kernel/net/ncsi/
H A Dncsi-rsp.c60 if (ntohl(*pchecksum) == 0) in ncsi_validate_rsp_pkt()
287 ncm->data[1] = ntohl(cmd->mode); in ncsi_rsp_handler_ae()
309 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_sl()
310 ncm->data[1] = ntohl(cmd->oem_mode); in ncsi_rsp_handler_sl()
331 ncm->data[2] = ntohl(rsp->status); in ncsi_rsp_handler_gls()
332 ncm->data[3] = ntohl(rsp->other); in ncsi_rsp_handler_gls()
333 ncm->data[4] = ntohl(rsp->oem_status); in ncsi_rsp_handler_gls()
406 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ev()
503 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ebf()
556 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_egmf()
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_seqadj.c50 before(this_way->correction_pos, ntohl(seq))) { in nf_ct_seqadj_set()
51 this_way->correction_pos = ntohl(seq); in nf_ct_seqadj_set()
86 if (after(ntohl(sack->start_seq) - seq->offset_before, in nf_ct_sack_block_adjust()
88 new_start_seq = htonl(ntohl(sack->start_seq) - in nf_ct_sack_block_adjust()
91 new_start_seq = htonl(ntohl(sack->start_seq) - in nf_ct_sack_block_adjust()
94 if (after(ntohl(sack->end_seq) - seq->offset_before, in nf_ct_sack_block_adjust()
96 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust()
99 new_end_seq = htonl(ntohl(sack->end_seq) - in nf_ct_sack_block_adjust()
103 ntohl(sack->start_seq), ntohl(new_start_seq), in nf_ct_sack_block_adjust()
104 ntohl(sack->end_seq), ntohl(new_end_seq)); in nf_ct_sack_block_adjust()
[all …]
H A Dxt_iprange.c24 m = ntohl(iph->saddr) < ntohl(info->src_min.ip); in iprange_mt4()
25 m |= ntohl(iph->saddr) > ntohl(info->src_max.ip); in iprange_mt4()
37 m = ntohl(iph->daddr) < ntohl(info->dst_min.ip); in iprange_mt4()
38 m |= ntohl(iph->daddr) > ntohl(info->dst_max.ip); in iprange_mt4()
59 return ntohl(a->s6_addr32[i]) < ntohl(b->s6_addr32[i]); in iprange_ipv6_lt()
/OK3568_Linux_fs/kernel/fs/afs/
H A Dvlclient.c35 nr_servers = ntohl(uvldb->nServers); in afs_deliver_vl_get_entry_by_name_u()
40 entry->name[i] = (u8)ntohl(uvldb->name[i]); in afs_deliver_vl_get_entry_by_name_u()
48 tmp = ntohl(uvldb->serverFlags[i]); in afs_deliver_vl_get_entry_by_name_u()
54 vlflags = ntohl(uvldb->flags); in afs_deliver_vl_get_entry_by_name_u()
61 tmp = ntohl(uvldb->serverFlags[i]); in afs_deliver_vl_get_entry_by_name_u()
78 uuid->time_mid = htons(ntohl(xdr->time_mid)); in afs_deliver_vl_get_entry_by_name_u()
79 uuid->time_hi_and_version = htons(ntohl(xdr->time_hi_and_version)); in afs_deliver_vl_get_entry_by_name_u()
80 uuid->clock_seq_hi_and_reserved = (u8)ntohl(xdr->clock_seq_hi_and_reserved); in afs_deliver_vl_get_entry_by_name_u()
81 uuid->clock_seq_low = (u8)ntohl(xdr->clock_seq_low); in afs_deliver_vl_get_entry_by_name_u()
83 uuid->node[j] = (u8)ntohl(xdr->node[j]); in afs_deliver_vl_get_entry_by_name_u()
[all …]
H A Dcmservice.c251 call->count = ntohl(call->tmp); in afs_deliver_cb_callback()
280 cb->fid.vid = ntohl(*bp++); in afs_deliver_cb_callback()
281 cb->fid.vnode = ntohl(*bp++); in afs_deliver_cb_callback()
282 cb->fid.unique = ntohl(*bp++); in afs_deliver_cb_callback()
296 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback()
401 r->time_mid = htons(ntohl(b[1])); in afs_deliver_cb_init_call_back_state3()
402 r->time_hi_and_version = htons(ntohl(b[2])); in afs_deliver_cb_init_call_back_state3()
403 r->clock_seq_hi_and_reserved = ntohl(b[3]); in afs_deliver_cb_init_call_back_state3()
404 r->clock_seq_low = ntohl(b[4]); in afs_deliver_cb_init_call_back_state3()
407 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_init_call_back_state3()
[all …]
/OK3568_Linux_fs/u-boot/net/
H A Dnfs.c439 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in rpc_lookup_reply()
441 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in rpc_lookup_reply()
451 nfs_server_mount_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
454 nfs_server_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
469 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_mount_reply()
471 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_mount_reply()
495 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_umountall_reply()
497 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_umountall_reply()
519 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_lookup_reply()
521 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_lookup_reply()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32_parse.h48 f->val.tos = (ntohl(val) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos()
49 f->mask.tos = (ntohl(mask) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos()
60 frag_val = (ntohl(val) >> 13) & 0x00000007; in cxgb4_fill_ipv4_frag()
61 mask_val = ntohl(mask) & 0x0000FFFF; in cxgb4_fill_ipv4_frag()
79 f->val.proto = (ntohl(val) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_proto()
80 f->mask.proto = (ntohl(mask) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_proto()
116 f->val.tos = (ntohl(val) >> 20) & 0x000000FF; in cxgb4_fill_ipv6_tos()
117 f->mask.tos = (ntohl(mask) >> 20) & 0x000000FF; in cxgb4_fill_ipv6_tos()
125 f->val.proto = (ntohl(val) >> 8) & 0x000000FF; in cxgb4_fill_ipv6_proto()
126 f->mask.proto = (ntohl(mask) >> 8) & 0x000000FF; in cxgb4_fill_ipv6_proto()
[all …]
/OK3568_Linux_fs/kernel/fs/lockd/
H A Dxdr.c51 len = ntohl(*p++); in nlm_decode_cookie()
88 if ((len = ntohl(*p++)) != NFS2_FHSIZE) { in nlm_decode_fh()
126 lock->svid = ntohl(*p++); in nlm_decode_lock()
131 start = ntohl(*p++); in nlm_decode_lock()
132 len = ntohl(*p++); in nlm_decode_lock()
192 exclusive = ntohl(*p++); in nlmsvc_decode_testargs()
219 argp->block = ntohl(*p++); in nlmsvc_decode_lockargs()
220 exclusive = ntohl(*p++); in nlmsvc_decode_lockargs()
225 argp->reclaim = ntohl(*p++); in nlmsvc_decode_lockargs()
226 argp->state = ntohl(*p++); in nlmsvc_decode_lockargs()
[all …]
H A Dxdr4.c51 len = ntohl(*p++); in nlm4_decode_cookie()
87 f->size = ntohl(*p++); in nlm4_decode_fh()
118 lock->svid = ntohl(*p++); in nlm4_decode_lock()
189 exclusive = ntohl(*p++); in nlm4svc_decode_testargs()
216 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs()
217 exclusive = ntohl(*p++); in nlm4svc_decode_lockargs()
222 argp->reclaim = ntohl(*p++); in nlm4svc_decode_lockargs()
223 argp->state = ntohl(*p++); in nlm4svc_decode_lockargs()
237 argp->block = ntohl(*p++); in nlm4svc_decode_cancargs()
238 exclusive = ntohl(*p++); in nlm4svc_decode_cancargs()
[all …]
/OK3568_Linux_fs/kernel/net/rxrpc/
H A Dkey.c98 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), ntohl(xdr[3]), in rxrpc_preparse_xdr_rxkad()
103 tktlen = ntohl(xdr[7]); in rxrpc_preparse_xdr_rxkad()
126 token->kad->vice_id = ntohl(xdr[0]); in rxrpc_preparse_xdr_rxkad()
127 token->kad->kvno = ntohl(xdr[1]); in rxrpc_preparse_xdr_rxkad()
128 token->kad->start = ntohl(xdr[4]); in rxrpc_preparse_xdr_rxkad()
129 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad()
130 token->kad->primary_flag = ntohl(xdr[6]); in rxrpc_preparse_xdr_rxkad()
228 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), toklen); in rxrpc_krb5_decode_principal()
230 n_parts = ntohl(*xdr++); in rxrpc_krb5_decode_principal()
246 tmp = ntohl(*xdr++); in rxrpc_krb5_decode_principal()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/
H A Dev.c52 FW_RI_TPTE_VALID_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
53 FW_RI_TPTE_STAGKEY_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
54 FW_RI_TPTE_STAGSTATE_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
55 FW_RI_TPTE_PDID_G(ntohl(tpte.valid_to_pdid)), in print_tpte()
56 FW_RI_TPTE_PERM_G(ntohl(tpte.locread_to_qpid)), in print_tpte()
57 FW_RI_TPTE_PS_G(ntohl(tpte.locread_to_qpid)), in print_tpte()
58 ((u64)ntohl(tpte.len_hi) << 32) | ntohl(tpte.len_lo), in print_tpte()
59 ((u64)ntohl(tpte.va_hi) << 32) | ntohl(tpte.va_lo_fbo)); in print_tpte()
70 CQE_STATUS(err_cqe), CQE_TYPE(err_cqe), ntohl(err_cqe->len), in dump_err_cqe()
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dudhcpc_netlink.c125 dbg_time("IPv4 Address: %s", ipaddr_to_string_v4(ntohl(profile->ipv4.Address))); in udhcpc_start()
126 dbg_time("IPv4 Netmask: %d", mask_to_prefix_v4(ntohl(profile->ipv4.SubnetMask))); in udhcpc_start()
127 dbg_time("IPv4 Gateway: %s", ipaddr_to_string_v4(ntohl(profile->ipv4.Gateway))); in udhcpc_start()
128 dbg_time("IPv4 DNS1: %s", ipaddr_to_string_v4(ntohl(profile->ipv4.DnsPrimary))); in udhcpc_start()
129 dbg_time("IPv4 DNS2: %s", ipaddr_to_string_v4(ntohl(profile->ipv4.DnsSecondary))); in udhcpc_start()
130 if_set_network_v4(ifname, ntohl(profile->ipv4.Address), in udhcpc_start()
132 ntohl(profile->ipv4.Gateway), in udhcpc_start()
133 ntohl(profile->ipv4.DnsPrimary), in udhcpc_start()
134 ntohl(profile->ipv4.DnsSecondary)); in udhcpc_start()
H A Dudhcpc_script.c100 ipaddr_to_string_v4(ntohl(profile->ipv4.Address), ip, sizeof(ip)), in udhcpc_start()
101 ipaddr_to_string_v4(ntohl(profile->ipv4.SubnetMask), subnet, sizeof(subnet)), in udhcpc_start()
102 … ipaddr_to_string_v4(ntohl(broadcast_from_mask(profile->ipv4.Address, profile->ipv4.SubnetMask)), in udhcpc_start()
104 ipaddr_to_string_v4(ntohl(profile->ipv4.Gateway), router, sizeof(router)), in udhcpc_start()
105 ipaddr_to_string_v4(ntohl(profile->ipv4.DnsPrimary), domain1, sizeof(domain1)), in udhcpc_start()
106 ipaddr_to_string_v4(ntohl(profile->ipv4.DnsSecondary), domain2, sizeof(domain2)), in udhcpc_start()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dcallback_xdr.c95 fh->size = ntohl(*p); in decode_fh()
114 attrlen = ntohl(*p); in decode_bitmap()
119 bitmap[0] = ntohl(*p++); in decode_bitmap()
121 bitmap[1] = ntohl(*p); in decode_bitmap()
153 hdr->minorversion = ntohl(*p++); in decode_compound_hdr_arg()
156 hdr->cb_ident = ntohl(*p++); /* ignored by v4.1 and v4.2 */ in decode_compound_hdr_arg()
163 hdr->nops = ntohl(*p); in decode_compound_hdr_arg()
173 *op = ntohl(*p); in decode_op_hdr()
202 args->truncate = ntohl(*p); in decode_recall_args()
225 args->cbl_layout_type = ntohl(*p++); in decode_layoutrecall_args()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/byteorder/
H A Dgeneric.h154 #undef ntohl
164 extern __u32 ntohl(__u32);
168 extern unsigned long int ntohl(unsigned long int);
186 #define ntohl(x) ___ntohl(x) macro
189 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
200 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/byteorder/
H A Dgeneric.h154 #undef ntohl
164 extern __u32 ntohl(__u32);
168 extern unsigned long int ntohl(unsigned long int);
186 #define ntohl(x) ___ntohl(x) macro
189 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
200 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/byteorder/
H A Dgeneric.h159 #undef ntohl
169 extern __u32 ntohl(__u32);
173 extern unsigned long int ntohl(unsigned long int);
191 #define ntohl(x) ___ntohl(x) macro
194 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
205 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/byteorder/
H A Dgeneric.h155 #undef ntohl
165 extern __u32 ntohl(__u32);
169 extern unsigned long int ntohl(unsigned long int);
187 #define ntohl(x) ___ntohl(x) macro
190 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
201 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/byteorder/
H A Dgeneric.h159 #undef ntohl
169 extern __u32 ntohl(__u32);
173 extern unsigned long int ntohl(unsigned long int);
191 #define ntohl(x) ___ntohl(x) macro
194 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
205 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/byteorder/
H A Dgeneric.h154 #undef ntohl
164 extern __u32 ntohl(__u32);
168 extern unsigned long int ntohl(unsigned long int);
186 #define ntohl(x) ___ntohl(x) macro
189 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
200 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/include/byteorder/
H A Dgeneric.h154 #undef ntohl
164 extern __u32 ntohl(__u32);
168 extern unsigned long int ntohl(unsigned long int);
186 #define ntohl(x) ___ntohl(x) macro
189 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
200 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/byteorder/
H A Dgeneric.h154 #undef ntohl
164 extern __u32 ntohl(__u32);
168 extern unsigned long int ntohl(unsigned long int);
186 #define ntohl(x) ___ntohl(x) macro
189 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
200 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/byteorder/
H A Dgeneric.h155 #undef ntohl
165 extern __u32 ntohl(__u32);
169 extern unsigned long int ntohl(unsigned long int);
187 #define ntohl(x) ___ntohl(x) macro
190 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
201 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/byteorder/
H A Dgeneric.h159 #undef ntohl
169 extern __u32 ntohl(__u32);
173 extern unsigned long int ntohl(unsigned long int);
191 #define ntohl(x) ___ntohl(x) macro
194 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
205 #define ntohl(x) __be32_to_cpu(x) macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/byteorder/
H A Dgeneric.h155 #undef ntohl
165 extern __u32 ntohl(__u32);
169 extern unsigned long int ntohl(unsigned long int);
187 #define ntohl(x) ___ntohl(x) macro
190 #define ntohl(x) ((unsigned long)___ntohl(x)) macro
201 #define ntohl(x) __be32_to_cpu(x) macro

12345678910>>...20