Shelikhoo
4357719480
apply sockopt rename
2022-01-23 20:33:01 +00:00
Shelikhoo
547b4fb49b
rewrite sockopt rxtx buf size message for darwin, freebsd
2022-01-23 20:33:01 +00:00
Shelikhoo
1a004529d9
apply coding style for keep alive sockopt in freebsd
2022-01-23 20:33:01 +00:00
Shelikhoo
1a35c1dc69
add socksopt rxtxbuf for freebsd
2022-01-23 20:33:01 +00:00
世界
093a4d6a82
fix error formatting in sockopt
2022-01-16 20:39:29 +00:00
ValdikSS
a0eb84dbff
Separate TcpKeepAliveIdle and TcpKeepAliveInterval check logic
2022-01-16 13:31:44 +00:00
ValdikSS
dc709f56dd
Add TCP keep alive support in MacOS, FreeBSD
2021-11-28 22:49:02 +00:00
Loyalsoldier
6f8979d017
Style: format code by gofumpt ( #1022 )
2021-05-20 05:28:52 +08:00
Vigilans
39cbe4ab13
Implement setReuseAddr
and setReusePort
in sockopt_{os}.go
2020-07-31 01:20:12 +08:00
lucifer9
2bd5f2fe96
add SO_REUSEPORT for freebsd 11
2020-03-24 21:52:03 +08:00
lucifer9
e176746d03
make Codacy/PR Quality Review happy
2020-03-12 00:42:29 +08:00
lucifer9
8c6dac924c
code cleanup to make Codacy/PR Quality Review happy
2020-03-12 00:42:29 +08:00
lucifer
2ad7060375
add freebsd/pf support:
...
- transparent proxy (pf rdr) in IPv4 environment
- support both tcp and udp
- enable TCP_FASTOPEN, SO_REUSEPORT_LB, SO_REUSEADDR
- sockopt:mark is mapped to SO_USER_COOKIE
2020-03-12 00:42:29 +08:00