Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 13 of 13) sorted by relevance

/mOS-networking-stack/core/src/
H A Dfhash.c41 hash += hash >> 11; in SuperFastHash()
47 hash ^= hash << 16; in SuperFastHash()
49 hash += hash >> 11; in SuperFastHash()
57 hash += hash >> 1; in SuperFastHash()
61 hash ^= hash << 3; in SuperFastHash()
62 hash += hash >> 5; in SuperFastHash()
63 hash ^= hash << 4; in SuperFastHash()
64 hash += hash >> 17; in SuperFastHash()
65 hash ^= hash << 25; in SuperFastHash()
66 hash += hash >> 6; in SuperFastHash()
[all …]
H A Dscalable_event.c256 uint64_t hash = 0; in hash64()
260 hash += ((uint8_t *)&ev)[i]; in hash64()
261 hash += (hash << 10); in hash64()
262 hash ^= (hash >> 6); in hash64()
265 hash += ((uint8_t *)&cb)[i]; in hash64()
266 hash += (hash << 10); in hash64()
267 hash ^= (hash >> 6); in hash64()
269 hash += (hash << 3); in hash64()
270 hash ^= (hash >> 11); in hash64()
271 hash += (hash << 15); in hash64()
[all …]
H A Dtcp.c113 uint32_t stream_type, unsigned int *hash) in CreateMonitorStream() argument
181 FindStream(mtcp_manager_t mtcp, struct pkt_ctx *pctx, unsigned int *hash) in FindStream() argument
190 return HTSearch(mtcp->tcp_flow_table, &temp_stream, hash); in FindStream()
196 CreateStream(mtcp_manager_t mtcp, struct pkt_ctx *pctx, unsigned int *hash) in CreateStream() argument
233 hash); in CreateStream()
235 cur_stream = CreateMonitorStream(mtcp, pctx, stream_type, hash); in CreateStream()
416 unsigned int hash = 0; in ProcessInTCPPacket() local
448 cur_stream = FindStream(mtcp, pctx, &hash); in ProcessInTCPPacket()
460 cur_stream = CreateStream(mtcp, pctx, &hash); in ProcessInTCPPacket()
H A Dtcp_stream.c429 unsigned int *hash) argument
478 ret = HTInsert(mtcp->tcp_flow_table, stream, hash);
583 uint16_t sport, uint32_t daddr, uint16_t dport, unsigned int *hash) argument
589 saddr, sport, daddr, dport, hash);
596 daddr, dport, saddr, sport, hash);
617 unsigned int *hash) argument
622 cs = CreateTCPStream(mtcp, socket, type, daddr, dport, saddr, sport, hash);
H A Ddpdk_module.c571 rss_i->hash_value = m->hash.rss; in dpdk_dev_ioctl()
/mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/
H A Dproxy.txt39 might be one of 'hash', 'round-robin' or 'fair' (default).
41 'round-robin' choses another host for each request, 'hash'
42 is generating a hash over the request-uri and makes sure
89 proxy.balance = "hash"
H A Dauthentication.txt106 Using md5sum can also generate the password-hash: ::
113 hash=`echo -n "$user:$realm:$pass" | md5sum | cut -b -32`
115 echo "$user:$realm:$hash"
/mOS-networking-stack/core/src/include/
H A Dfhash.h33 int HTInsert(struct hashtable *ht, tcp_stream *, unsigned int *hash);
35 tcp_stream* HTSearch(struct hashtable *ht, const tcp_stream *, unsigned int *hash);
H A Dtcp_stream.h307 unsigned int *hash);
311 uint16_t sport, uint32_t daddr, uint16_t dport, unsigned int *hash);
315 uint32_t saddr, uint16_t sport, uint32_t daddr, uint16_t dport, unsigned int *hash);
/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dstat_cache.c229 uint32_t hash = 5381; in hashme() local
232 hash = ((hash << 5) + hash) + *s; in hashme()
235 hash &= ~(1 << 31); /* strip the highest bit */ in hashme()
237 return hash; in hashme()
H A Dlemon.c3106 hash = 0;
3108 hash = hash*53 + stddt[j];
3110 hash = (hash & 0x7fffffff)%arraysize;
3111 while( types[hash] ){
3113 sp->dtnum = hash + 1;
3116 hash++;
3117 if( hash>=arraysize ) hash = 0;
3119 if( types[hash]==0 ){
3120 sp->dtnum = hash + 1;
3122 if( types[hash]==0 ){
[all …]
/mOS-networking-stack/core/src/bpf/
H A Dsf_optimize.c607 u_int hash; local
611 hash = (u_int) code ^ (v0 << 4) ^ (v1 << 8);
612 hash %= MODULUS;
614 for (p = hashtbl[hash]; p; p = p->next)
629 p->next = hashtbl[hash];
630 hashtbl[hash] = p;
/mOS-networking-stack/samples/lighttpd-1.4.32/
H A DNEWS778 * added hash-based and round-robin load balancing to mod_proxy