/Linux-v4.19/net/ncsi/ |
D | ncsi-rsp.c | 50 if (ntohl(*pchecksum) == 0) in ncsi_validate_rsp_pkt() 272 ncm->data[1] = ntohl(cmd->mode); in ncsi_rsp_handler_ae() 294 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_sl() 295 ncm->data[1] = ntohl(cmd->oem_mode); in ncsi_rsp_handler_sl() 316 ncm->data[2] = ntohl(rsp->status); in ncsi_rsp_handler_gls() 317 ncm->data[3] = ntohl(rsp->other); in ncsi_rsp_handler_gls() 318 ncm->data[4] = ntohl(rsp->oem_status); in ncsi_rsp_handler_gls() 391 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ev() 488 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ebf() 541 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_egmf() [all …]
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_seqadj.c | 49 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 …]
|
D | xt_iprange.c | 27 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()
|
D | nft_payload.c | 132 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_init() 133 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_init() 134 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_init() 330 priv->base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_set_init() 331 priv->offset = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_OFFSET])); in nft_payload_set_init() 332 priv->len = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_LEN])); in nft_payload_set_init() 337 ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_TYPE])); in nft_payload_set_init() 340 ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_OFFSET])); in nft_payload_set_init() 344 flags = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_FLAGS])); in nft_payload_set_init() 401 base = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_BASE])); in nft_payload_select_ops() [all …]
|
/Linux-v4.19/fs/afs/ |
D | vlclient.c | 39 nr_servers = ntohl(uvldb->nServers); in afs_deliver_vl_get_entry_by_name_u() 44 entry->name[i] = (u8)ntohl(uvldb->name[i]); in afs_deliver_vl_get_entry_by_name_u() 52 tmp = ntohl(uvldb->serverFlags[i]); in afs_deliver_vl_get_entry_by_name_u() 58 vlflags = ntohl(uvldb->flags); in afs_deliver_vl_get_entry_by_name_u() 64 tmp = ntohl(uvldb->serverFlags[i]); in afs_deliver_vl_get_entry_by_name_u() 81 uuid->time_mid = htons(ntohl(xdr->time_mid)); in afs_deliver_vl_get_entry_by_name_u() 82 uuid->time_hi_and_version = htons(ntohl(xdr->time_hi_and_version)); in afs_deliver_vl_get_entry_by_name_u() 83 uuid->clock_seq_hi_and_reserved = (u8)ntohl(xdr->clock_seq_hi_and_reserved); in afs_deliver_vl_get_entry_by_name_u() 84 uuid->clock_seq_low = (u8)ntohl(xdr->clock_seq_low); in afs_deliver_vl_get_entry_by_name_u() 86 uuid->node[j] = (u8)ntohl(xdr->node[j]); in afs_deliver_vl_get_entry_by_name_u() [all …]
|
D | cmservice.c | 189 call->count = ntohl(call->tmp); in afs_deliver_cb_callback() 218 cb->fid.vid = ntohl(*bp++); in afs_deliver_cb_callback() 219 cb->fid.vnode = ntohl(*bp++); in afs_deliver_cb_callback() 220 cb->fid.unique = ntohl(*bp++); in afs_deliver_cb_callback() 234 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback() 252 cb->cb.version = ntohl(*bp++); in afs_deliver_cb_callback() 253 cb->cb.expiry = ntohl(*bp++); in afs_deliver_cb_callback() 254 cb->cb.type = ntohl(*bp++); in afs_deliver_cb_callback() 357 r->time_mid = htons(ntohl(b[1])); in afs_deliver_cb_init_call_back_state3() 358 r->time_hi_and_version = htons(ntohl(b[2])); in afs_deliver_cb_init_call_back_state3() [all …]
|
D | fsclient.c | 41 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid() 42 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid() 43 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid() 60 i, ntohl(x[0]), ntohl(x[1]), ntohl(x[2]), ntohl(x[3])); in xdr_dump_bad() 64 pr_notice("0x50: %08x\n", ntohl(x[0])); in xdr_dump_bad() 142 abort_code = ntohl(xdr->abort_code); in xdr_decode_AFSFetchStatus() 156 pr_warn("Unknown AFSFetchStatus version %u\n", ntohl(xdr->if_version)); in xdr_decode_AFSFetchStatus() 165 type = ntohl(xdr->type); in xdr_decode_AFSFetchStatus() 188 u32 x = ntohl(xdr->FIELD); \ in xdr_decode_AFSFetchStatus() 203 status->mtime_client = ntohl(xdr->mtime_client); in xdr_decode_AFSFetchStatus() [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_u32_parse.h | 48 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 …]
|
/Linux-v4.19/fs/lockd/ |
D | xdr.c | 51 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() 133 start = ntohl(*p++); in nlm_decode_lock() 134 len = ntohl(*p++); in nlm_decode_lock() 194 exclusive = ntohl(*p++); in nlmsvc_decode_testargs() 221 argp->block = ntohl(*p++); in nlmsvc_decode_lockargs() 222 exclusive = ntohl(*p++); in nlmsvc_decode_lockargs() 227 argp->reclaim = ntohl(*p++); in nlmsvc_decode_lockargs() 228 argp->state = ntohl(*p++); in nlmsvc_decode_lockargs() [all …]
|
D | xdr4.c | 51 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() 191 exclusive = ntohl(*p++); in nlm4svc_decode_testargs() 218 argp->block = ntohl(*p++); in nlm4svc_decode_lockargs() 219 exclusive = ntohl(*p++); in nlm4svc_decode_lockargs() 224 argp->reclaim = ntohl(*p++); in nlm4svc_decode_lockargs() 225 argp->state = ntohl(*p++); in nlm4svc_decode_lockargs() 239 argp->block = ntohl(*p++); in nlm4svc_decode_cancargs() 240 exclusive = ntohl(*p++); in nlm4svc_decode_cancargs() [all …]
|
/Linux-v4.19/net/rxrpc/ |
D | key.c | 100 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), ntohl(xdr[3]), in rxrpc_preparse_xdr_rxkad() 105 tktlen = ntohl(xdr[7]); in rxrpc_preparse_xdr_rxkad() 128 token->kad->vice_id = ntohl(xdr[0]); in rxrpc_preparse_xdr_rxkad() 129 token->kad->kvno = ntohl(xdr[1]); in rxrpc_preparse_xdr_rxkad() 130 token->kad->start = ntohl(xdr[4]); in rxrpc_preparse_xdr_rxkad() 131 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad() 132 token->kad->primary_flag = ntohl(xdr[6]); in rxrpc_preparse_xdr_rxkad() 230 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), toklen); in rxrpc_krb5_decode_principal() 232 n_parts = ntohl(*xdr++); in rxrpc_krb5_decode_principal() 248 tmp = ntohl(*xdr++); in rxrpc_krb5_decode_principal() [all …]
|
D | rxkad.c | 288 y = ntohl(call->crypto_buf[1]); in rxkad_secure_packet() 370 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_1() 470 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_2() 538 y = ntohl(call->crypto_buf[1]); in rxkad_verify_packet() 577 *_len = ntohl(sechdr.data_size) & 0xffff; in rxkad_locate_data_1() 591 *_len = ntohl(sechdr.data_size) & 0xffff; in rxkad_locate_data_2() 807 version = ntohl(challenge.version); in rxkad_respond_to_challenge() 808 nonce = ntohl(challenge.nonce); in rxkad_respond_to_challenge() 809 min_level = ntohl(challenge.min_level); in rxkad_respond_to_challenge() 961 _debug("KIV KEY : %08x %08x", ntohl(key.n[0]), ntohl(key.n[1])); in rxkad_decrypt_ticket() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/cxgb4/ |
D | ev.c | 52 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()
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | vnic_vic.c | 58 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()
|
/Linux-v4.19/fs/nfs/ |
D | callback_xdr.c | 104 fh->size = ntohl(*p); in decode_fh() 123 attrlen = ntohl(*p); in decode_bitmap() 128 bitmap[0] = ntohl(*p++); in decode_bitmap() 130 bitmap[1] = ntohl(*p); in decode_bitmap() 162 hdr->minorversion = ntohl(*p++); in decode_compound_hdr_arg() 165 hdr->cb_ident = ntohl(*p++); /* ignored by v4.1 and v4.2 */ in decode_compound_hdr_arg() 172 hdr->nops = ntohl(*p); in decode_compound_hdr_arg() 182 *op = ntohl(*p); in decode_op_hdr() 211 args->truncate = ntohl(*p); in decode_recall_args() 234 args->cbl_layout_type = ntohl(*p++); in decode_layoutrecall_args() [all …]
|
/Linux-v4.19/fs/ |
D | binfmt_flat.c | 429 text_len = ntohl(hdr->data_start); in load_flat_file() 430 data_len = ntohl(hdr->data_end) - ntohl(hdr->data_start); in load_flat_file() 431 bss_len = ntohl(hdr->bss_end) - ntohl(hdr->data_end); in load_flat_file() 432 stack_len = ntohl(hdr->stack_size); in load_flat_file() 437 relocs = ntohl(hdr->reloc_count); in load_flat_file() 438 flags = ntohl(hdr->flags); in load_flat_file() 439 rev = ntohl(hdr->rev); in load_flat_file() 571 fpos = ntohl(hdr->data_start); in load_flat_file() 591 (datapos + (ntohl(hdr->reloc_start) - text_len)); in load_flat_file() 610 realdatastart = textpos + ntohl(hdr->data_start); in load_flat_file() [all …]
|
/Linux-v4.19/net/batman-adv/ |
D | gateway_client.c | 375 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add() 376 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add() 384 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add() 385 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add() 386 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add() 387 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add() 444 if (gw_node->bandwidth_down == ntohl(gateway->bandwidth_down) && in batadv_gw_node_update() 445 gw_node->bandwidth_up == ntohl(gateway->bandwidth_up)) in batadv_gw_node_update() 455 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_update() 456 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_update() [all …]
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_hash.h | 11 return ntohl(addr->a4); in __xfrm4_addr_hash() 16 return ntohl(addr->a6[2] ^ addr->a6[3]); in __xfrm6_addr_hash() 23 return ntohl((__force __be32)sum); in __xfrm4_daddr_saddr_hash() 29 return ntohl(daddr->a6[2] ^ daddr->a6[3] ^ in __xfrm6_daddr_saddr_hash() 50 return jhash_2words(ntohl(daddr->a4) & __bits2mask32(dbits), in __xfrm4_dpref_spref_hash() 51 ntohl(saddr->a4) & __bits2mask32(sbits), in __xfrm4_dpref_spref_hash()
|
/Linux-v4.19/fs/nfsd/ |
D | nfsxdr.c | 84 if ((tmp = ntohl(*p++)) != (u32)-1 && tmp != 0xffff) { in decode_sattr() 88 if ((tmp = ntohl(*p++)) != (u32)-1) { in decode_sattr() 93 if ((tmp = ntohl(*p++)) != (u32)-1) { in decode_sattr() 98 if ((tmp = ntohl(*p++)) != (u32)-1) { in decode_sattr() 102 tmp = ntohl(*p++); tmp1 = ntohl(*p++); in decode_sattr() 108 tmp = ntohl(*p++); tmp1 = ntohl(*p++); in decode_sattr() 246 args->offset = ntohl(*p++); in nfssvc_decode_readargs() 247 len = args->count = ntohl(*p++); in nfssvc_decode_readargs() 280 args->offset = ntohl(*p++); /* offset */ in nfssvc_decode_writeargs() 282 len = args->len = ntohl(*p++); in nfssvc_decode_writeargs() [all …]
|
D | nfs3xdr.c | 43 time->tv_sec = ntohl(*p++); in decode_time3() 44 time->tv_nsec = ntohl(*p++); in decode_time3() 53 size = ntohl(*p++); in decode_fh() 107 iap->ia_mode = ntohl(*p++); in decode_sattr3() 110 iap->ia_uid = make_kuid(&init_user_ns, ntohl(*p++)); in decode_sattr3() 115 iap->ia_gid = make_kgid(&init_user_ns, ntohl(*p++)); in decode_sattr3() 126 if ((tmp = ntohl(*p++)) == 1) { /* set to server time */ in decode_sattr3() 130 iap->ia_atime.tv_sec = ntohl(*p++); in decode_sattr3() 131 iap->ia_atime.tv_nsec = ntohl(*p++); in decode_sattr3() 133 if ((tmp = ntohl(*p++)) == 1) { /* set to server time */ in decode_sattr3() [all …]
|
/Linux-v4.19/net/netlabel/ |
D | netlabel_addrlist.c | 177 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-v4.19/net/ipv6/netfilter/ |
D | ip6t_ah.c | 65 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()
|
D | nf_log_ipv6.c | 69 (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()
|
/Linux-v4.19/drivers/scsi/csiostor/ |
D | csio_mb.c | 62 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() 391 *retval = FW_CMD_RETVAL_G(ntohl(rsp->action_to_len16)); in csio_mb_process_read_port_rsp() 596 *ret_val = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)); in csio_mb_iq_alloc_write_rsp() 782 *ret_val = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)); in csio_mb_eq_ofld_alloc_write_rsp() 786 ntohl(rsp->eqid_pkd)); in csio_mb_eq_ofld_alloc_write_rsp() [all …]
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | ipt_SYNPROXY.c | 99 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_synack() 144 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); in synproxy_send_server_syn() 185 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack() 186 nth->ack_seq = htonl(ntohl(th->seq) + 1); in synproxy_send_server_ack() 223 nth->seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_ack() 245 mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack() 301 if (synproxy_recv_client_ack(net, skb, th, &opts, ntohl(th->seq))) { in synproxy_tg4() 348 ntohl(th->seq) + 1); in ipv4_synproxy_hook() 376 ntohl(th->seq) + 1)) { in ipv4_synproxy_hook() 385 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook() [all …]
|