Mercurial > hg > nginx
view src/core/ngx_murmurhash.h @ 8643:5fdd0ef42232 quic
QUIC: macros for manipulating header protection and reserved bits.
This gets rid of magic numbers from quic protection and allows to push down
header construction specifics further to quic transport.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 17 Nov 2020 21:32:22 +0000 |
parents | 709d7d24239d |
children |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #ifndef _NGX_MURMURHASH_H_INCLUDED_ #define _NGX_MURMURHASH_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> uint32_t ngx_murmur_hash2(u_char *data, size_t len); #endif /* _NGX_MURMURHASH_H_INCLUDED_ */