Home
last modified time | relevance | path

Searched refs:ngx_crc32_update (Results 1 – 7 of 7) sorted by relevance

/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_upstream_hash_module.c202 ngx_crc32_update(&hash, buf, size); in ngx_stream_upstream_get_hash_peer()
205 ngx_crc32_update(&hash, hp->key.data, hp->key.len); in ngx_stream_upstream_get_hash_peer()
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()
373 ngx_crc32_update(&hash, prev_hash.byte, 4); in ngx_stream_upstream_init_chash()
H A Dngx_stream_geo_module.c1440 ngx_crc32_update(&crc32, (u_char *) vv, len); in ngx_stream_geo_include_binary_base()
1444 ngx_crc32_update(&crc32, (u_char *) vv, in ngx_stream_geo_include_binary_base()
1451 ngx_crc32_update(&crc32, (u_char *) &ranges[i], sizeof(void *)); in ngx_stream_geo_include_binary_base()
1462 ngx_crc32_update(&crc32, (u_char *) range, in ngx_stream_geo_include_binary_base()
1468 ngx_crc32_update(&crc32, (u_char *) range, sizeof(void *)); in ngx_stream_geo_include_binary_base()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_upstream_hash_module.c203 ngx_crc32_update(&hash, buf, size); in ngx_http_upstream_get_hash_peer()
206 ngx_crc32_update(&hash, hp->key.data, hp->key.len); in ngx_http_upstream_get_hash_peer()
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()
373 ngx_crc32_update(&hash, prev_hash.byte, 4); in ngx_http_upstream_init_chash()
H A Dngx_http_geo_module.c1513 ngx_crc32_update(&crc32, (u_char *) vv, len); in ngx_http_geo_include_binary_base()
1517 ngx_crc32_update(&crc32, (u_char *) vv, sizeof(ngx_http_variable_value_t)); in ngx_http_geo_include_binary_base()
1523 ngx_crc32_update(&crc32, (u_char *) &ranges[i], sizeof(void *)); in ngx_http_geo_include_binary_base()
1534 ngx_crc32_update(&crc32, (u_char *) range, in ngx_http_geo_include_binary_base()
1540 ngx_crc32_update(&crc32, (u_char *) range, sizeof(void *)); in ngx_http_geo_include_binary_base()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_crc32.h58 ngx_crc32_update(uint32_t *crc, u_char *p, size_t len) in ngx_crc32_update() function
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_udp.c540 ngx_crc32_update(&hash, (u_char *) c->sockaddr, c->socklen); in ngx_insert_udp_connection()
543 ngx_crc32_update(&hash, (u_char *) c->local_sockaddr, c->local_socklen); in ngx_insert_udp_connection()
611 ngx_crc32_update(&hash, (u_char *) sockaddr, socklen); in ngx_lookup_udp_connection()
614 ngx_crc32_update(&hash, (u_char *) local_sockaddr, local_socklen); in ngx_lookup_udp_connection()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_file_cache.c250 ngx_crc32_update(&c->crc32, key[i].data, key[i].len); in ngx_http_file_cache_create_key()