/linux/net/netfilter/ |
H A D | nf_conntrack_seqadj.c | 50 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_se in nf_ct_sack_block_adjust() [all...] |
H A D | xt_iprange.c | 24 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( in iprange_ipv6_lt() [all...] |
H A D | nft_hash.c | 85 priv->offset = ntohl(nla_get_be32(tb[NFTA_HASH_OFFSET])); in nft_jhash_init() 99 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS])); in nft_jhash_init() 107 priv->seed = ntohl(nla_get_be32(tb[NFTA_HASH_SEED])); in nft_jhash_init() 128 priv->offset = ntohl(nla_get_be32(tb[NFTA_HASH_OFFSET])); in nft_symhash_init() 130 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS])); in nft_symhash_init() 251 type = ntohl(nla_get_be32(tb[NFTA_HASH_TYPE])); in nft_hash_select_ops()
|
H A D | nfnetlink_cthelper.c | 156 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX])); in nfnl_cthelper_expect_policy() 161 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT])); in nfnl_cthelper_expect_policy() 189 class_max = ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM])); in nfnl_cthelper_parse_expect_policy() 242 size = ntohl(nla_get_be32(tb[NFCTH_PRIV_DATA_LEN])); in nfnl_cthelper_create() 259 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM])); in nfnl_cthelper_create() 262 int status = ntohl(nla_get_be32(tb[NFCTH_STATUS])); in nfnl_cthelper_create() 309 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX])); in nfnl_cthelper_update_policy_one() 314 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT])); in nfnl_cthelper_update_policy_one() 376 class_max = ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM])); in nfnl_cthelper_update_policy() 391 size = ntohl(nla_get_be3 in nfnl_cthelper_update() [all...] |
H A D | nft_numgen.c | 60 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET])); in nft_ng_inc_init() 62 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_inc_init() 159 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET])); in nft_ng_random_init() 161 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_random_init() 221 type = ntohl(nla_get_be32(tb[NFTA_NG_TYPE])); in nft_ng_select_ops()
|
/linux/net/ncsi/ |
H A D | ncsi-rsp.c | 73 if (ntohl(*pchecksum) == 0) in ncsi_validate_rsp_pkt() 300 ncm->data[1] = ntohl(cmd->mode); in ncsi_rsp_handler_ae() 322 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_sl() 323 ncm->data[1] = ntohl(cmd->oem_mode); in ncsi_rsp_handler_sl() 344 ncm->data[2] = ntohl(rsp->status); in ncsi_rsp_handler_gls() 345 ncm->data[3] = ntohl(rsp->other); in ncsi_rsp_handler_gls() 346 ncm->data[4] = ntohl(rsp->oem_status); in ncsi_rsp_handler_gls() 419 ncm->data[0] = ntohl((__force __be32)cmd->mode); in ncsi_rsp_handler_ev() 516 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ebf() 569 ncm->data[0] = ntohl(cm in ncsi_rsp_handler_egmf() [all...] |
/linux/fs/afs/ |
H A D | vlclient.c | 34 nr_servers = ntohl(uvldb->nServers); in afs_deliver_vl_get_entry_by_name_u() 39 entry->name[i] = (u8)ntohl(uvldb->name[i]); in afs_deliver_vl_get_entry_by_name_u() 43 vlflags = ntohl(uvldb->flags); in afs_deliver_vl_get_entry_by_name_u() 47 u32 tmp = ntohl(uvldb->serverFlags[i]); in afs_deliver_vl_get_entry_by_name_u() 64 uuid->time_mid = htons(ntohl(xdr->time_mid)); in afs_deliver_vl_get_entry_by_name_u() 65 uuid->time_hi_and_version = htons(ntohl(xdr->time_hi_and_version)); in afs_deliver_vl_get_entry_by_name_u() 66 uuid->clock_seq_hi_and_reserved = (u8)ntohl(xdr->clock_seq_hi_and_reserved); in afs_deliver_vl_get_entry_by_name_u() 67 uuid->clock_seq_low = (u8)ntohl(xdr->clock_seq_low); in afs_deliver_vl_get_entry_by_name_u() 69 uuid->node[j] = (u8)ntohl(xdr->node[j]); in afs_deliver_vl_get_entry_by_name_u() 72 entry->addr_version[n] = ntohl(uvld in afs_deliver_vl_get_entry_by_name_u() [all...] |
H A D | cmservice.c | 211 call->count = ntohl(call->tmp); in afs_deliver_cb_callback() 240 cb->fid.vid = ntohl(*bp++); in afs_deliver_cb_callback() 241 cb->fid.vnode = ntohl(*bp++); in afs_deliver_cb_callback() 242 cb->fid.unique = ntohl(*bp++); in afs_deliver_cb_callback() 256 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback() 350 r->time_mid = htons(ntohl(b[1])); in afs_deliver_cb_init_call_back_state3() 351 r->time_hi_and_version = htons(ntohl(b[2])); in afs_deliver_cb_init_call_back_state3() 352 r->clock_seq_hi_and_reserved = ntohl(b[3]); in afs_deliver_cb_init_call_back_state3() 353 r->clock_seq_low = ntohl(b[4]); in afs_deliver_cb_init_call_back_state3() 356 r->node[loop] = ntohl( in afs_deliver_cb_init_call_back_state3() [all...] |
H A D | fsclient.c | 25 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid() 26 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid() 27 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid() 44 i, ntohl(x[0]), ntohl(x[1]), ntohl(x[2]), ntohl(x[3])); in xdr_dump_bad() 48 pr_notice("0x50: %08x\n", ntohl(x[0])); in xdr_dump_bad() 64 abort_code = ntohl(xdr->abort_code); in xdr_decode_AFSFetchStatus() 79 pr_warn("Unknown AFSFetchStatus version %u\n", ntohl(xd in xdr_decode_AFSFetchStatus() [all...] |
/linux/net/rxrpc/ |
H A D | key.c | 62 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), ntohl(xdr[3]), in rxrpc_preparse_xdr_rxkad() 67 tktlen = ntohl(xdr[7]); in rxrpc_preparse_xdr_rxkad() 90 token->kad->vice_id = ntohl(xdr[0]); in rxrpc_preparse_xdr_rxkad() 91 token->kad->kvno = ntohl(xdr[1]); in rxrpc_preparse_xdr_rxkad() 92 token->kad->start = ntohl(xdr[4]); in rxrpc_preparse_xdr_rxkad() 93 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad() 94 token->kad->primary_flag = ntohl(xd in rxrpc_preparse_xdr_rxkad() [all...] |
H A D | rxgk_app.c | 62 enctype = ntohl(tmp[0]); in rxgk_yfs_decode_ticket() 63 klen = ntohl(tmp[1]); in rxgk_yfs_decode_ticket() 206 kvno = ntohl(container.kvno); in rxgk_extract_token() 207 enctype = ntohl(container.enctype); in rxgk_extract_token() 208 ticket_len = ntohl(container.token_len); in rxgk_extract_token()
|
H A D | rxkad.c | 382 y = ntohl(crypto.buf[1]); in rxkad_secure_packet() 466 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_1() 546 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_2() 608 y = ntohl(crypto.buf[1]); in rxkad_verify_packet() 787 version = ntohl(challenge.version); in rxkad_validate_challenge() 788 sp->chall.rxkad_nonce = ntohl(challenge.nonce); in rxkad_validate_challenge() 789 min_level = ntohl(challenge.min_level); in rxkad_validate_challenge() 1032 _debug("KIV KEY : %08x %08x", ntohl(key.n[0]), ntohl(key.n[1])); in rxkad_decrypt_ticket() 1085 ntohl(session_ke in rxkad_decrypt_response() [all...] |
/linux/drivers/infiniband/hw/cxgb4/ |
H A 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(tpt in print_tpte() [all...] |
/linux/fs/nfs/ |
H A D | callback_xdr.c | 95 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() 123 bitmap[2] = ntohl(*p); in decode_bitmap() 155 hdr->minorversion = ntohl(*p++); in decode_compound_hdr_arg() 158 hdr->cb_ident = ntohl(*p++); /* ignored by v4.1 and v4.2 */ in decode_compound_hdr_arg() 165 hdr->nops = ntohl(*p); in decode_compound_hdr_arg() 175 *op = ntohl(*p); in decode_op_hdr() 204 args->truncate = ntohl(* in decode_recall_args() [all...] |
/linux/net/batman-adv/ |
H A D | gateway_client.c | 343 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add() 344 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add() 353 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add() 354 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add() 355 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add() 356 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add() 413 if (gw_node->bandwidth_down == ntohl(gateway->bandwidth_down) && in batadv_gw_node_update() 414 gw_node->bandwidth_up == ntohl(gateway->bandwidth_up)) in batadv_gw_node_update() 424 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_update() 425 ntohl(gatewa in batadv_gw_node_update() [all...] |
/linux/fs/ |
H A D | binfmt_flat.c | 423 text_len = ntohl(hdr->data_start); in load_flat_file() 424 data_len = ntohl(hdr->data_end) - ntohl(hdr->data_start); in load_flat_file() 425 bss_len = ntohl(hdr->bss_end) - ntohl(hdr->data_end); in load_flat_file() 426 stack_len = ntohl(hdr->stack_size); in load_flat_file() 431 relocs = ntohl(hdr->reloc_count); in load_flat_file() 432 flags = ntohl(hdr->flags); in load_flat_file() 433 rev = ntohl(hdr->rev); in load_flat_file() 567 fpos = ntohl(hd in load_flat_file() [all...] |
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_packet.c | 10 #define XTR_EOF_0 ntohl((__force __be32)0x80000000u) 11 #define XTR_EOF_1 ntohl((__force __be32)0x80000001u) 12 #define XTR_EOF_2 ntohl((__force __be32)0x80000002u) 13 #define XTR_EOF_3 ntohl((__force __be32)0x80000003u) 14 #define XTR_PRUNED ntohl((__force __be32)0x80000004u) 15 #define XTR_ABORT ntohl((__force __be32)0x80000005u) 16 #define XTR_ESCAPE ntohl((__force __be32)0x80000006u) 17 #define XTR_NOT_READY ntohl((__force __be32)0x80000007u) 104 cmp = ntohl((__force __be32)val); in sparx5_xtr_grp() 122 val = ntohl((__forc in sparx5_xtr_grp() [all...] |
/linux/net/netlabel/ |
H A D | netlabel_addrlist.c | 163 ntohl(entry->mask) > ntohl(iter->mask)) { in netlbl_af4list_add() 314 u32 mask_val = ntohl(mask); in netlbl_af4list_audit_addr() 354 if (ntohl(mask->s6_addr32[3]) != 0xffffffff) { in netlbl_af6list_audit_addr() 358 while (ntohl(mask->s6_addr32[++iter]) == 0xffffffff) in netlbl_af6list_audit_addr() 360 mask_val = ntohl(mask->s6_addr32[iter]); in netlbl_af6list_audit_addr()
|
/linux/drivers/scsi/csiostor/ |
H A 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(rs in csio_mb_eq_ofld_alloc_write_rsp() [all...] |
/linux/net/ipv6/netfilter/ |
H A D | ip6t_ah.c | 62 pr_debug("SPI %u %08X\n", ntohl(ah->spi), ntohl(ah->spi)); in ah_mt6() 66 ntohl(ah->spi), in ah_mt6() 78 ntohl(ah->spi), in ah_mt6()
|
H A D | ip6t_frag.c | 60 pr_debug("ID %u %08X\n", ntohl(fh->identification), in frag_mt6() 61 ntohl(fh->identification)); in frag_mt6() 65 ntohl(fh->identification), in frag_mt6() 89 ntohl(fh->identification), in frag_mt6()
|
/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_fdir.c | 58 flow_vm_vlan = ntohl(input.dword); in txgbe_atr_compute_sig_hash() 61 hi_hash_dword = ntohl(common.dword); in txgbe_atr_compute_sig_hash() 126 flow_vm_vlan = ntohl(input->dword_stream[0]); in txgbe_atr_compute_perfect_hash() 131 hi_hash_dword = ntohl(hi_dword); in txgbe_atr_compute_perfect_hash() 388 ntohl(~input_mask->formatted.src_ip[0])); in txgbe_fdir_set_input_mask() 390 ntohl(~input_mask->formatted.dst_ip[0])); in txgbe_fdir_set_input_mask() 403 wr32(wx, TXGBE_RDB_FDIR_IP6(2), ntohl(input->formatted.src_ip[0])); in txgbe_fdir_write_perfect_filter() 404 wr32(wx, TXGBE_RDB_FDIR_IP6(1), ntohl(input->formatted.src_ip[1])); in txgbe_fdir_write_perfect_filter() 405 wr32(wx, TXGBE_RDB_FDIR_IP6(0), ntohl(input->formatted.src_ip[2])); in txgbe_fdir_write_perfect_filter() 408 wr32(wx, TXGBE_RDB_FDIR_SA, ntohl(inpu in txgbe_fdir_write_perfect_filter() [all...] |
/linux/drivers/media/test-drivers/vicodec/ |
H A D | codec-v4l2-fwht.c | 301 version = ntohl(state->header.version); in v4l2_fwht_decode() 313 if (ntohl(state->header.width) != state->visible_width || in v4l2_fwht_decode() 314 ntohl(state->header.height) != state->visible_height) in v4l2_fwht_decode() 317 flags = ntohl(state->header.flags); in v4l2_fwht_decode() 329 state->colorspace = ntohl(state->header.colorspace); in v4l2_fwht_decode() 330 state->xfer_func = ntohl(state->header.xfer_func); in v4l2_fwht_decode() 331 state->ycbcr_enc = ntohl(state->header.ycbcr_enc); in v4l2_fwht_decode() 332 state->quantization = ntohl(state->header.quantization); in v4l2_fwht_decode() 334 cf.size = ntohl(state->header.size); in v4l2_fwht_decode()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_dsa.c | 41 words[0] = ntohl(dsa_words[0]); in prestera_dsa_parse() 42 words[1] = ntohl(dsa_words[1]); in prestera_dsa_parse() 43 words[2] = ntohl(dsa_words[2]); in prestera_dsa_parse() 44 words[3] = ntohl(dsa_words[3]); in prestera_dsa_parse()
|
/linux/net/xfrm/ |
H A D | xfrm_hash.h | 11 return ntohl(addr->a4); in __xfrm4_addr_hash() 23 return ntohl((__force __be32)sum); in __xfrm4_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()
|