You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine
James Tucker 2c07f5dfcd wgengine/magicsock: refactor maybeRebindOnError
Remove the platform specificity, it is unnecessary complexity.
Deduplicate repeated code as a result of reduced complexity.
Split out error identification code.
Update call-sites and tests.

Updates #14551
Updates tailscale/corp#25648

Signed-off-by: James Tucker <james@tailscale.com>
11 months ago
..
bench ipn/ipnlocal, all: plumb health trackers in tests 2 years ago
capture wgengine/capture: fix v6 field typo in wireshark dissector 1 year ago
filter Fix various linting, vet & static check issues 11 months ago
magicsock wgengine/magicsock: refactor maybeRebindOnError 11 months ago
netlog wgengine: add exit destination logging enable for wgengine logger (#11952) 2 years ago
netstack Fix various linting, vet & static check issues 11 months ago
router wgengine/router: refactor udm-pro into broader ubnt support 11 months ago
wgcfg all: use iterators over slice views more 1 year ago
wgint wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 2 years ago
wglog all: use Go 1.22 range-over-int 2 years ago
winnet all: add test for package comments, fix, add comments as needed 1 year ago
mem_ios.go all: update copyright and license headers 3 years ago
pendopen.go all: use iterators over slice views more 1 year ago
userspace.go all: use iterators over slice views more 1 year ago
userspace_ext_test.go util/usermetrics: make usermetrics non-global 1 year ago
userspace_test.go util/usermetrics: make usermetrics non-global 1 year ago
watchdog.go ipn/ipnlocal,net/tstun,wgengine: create and plumb jailed packet filter 2 years ago
watchdog_js.go all: update copyright and license headers 3 years ago
watchdog_test.go util/usermetrics: make usermetrics non-global 1 year ago
wgengine.go all: add test for package comments, fix, add comments as needed 1 year ago