Searched refs:hmask (Results 1 - 25 of 27) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/xfrm/
H A Dxfrm_hash.h30 unsigned int hmask)
41 return (h ^ (h >> 16)) & hmask;
47 unsigned int hmask)
58 return (h ^ (h >> 16)) & hmask;
63 unsigned int hmask)
74 return (h ^ (h >> 10) ^ (h >> 20)) & hmask;
77 static inline unsigned int __idx_hash(u32 index, unsigned int hmask) argument
79 return (index ^ (index >> 8)) & hmask;
82 static inline unsigned int __sel_hash(struct xfrm_selector *sel, unsigned short family, unsigned int hmask) argument
92 return hmask
28 __xfrm_dst_hash(xfrm_address_t *daddr, xfrm_address_t *saddr, u32 reqid, unsigned short family, unsigned int hmask) argument
44 __xfrm_src_hash(xfrm_address_t *daddr, xfrm_address_t *saddr, unsigned short family, unsigned int hmask) argument
62 __xfrm_spi_hash(xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family, unsigned int hmask) argument
109 __addr_hash(xfrm_address_t *daddr, xfrm_address_t *saddr, unsigned short family, unsigned int hmask) argument
[all...]
H A Dxfrm_policy.c441 unsigned int hmask; member in struct:xfrm_policy_hash
457 unsigned int hmask = xfrm_policy_bydst[dir].hmask; local
458 unsigned int hash = __sel_hash(sel, family, hmask);
460 return (hash == hmask + 1 ?
467 unsigned int hmask = xfrm_policy_bydst[dir].hmask; local
468 unsigned int hash = __addr_hash(daddr, saddr, family, hmask);
511 unsigned int hmask = xfrm_policy_bydst[dir].hmask; local
536 unsigned int hmask = xfrm_idx_hmask; local
562 unsigned int hmask = xfrm_policy_bydst[dir].hmask; local
576 unsigned int hmask = xfrm_idx_hmask; local
2375 unsigned int hmask, sz; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/lib/
H A Ddo_csum.S94 #define hmask r16 define
140 mov hmask=-1 // initialize head mask
168 shl hmask=hmask,tmp2 // build head mask, mask off [0,first1off[
174 (p8) and hmask=hmask,tmask // apply tail mask to head mask if 1 word only
180 and word1[0]=firstval,hmask // and mask it as appropriate
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dinetdevice.h151 __u32 hmask; local
154 hmask = ntohl(mask);
155 if (hmask & (hmask+1))
218 __u32 hmask = ntohl(mask); local
219 if (!hmask)
221 return 32 - ffz(~hmask);
H A Dpkt_cls.h221 __u32 hmask; member in struct:tc_u32_sel
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/mm/
H A Dppc_mmu_32.c198 unsigned int hmask, mb, mb2; local
259 hmask = Hash_mask >> (16 - LG_HPTEG_SIZE);
268 hash_page_patch_B[0] = (hash_page_patch_B[0] & ~0xffff) | hmask;
269 hash_page_patch_C[0] = (hash_page_patch_C[0] & ~0xffff) | hmask;
286 flush_hash_patch_B[0] = (flush_hash_patch_B[0] & ~0xffff) | hmask;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/mm/
H A Dppc_mmu.c177 unsigned int hmask, mb, mb2; local
237 hmask = Hash_mask >> (16 - LG_HPTEG_SIZE);
246 hash_page_patch_B[0] = (hash_page_patch_B[0] & ~0xffff) | hmask;
247 hash_page_patch_C[0] = (hash_page_patch_C[0] & ~0xffff) | hmask;
264 flush_hash_patch_B[0] = (flush_hash_patch_B[0] & ~0xffff) | hmask;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dact_api.h55 unsigned int hmask; member in struct:tcf_hashinfo
59 static inline unsigned int tcf_hash(u32 index, unsigned int hmask) argument
61 return index & hmask;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibipt_NETMAP.c61 range->min_ip = cb->val.haddr.ip & cb->val.hmask.ip;
62 range->max_ip = range->min_ip | ~cb->val.hmask.ip;
H A Dlibxt_policy.c130 memcpy(&e->smask, &cb->val.hmask, sizeof(cb->val.hmask));
139 memcpy(&e->dmask, &cb->val.hmask, sizeof(cb->val.hmask));
H A Dlibxt_ipvs.c77 memcpy(&data->vmask, &cb->val.hmask, sizeof(cb->val.hmask));
H A Dlibxt_conntrack.c414 info->origsrc_mask = cb->val.hmask;
421 info->origdst_mask = cb->val.hmask;
428 info->replsrc_mask = cb->val.hmask;
435 info->repldst_mask = cb->val.hmask;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dact_api.c37 unsigned int h = tcf_hash(p->tcfc_index, hinfo->hmask);
87 for (i = 0; i < (hinfo->hmask + 1); i++) {
88 p = hinfo->htab[tcf_hash(i, hinfo->hmask)];
131 for (i = 0; i < (hinfo->hmask + 1); i++) {
132 p = hinfo->htab[tcf_hash(i, hinfo->hmask)];
172 for (p = hinfo->htab[tcf_hash(index, hinfo->hmask)]; p;
251 unsigned int h = tcf_hash(p->tcfc_index, hinfo->hmask);
H A Dact_gact.c44 .hmask = GACT_TAB_MASK,
H A Dact_mirred.c49 .hmask = MIRRED_TAB_MASK,
H A Dact_simple.c34 .hmask = SIMP_TAB_MASK,
H A Dact_police.c45 .hmask = POL_TAB_MASK,
403 for (p = hinfo->htab[tcf_hash(index, hinfo->hmask)]; p;
H A Dact_ipt.c49 .hmask = IPT_TAB_MASK,
H A Dact_pedit.c43 .hmask = PEDIT_TAB_MASK,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68knommu/
H A Dm68360_pram.h116 unsigned short hmask; /* user defined frm addr mask */ member in struct:hdlc_pram
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/include/linux/
H A Dpkt_cls.h221 __u32 hmask; member in struct:tc_u32_sel
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/include/
H A Dxtables.h162 union nf_inet_addr haddr, hmask; member in struct:xt_option_call::__anon449::__anon450
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/xmon/
H A Dxmon.c993 unsigned v, hmask, va, last_va = 0; local
998 hmask = hsize / 64 - 1;
1004 hg = htab + (((v ^ seg) & hmask) * 16);
1014 hg = htab + ((~(v ^ seg) & hmask) * 16);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/tc/
H A Df_u32.c754 sel->hmask = htonl(mask);
1046 if (sel->hmask) {
1048 (unsigned int)htonl(sel->hmask), sel->hoff);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/iptables/
H A Dxtoptions.c511 * result is stored in @cb->val.haddr. Additionally, @cb->val.hmask and
526 memset(&cb->val.hmask, 0xFF, sizeof(cb->val.hmask));
691 * a bitmask, and make it available through @cb->val.hmask (hlen remains
692 * valid). If %XTOPT_PUT is used, hmask will be copied to the target area.
697 uint32_t *mask = cb->val.hmask.all;

Completed in 238 milliseconds

12