diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2022-10-20 16:41:36 +0400 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2022-10-20 16:41:36 +0400 |
| commit | 3123fac3e764b4706881ffcb8f8b554c1628c5e0 (patch) | |
| tree | 0a8345c637b00eae13b983af54d9ab51426a6c72 /src/core/ngx_proxy_protocol.h | |
| parent | 3cd06a3a9a1f815cbd5391211947d7aed4feb061 (diff) | |
| parent | 09d5305592c3ff8ff30e54dc3e9ce3dbac72cf59 (diff) | |
| download | nginx-3123fac3e764b4706881ffcb8f8b554c1628c5e0.tar.gz nginx-3123fac3e764b4706881ffcb8f8b554c1628c5e0.tar.bz2 | |
Merged with the default branch.
Diffstat (limited to 'src/core/ngx_proxy_protocol.h')
| -rw-r--r-- | src/core/ngx_proxy_protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_proxy_protocol.h b/src/core/ngx_proxy_protocol.h index b71622094..7d9d3eb70 100644 --- a/src/core/ngx_proxy_protocol.h +++ b/src/core/ngx_proxy_protocol.h @@ -21,6 +21,7 @@ struct ngx_proxy_protocol_s { ngx_str_t dst_addr; in_port_t src_port; in_port_t dst_port; + ngx_str_t tlvs; }; @@ -28,6 +29,8 @@ u_char *ngx_proxy_protocol_read(ngx_connection_t *c, u_char *buf, u_char *last); u_char *ngx_proxy_protocol_write(ngx_connection_t *c, u_char *buf, u_char *last); +ngx_int_t ngx_proxy_protocol_get_tlv(ngx_connection_t *c, ngx_str_t *name, + ngx_str_t *value); #endif /* _NGX_PROXY_PROTOCOL_H_INCLUDED_ */ |
