Searched refs:ntohl (Results 1 - 25 of 397) sorted by relevance

1234567891011>>

/linux-master/net/netfilter/
H A Dnf_conntrack_seqadj.c50 before(this_way->correction_pos, ntohl(seq))) {
51 this_way->correction_pos = ntohl(seq);
86 if (after(ntohl(sack->start_seq) - seq->offset_before,
88 new_start_seq = htonl(ntohl(sack->start_seq) -
91 new_start_seq = htonl(ntohl(sack->start_seq) -
94 if (after(ntohl(sack->end_seq) - seq->offset_before,
96 new_end_seq = htonl(ntohl(sack->end_seq) -
99 new_end_seq = htonl(ntohl(sack->end_seq) -
103 ntohl(sack->start_seq), ntohl(new_start_se
[all...]
H A Dxt_iprange.c24 m = ntohl(iph->saddr) < ntohl(info->src_min.ip);
25 m |= ntohl(iph->saddr) > ntohl(info->src_max.ip);
37 m = ntohl(iph->daddr) < ntohl(info->dst_min.ip);
38 m |= ntohl(iph->daddr) > ntohl(info->dst_max.ip);
59 return ntohl(a->s6_addr32[i]) < ntohl(
[all...]
H A Dnft_numgen.c60 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET]));
62 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS]));
159 priv->offset = ntohl(nla_get_be32(tb[NFTA_NG_OFFSET]));
161 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS]));
221 type = ntohl(nla_get_be32(tb[NFTA_NG_TYPE]));
H A Dnfnetlink_cthelper.c156 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX]));
161 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT]));
189 class_max = ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM]));
242 size = ntohl(nla_get_be32(tb[NFCTH_PRIV_DATA_LEN]));
259 helper->queue_num = ntohl(nla_get_be32(tb[NFCTH_QUEUE_NUM]));
262 int status = ntohl(nla_get_be32(tb[NFCTH_STATUS]));
309 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_MAX]));
314 ntohl(nla_get_be32(tb[NFCTH_POLICY_EXPECT_TIMEOUT]));
376 class_max = ntohl(nla_get_be32(tb[NFCTH_POLICY_SET_NUM]));
391 size = ntohl(nla_get_be3
[all...]
H A Dnft_hash.c84 priv->offset = ntohl(nla_get_be32(tb[NFTA_HASH_OFFSET]));
98 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS]));
106 priv->seed = ntohl(nla_get_be32(tb[NFTA_HASH_SEED]));
127 priv->offset = ntohl(nla_get_be32(tb[NFTA_HASH_OFFSET]));
129 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS]));
250 type = ntohl(nla_get_be32(tb[NFTA_HASH_TYPE]));
/linux-master/drivers/net/ethernet/cisco/enic/
H A Dvnic_vic.c43 if (ntohl(vp->length) + offsetof(struct vic_provinfo_tlv, value) +
48 ntohl(vp->length) - sizeof(vp->num_tlvs));
55 vp->num_tlvs = htonl(ntohl(vp->num_tlvs) + 1);
56 vp->length = htonl(ntohl(vp->length) +
64 return vp ? ntohl(vp->length) + sizeof(*vp) - sizeof(vp->num_tlvs) : 0;
/linux-master/net/ncsi/
H A Dncsi-rsp.c73 if (ntohl(*pchecksum) == 0)
300 ncm->data[1] = ntohl(cmd->mode);
322 ncm->data[0] = ntohl(cmd->mode);
323 ncm->data[1] = ntohl(cmd->oem_mode);
344 ncm->data[2] = ntohl(rsp->status);
345 ncm->data[3] = ntohl(rsp->other);
346 ncm->data[4] = ntohl(rsp->oem_status);
419 ncm->data[0] = ntohl((__force __be32)cmd->mode);
516 ncm->data[0] = ntohl(cmd->mode);
569 ncm->data[0] = ntohl(cm
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32_parse.h48 f->val.tos = (ntohl(val) >> 16) & 0x000000FF;
49 f->mask.tos = (ntohl(mask) >> 16) & 0x000000FF;
60 frag_val = (ntohl(val) >> 13) & 0x00000007;
61 mask_val = ntohl(mask) & 0x0000FFFF;
79 f->val.proto = (ntohl(val) >> 16) & 0x000000FF;
80 f->mask.proto = (ntohl(mask) >> 16) & 0x000000FF;
116 f->val.tos = (ntohl(val) >> 20) & 0x000000FF;
117 f->mask.tos = (ntohl(mask) >> 20) & 0x000000FF;
125 f->val.proto = (ntohl(val) >> 8) & 0x000000FF;
126 f->mask.proto = (ntohl(mas
[all...]
/linux-master/include/net/
H A Dtipc.h49 u32 w0 = ntohl(hdr->w[0]);
/linux-master/drivers/infiniband/hw/cxgb4/
H A Dev.c52 FW_RI_TPTE_VALID_G(ntohl(tpte.valid_to_pdid)),
53 FW_RI_TPTE_STAGKEY_G(ntohl(tpte.valid_to_pdid)),
54 FW_RI_TPTE_STAGSTATE_G(ntohl(tpte.valid_to_pdid)),
55 FW_RI_TPTE_PDID_G(ntohl(tpte.valid_to_pdid)),
56 FW_RI_TPTE_PERM_G(ntohl(tpte.locread_to_qpid)),
57 FW_RI_TPTE_PS_G(ntohl(tpte.locread_to_qpid)),
58 ((u64)ntohl(tpte.len_hi) << 32) | ntohl(tpte.len_lo),
59 ((u64)ntohl(tpte.va_hi) << 32) | ntohl(tpt
[all...]
/linux-master/fs/afs/
H A Dvlclient.c34 nr_servers = ntohl(uvldb->nServers);
39 entry->name[i] = (u8)ntohl(uvldb->name[i]);
43 vlflags = ntohl(uvldb->flags);
47 u32 tmp = ntohl(uvldb->serverFlags[i]);
64 uuid->time_mid = htons(ntohl(xdr->time_mid));
65 uuid->time_hi_and_version = htons(ntohl(xdr->time_hi_and_version));
66 uuid->clock_seq_hi_and_reserved = (u8)ntohl(xdr->clock_seq_hi_and_reserved);
67 uuid->clock_seq_low = (u8)ntohl(xdr->clock_seq_low);
69 uuid->node[j] = (u8)ntohl(xdr->node[j]);
72 entry->addr_version[n] = ntohl(uvld
[all...]
H A Dcmservice.c254 call->count = ntohl(call->tmp);
283 cb->fid.vid = ntohl(*bp++);
284 cb->fid.vnode = ntohl(*bp++);
285 cb->fid.unique = ntohl(*bp++);
299 call->count2 = ntohl(call->tmp);
406 r->time_mid = htons(ntohl(b[1]));
407 r->time_hi_and_version = htons(ntohl(b[2]));
408 r->clock_seq_hi_and_reserved = ntohl(b[3]);
409 r->clock_seq_low = ntohl(b[4]);
412 r->node[loop] = ntohl(
[all...]
H A Dprotocol_yfs.h66 return ((u64)ntohl(x.msw) << 32) | ntohl(x.lsw);
/linux-master/net/ipv6/netfilter/
H A Dip6t_ah.c62 pr_debug("SPI %u %08X\n", ntohl(ah->spi), ntohl(ah->spi));
66 ntohl(ah->spi),
78 ntohl(ah->spi),
H A Dip6t_frag.c60 pr_debug("ID %u %08X\n", ntohl(fh->identification),
61 ntohl(fh->identification));
65 ntohl(fh->identification),
89 ntohl(fh->identification),
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_dsa.c41 words[0] = ntohl(dsa_words[0]);
42 words[1] = ntohl(dsa_words[1]);
43 words[2] = ntohl(dsa_words[2]);
44 words[3] = ntohl(dsa_words[3]);
/linux-master/net/rxrpc/
H A Dkey.c62 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), ntohl(xdr[3]),
67 tktlen = ntohl(xdr[7]);
90 token->kad->vice_id = ntohl(xdr[0]);
91 token->kad->kvno = ntohl(xdr[1]);
92 token->kad->start = ntohl(xdr[4]);
93 token->kad->expiry = ntohl(xdr[5]);
94 token->kad->primary_flag = ntohl(xd
[all...]
/linux-master/fs/nfs/
H A Dcallback_xdr.c94 fh->size = ntohl(*p);
113 attrlen = ntohl(*p);
118 bitmap[0] = ntohl(*p++);
120 bitmap[1] = ntohl(*p);
152 hdr->minorversion = ntohl(*p++);
155 hdr->cb_ident = ntohl(*p++); /* ignored by v4.1 and v4.2 */
162 hdr->nops = ntohl(*p);
172 *op = ntohl(*p);
201 args->truncate = ntohl(*p);
224 args->cbl_layout_type = ntohl(*
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H 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)
99 cmp = ntohl((__force __be32)val);
117 val = ntohl((__forc
[all...]
/linux-master/net/xfrm/
H A Dxfrm_hash.h11 return ntohl(addr->a4);
23 return ntohl((__force __be32)sum);
49 return jhash_2words(ntohl(daddr->a4) & __bits2mask32(dbits),
50 ntohl(saddr->a4) & __bits2mask32(sbits),
/linux-master/net/netlabel/
H A Dnetlabel_addrlist.c163 ntohl(entry->mask) > ntohl(iter->mask)) {
314 u32 mask_val = ntohl(mask);
354 if (ntohl(mask->s6_addr32[3]) != 0xffffffff) {
358 while (ntohl(mask->s6_addr32[++iter]) == 0xffffffff)
360 mask_val = ntohl(mask->s6_addr32[iter]);
/linux-master/net/batman-adv/
H A Dgateway_client.c344 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down);
345 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up);
354 ntohl(gateway->bandwidth_down) / 10,
355 ntohl(gateway->bandwidth_down) % 10,
356 ntohl(gateway->bandwidth_up) / 10,
357 ntohl(gateway->bandwidth_up) % 10);
414 if (gw_node->bandwidth_down == ntohl(gateway->bandwidth_down) &&
415 gw_node->bandwidth_up == ntohl(gateway->bandwidth_up))
425 ntohl(gateway->bandwidth_down) / 10,
426 ntohl(gatewa
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_mb.c62 return FW_CMD_RETVAL_G(ntohl(hdr->lo));
115 *retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16));
118 hw->fwrev = ntohl(rsp->fwrev);
120 value = ntohl(rsp->err_to_clearinit);
248 *retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16));
252 *val++ = ntohl(*p);
391 *retval = FW_CMD_RETVAL_G(ntohl(rsp->action_to_len16));
596 *ret_val = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16));
782 *ret_val = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16));
786 ntohl(rs
[all...]
/linux-master/fs/
H A Dbinfmt_flat.c421 text_len = ntohl(hdr->data_start);
422 data_len = ntohl(hdr->data_end) - ntohl(hdr->data_start);
423 bss_len = ntohl(hdr->bss_end) - ntohl(hdr->data_end);
424 stack_len = ntohl(hdr->stack_size);
429 relocs = ntohl(hdr->reloc_count);
430 flags = ntohl(hdr->flags);
431 rev = ntohl(hdr->rev);
565 fpos = ntohl(hd
[all...]
/linux-master/drivers/media/test-drivers/vicodec/
H A Dcodec-v4l2-fwht.c301 version = ntohl(state->header.version);
313 if (ntohl(state->header.width) != state->visible_width ||
314 ntohl(state->header.height) != state->visible_height)
317 flags = ntohl(state->header.flags);
329 state->colorspace = ntohl(state->header.colorspace);
330 state->xfer_func = ntohl(state->header.xfer_func);
331 state->ycbcr_enc = ntohl(state->header.ycbcr_enc);
332 state->quantization = ntohl(state->header.quantization);
334 cf.size = ntohl(state->header.size);

Completed in 231 milliseconds

1234567891011>>