Searched refs:base_hash (Results 1 – 2 of 2) sorted by relevance
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_upstream_hash_module.c | 290 uint32_t hash, base_hash; in ngx_stream_upstream_init_chash() local 362 ngx_crc32_init(base_hash); in ngx_stream_upstream_init_chash() 363 ngx_crc32_update(&base_hash, host, host_len); in ngx_stream_upstream_init_chash() 364 ngx_crc32_update(&base_hash, (u_char *) "", 1); in ngx_stream_upstream_init_chash() 365 ngx_crc32_update(&base_hash, port, port_len); in ngx_stream_upstream_init_chash() 371 hash = base_hash; in ngx_stream_upstream_init_chash()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_upstream_hash_module.c | 290 uint32_t hash, base_hash; in ngx_http_upstream_init_chash() local 362 ngx_crc32_init(base_hash); in ngx_http_upstream_init_chash() 363 ngx_crc32_update(&base_hash, host, host_len); in ngx_http_upstream_init_chash() 364 ngx_crc32_update(&base_hash, (u_char *) "", 1); in ngx_http_upstream_init_chash() 365 ngx_crc32_update(&base_hash, port, port_len); in ngx_http_upstream_init_chash() 371 hash = base_hash; in ngx_http_upstream_init_chash()
|