Home
last modified time | relevance | path

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

12345678910>>...17

/linux/net/netfilter/
A Dnf_conntrack_seqadj.c51 this_way->correction_pos = ntohl(seq); in nf_ct_seqadj_set()
88 new_start_seq = htonl(ntohl(sack->start_seq) - 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()
189 newseq = htonl(ntohl(tcph->seq) + seqoff); in nf_ct_seq_adjust()
192 ntohl(tcph->seq), ntohl(newseq)); in nf_ct_seq_adjust()
204 newack = htonl(ntohl(tcph->ack_seq) - ackoff); in nf_ct_seq_adjust()
208 ntohl(tcph->seq), ntohl(newseq), ntohl(tcph->ack_seq), in nf_ct_seq_adjust()
[all …]
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()
A Dnf_conntrack_proto_tcp.c526 seq = ntohl(tcph->seq); in tcp_in_window()
527 ack = sack = ntohl(tcph->ack_seq); in tcp_in_window()
860 segment_seq_plus_len(ntohl(th->seq), skb->len, in tcp_new()
880 segment_seq_plus_len(ntohl(th->seq), skb->len, in tcp_new()
1072 ct->proto.tcp.last_seq = ntohl(th->seq); in nf_conntrack_tcp_packet()
1112 ct->proto.tcp.last_ack = ntohl(th->ack_seq); in nf_conntrack_tcp_packet()
1188 u32 seq = ntohl(th->seq); in nf_conntrack_tcp_packet()
1244 ntohl(th->seq) == ct->proto.tcp.last_ack) in nf_conntrack_tcp_packet()
1513 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_CLOSE]))*HZ; in tcp_timeout_nlattr_to_obj()
1521 ntohl(nla_get_be32(tb[CTA_TIMEOUT_TCP_RETRANS]))*HZ; in tcp_timeout_nlattr_to_obj()
[all …]
A Dnf_synproxy_core.c221 *ptr = htonl(ntohl(*ptr) - in synproxy_tstamp_adjust()
226 *ptr = htonl(ntohl(*ptr) + in synproxy_tstamp_adjust()
560 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack()
598 nth->seq = htonl(ntohl(th->seq) + 1); in synproxy_send_client_ack()
674 ntohl(th->seq) + 1); in ipv4_synproxy_hook()
701 ntohl(th->seq) + 1)) { in ipv4_synproxy_hook()
710 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook()
974 nth->seq = htonl(ntohl(th->ack_seq)); in synproxy_send_server_ack_ipv6()
1097 ntohl(th->seq) + 1); in ipv6_synproxy_hook()
1124 ntohl(th->seq) + 1)) { in ipv6_synproxy_hook()
[all …]
A Dnft_hash.c85 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()
/linux/net/ncsi/
A Dncsi-rsp.c73 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()
516 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ebf()
569 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_egmf()
732 mfr_id = ntohl(rsp->mfr_id); in ncsi_rsp_handler_oem()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
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()
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()
221 f->val.fport = ntohl(val) >> 16; in cxgb4_fill_l4_ports()
222 f->mask.fport = ntohl(mask) >> 16; in cxgb4_fill_l4_ports()
223 f->val.lport = ntohl(val) & 0x0000FFFF; in cxgb4_fill_l4_ports()
[all …]
/linux/fs/afs/
A Dvlclient.c34 nr_servers = ntohl(uvldb->nServers); in afs_deliver_vl_get_entry_by_name_u()
43 vlflags = ntohl(uvldb->flags); in afs_deliver_vl_get_entry_by_name_u()
198 uniquifier = ntohl(*bp++); in afs_deliver_vl_get_addrs_u()
199 nentries = ntohl(*bp++); in afs_deliver_vl_get_addrs_u()
200 count = ntohl(*bp); in afs_deliver_vl_get_addrs_u()
336 count = ntohl(call->tmp); in afs_deliver_vl_get_capabilities()
455 uniquifier = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
456 call->count = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
521 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
551 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
[all …]
A Dcmservice.c254 call->count = ntohl(call->tmp); in afs_deliver_cb_callback()
283 cb->fid.vid = ntohl(*bp++); in afs_deliver_cb_callback()
284 cb->fid.vnode = ntohl(*bp++); in afs_deliver_cb_callback()
285 cb->fid.unique = ntohl(*bp++); in afs_deliver_cb_callback()
299 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback()
406 r->time_mid = htons(ntohl(b[1])); in afs_deliver_cb_init_call_back_state3()
409 r->clock_seq_low = ntohl(b[4]); in afs_deliver_cb_init_call_back_state3()
412 r->node[loop] = ntohl(b[loop + 5]); in afs_deliver_cb_init_call_back_state3()
519 r->time_mid = htons(ntohl(b[1])); in afs_deliver_cb_probe_uuid()
522 r->clock_seq_low = ntohl(b[4]); in afs_deliver_cb_probe_uuid()
[all …]
A Dfsclient.c25 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()
89 type = ntohl(xdr->type); in xdr_decode_AFSFetchStatus()
160 creation = ntohl(*bp++); in xdr_decode_AFSVolSync()
218 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
220 vs->online = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
224 vs->type = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
1804 tmp = ntohl(call->tmp); in afs_deliver_fs_inline_bulk_status()
[all …]
/linux/drivers/infiniband/hw/cxgb4/
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()
/linux/net/rxrpc/
A Dkey.c62 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()
91 token->kad->kvno = ntohl(xdr[1]); in rxrpc_preparse_xdr_rxkad()
145 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), ntohl(xdr[3]), in rxrpc_preparse_xdr()
157 if (ntohl(*xdr++) != 0) in rxrpc_preparse_xdr()
162 len = ntohl(*xdr++); in rxrpc_preparse_xdr()
185 ntoken = ntohl(*xdr++); in rxrpc_preparse_xdr()
197 toklen = ntohl(*p++); in rxrpc_preparse_xdr()
198 sec_ix = ntohl(*p); in rxrpc_preparse_xdr()
218 toklen = ntohl(*xdr++); in rxrpc_preparse_xdr()
[all …]
A Drxkad.c379 y = ntohl(crypto.buf[1]); in rxkad_secure_packet()
450 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_1()
530 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_2()
592 y = ntohl(crypto.buf[1]); in rxkad_verify_packet()
814 version = ntohl(challenge.version); in rxkad_respond_to_challenge()
815 nonce = ntohl(challenge.nonce); in rxkad_respond_to_challenge()
816 min_level = ntohl(challenge.min_level); in rxkad_respond_to_challenge()
944 _debug("KIV KEY : %08x %08x", ntohl(key.n[0]), ntohl(key.n[1])); in rxkad_decrypt_ticket()
997 ntohl(session_key->n[0]), ntohl(session_key->n[1])); in rxkad_decrypt_response()
1065 version = ntohl(response->version); in rxkad_verify_response()
[all …]
/linux/drivers/net/ethernet/cisco/enic/
A Dvnic_vic.c43 if (ntohl(vp->length) + offsetof(struct vic_provinfo_tlv, value) + in vic_provinfo_add_tlv()
48 ntohl(vp->length) - sizeof(vp->num_tlvs)); in vic_provinfo_add_tlv()
55 vp->num_tlvs = htonl(ntohl(vp->num_tlvs) + 1); in vic_provinfo_add_tlv()
56 vp->length = htonl(ntohl(vp->length) + in vic_provinfo_add_tlv()
64 return vp ? ntohl(vp->length) + sizeof(*vp) - sizeof(vp->num_tlvs) : 0; in vic_provinfo_size()
/linux/fs/nfs/
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()
123 bitmap[2] = ntohl(*p); in decode_bitmap()
165 hdr->nops = ntohl(*p); in decode_compound_hdr_arg()
175 *op = ntohl(*p); in decode_op_hdr()
204 args->truncate = ntohl(*p); in decode_recall_args()
231 iomode = ntohl(*p++); in decode_layoutrecall_args()
274 n = ntohl(*p++); in decode_devicenotify_args()
[all …]
/linux/fs/
A Dbinfmt_flat.c423 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()
432 flags = ntohl(hdr->flags); in load_flat_file()
433 rev = ntohl(hdr->rev); in load_flat_file()
567 fpos = ntohl(hdr->data_start); in load_flat_file()
678 ntohl(hdr->data_start), in load_flat_file()
714 textpos, 0x00ffffff&ntohl(hdr->entry), ntohl(hdr->data_start)); in load_flat_file()
785 relval = ntohl(tmp); in load_flat_file()
[all …]
/linux/net/batman-adv/
A Dgateway_client.c345 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add()
354 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add()
355 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add()
356 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add()
357 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add()
425 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_update()
426 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_update()
427 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_update()
428 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_update()
431 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_update()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_packet.c10 #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)
103 cmp = ntohl((__force __be32)val); in sparx5_xtr_grp()
121 val = ntohl((__force __be32)val); in sparx5_xtr_grp()
/linux/net/netlabel/
A Dnetlabel_addrlist.c163 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/
A Dcsio_mb.c62 return FW_CMD_RETVAL_G(ntohl(hdr->lo)); in csio_mb_fw_retval()
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()
252 *val++ = ntohl(*p); in csio_mb_process_read_params_rsp()
786 ntohl(rsp->eqid_pkd)); in csio_mb_eq_ofld_alloc_write_rsp()
788 ntohl(rsp->physeqid_pkd)); in csio_mb_eq_ofld_alloc_write_rsp()
1151 ntohl(dbg->u.assert.line), in csio_mb_dump_fw_dbg()
1152 ntohl(dbg->u.assert.x), in csio_mb_dump_fw_dbg()
1153 ntohl(dbg->u.assert.y)); in csio_mb_dump_fw_dbg()
1418 ntohl(pcmd->op_to_portid)); in csio_mb_fwevt_handler()
[all …]
/linux/drivers/net/ethernet/wangxun/txgbe/
A Dtxgbe_fdir.c58 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()
385 ntohl(~input_mask->formatted.src_ip[0])); in txgbe_fdir_set_input_mask()
387 ntohl(~input_mask->formatted.dst_ip[0])); in txgbe_fdir_set_input_mask()
400 wr32(wx, TXGBE_RDB_FDIR_IP6(2), ntohl(input->formatted.src_ip[0])); in txgbe_fdir_write_perfect_filter()
401 wr32(wx, TXGBE_RDB_FDIR_IP6(1), ntohl(input->formatted.src_ip[1])); in txgbe_fdir_write_perfect_filter()
402 wr32(wx, TXGBE_RDB_FDIR_IP6(0), ntohl(input->formatted.src_ip[2])); in txgbe_fdir_write_perfect_filter()
405 wr32(wx, TXGBE_RDB_FDIR_SA, ntohl(input->formatted.src_ip[0])); in txgbe_fdir_write_perfect_filter()
[all …]
/linux/net/ipv6/netfilter/
A Dip6t_ah.c62 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()
A Dip6t_frag.c60 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/media/test-drivers/vicodec/
A Dcodec-v4l2-fwht.c301 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/
A Dprestera_dsa.c41 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()

Completed in 67 milliseconds

12345678910>>...17