Mercurial > hg > nginx
comparison src/core/ngx_core.h @ 8675:d3747ba486e7 quic
Core: added interface to linux bpf() system call.
It contains wrappers for operations with BPF maps and for loading BPF programs.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 15 Dec 2020 15:23:07 +0300 |
parents | d1cf691a82e8 |
children | 7603284f7af5 |
comparison
equal
deleted
inserted
replaced
8674:2c7f927f7999 | 8675:d3747ba486e7 |
---|---|
93 #include <ngx_open_file_cache.h> | 93 #include <ngx_open_file_cache.h> |
94 #include <ngx_os.h> | 94 #include <ngx_os.h> |
95 #include <ngx_connection.h> | 95 #include <ngx_connection.h> |
96 #include <ngx_syslog.h> | 96 #include <ngx_syslog.h> |
97 #include <ngx_proxy_protocol.h> | 97 #include <ngx_proxy_protocol.h> |
98 #if (NGX_HAVE_BPF) | |
99 #include <ngx_bpf.h> | |
100 #endif | |
98 | 101 |
99 | 102 |
100 #define LF (u_char) '\n' | 103 #define LF (u_char) '\n' |
101 #define CR (u_char) '\r' | 104 #define CR (u_char) '\r' |
102 #define CRLF "\r\n" | 105 #define CRLF "\r\n" |