summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_bpf.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-12-28QUIC: fixed config test with bpf (ticket #2292).Vladimir Homutov1-0/+8
The SO_REUSEPORT socket option is not set during configuration testing, thus making the further module initialization impossible and meaningless.
2021-08-17QUIC: fixed format specifiers in ngx_quic_bpf module.Sergey Kandaurov1-6/+6
2021-02-15QUIC: fixed indentation.Sergey Kandaurov1-2/+2
2020-12-25QUIC: ngx_quic_bpf module.Vladimir Homutov1-0/+649
The quic kernel bpf helper inspects packet payload for DCID, extracts key and routes the packet into socket matching the key. Due to reuseport feature, each worker owns a personal socket, which is identified by the same key, used to create DCID. BPF objects are locked in RAM and are subject to RLIMIT_MEMLOCK. The "ulimit -l" command may be used to setup proper limits, if maps cannot be created with EPERM or updated with ETOOLONG.