nxt_unit_field.h (967:d693ed6d0209) nxt_unit_field.h (1270:9efa309be18b)
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_UNIT_FIELD_H_INCLUDED_
7#define _NXT_UNIT_FIELD_H_INCLUDED_
8

--- 7 unchanged lines hidden (view full) ---

16 NXT_UNIT_HASH_CONTENT_TYPE = 0x5F7D,
17 NXT_UNIT_HASH_COOKIE = 0x23F2,
18};
19
20
21/* Name and Value field aka HTTP header. */
22struct nxt_unit_field_s {
23 uint16_t hash;
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_UNIT_FIELD_H_INCLUDED_
7#define _NXT_UNIT_FIELD_H_INCLUDED_
8

--- 7 unchanged lines hidden (view full) ---

16 NXT_UNIT_HASH_CONTENT_TYPE = 0x5F7D,
17 NXT_UNIT_HASH_COOKIE = 0x23F2,
18};
19
20
21/* Name and Value field aka HTTP header. */
22struct nxt_unit_field_s {
23 uint16_t hash;
24 uint8_t skip;
24 uint8_t skip:1;
25 uint8_t hopbyhop:1;
25 uint8_t name_length;
26 uint32_t value_length;
27
28 nxt_unit_sptr_t name;
29 nxt_unit_sptr_t value;
30};
31
32
33#endif /* _NXT_UNIT_FIELD_H_INCLUDED_ */
26 uint8_t name_length;
27 uint32_t value_length;
28
29 nxt_unit_sptr_t name;
30 nxt_unit_sptr_t value;
31};
32
33
34#endif /* _NXT_UNIT_FIELD_H_INCLUDED_ */