REORG: tcp: move TCP actions from proto_tcp.c to tcp_act.c
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2020 09:03:28 +0000 (11:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2020 16:51:36 +0000 (18:51 +0200)
commitaeae66cf22527299c7187e0d498361073cf2a854
tree7dd8203299b258b47c492e4d8c6c9a3e726f95c1
parentfebbce87baf15b610d30172e37b98133e92159cc
REORG: tcp: move TCP actions from proto_tcp.c to tcp_act.c

The file proto_tcp.c has become a real mess because it still contains
tons of definitions that have nothing to do with the TCP protocol setup.
This commit moves the ruleset actions "set-src-port", "set-dst-port",
"set-src", "set-dst", and "silent-drop" to a new file "tcp_act.c".
Nothing has changed beyond this.
Makefile
src/proto_tcp.c
src/tcp_act.c [new file with mode: 0644]