Mercurial > hg > nginx-quic
view src/event/quic/bpf/makefile @ 8829:e00295b76395 quic
QUIC: revised ngx_quic_handle_datagram() error codes.
The NGX_DECLINED is replaced with NGX_DONE to match closer to return code
of ngx_quic_handle_packet() and ngx_quic_close_connection() rc argument.
The ngx_quic_close_connection() rc code is used only when quic connection
exists, thus anything goes if qc == NULL.
The ngx_quic_handle_datagram() does not return NG_OK in cases when quic
connection is not yet created.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 01 Feb 2022 14:35:31 +0300 |
parents | 7df607cb2d11 |
children |
line wrap: on
line source
CFLAGS=-O2 -Wall LICENSE=BSD PROGNAME=ngx_quic_reuseport_helper RESULT=ngx_event_quic_bpf_code DEST=../$(RESULT).c all: $(RESULT) $(RESULT): $(PROGNAME).o LICENSE=$(LICENSE) PROGNAME=$(PROGNAME) bash ./bpfgen.sh $< > $@ DEFS=-DPROGNAME=\"$(PROGNAME)\" \ -DLICENSE_$(LICENSE) \ -DLICENSE=\"$(LICENSE)\" \ $(PROGNAME).o: $(PROGNAME).c clang $(CFLAGS) $(DEFS) -target bpf -c $< -o $@ install: $(RESULT) cp $(RESULT) $(DEST) clean: @rm -f $(RESULT) *.o debug: $(PROGNAME).o llvm-objdump -S -no-show-raw-insn $< .DELETE_ON_ERROR: