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/router
Aaron Klotz f7acbefbbb wgengine/router: make the Windows ifconfig implementation reuse existing MibIPforwardRow2 when possible
Looking at profiles, we spend a lot of time in winipcfg.LUID.DeleteRoute
looking up the routing table entry for the provided RouteData.

But we already have the row! We previously obtained that data via the full
table dump we did in getInterfaceRoutes. We can make this a lot faster by
hanging onto a reference to the wipipcfg.MibIPforwardRow2 and executing
the delete operation directly on that.

Fixes #11123

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
10 months ago
..
callback.go wgengine/router: implement UpdateMagicsockPort for CallbackRouter (#10494) 12 months ago
ifconfig_windows.go wgengine/router: make the Windows ifconfig implementation reuse existing MibIPforwardRow2 when possible 10 months ago
ifconfig_windows_test.go wgengine/router: make the Windows ifconfig implementation reuse existing MibIPforwardRow2 when possible 10 months ago
router.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 12 months ago
router_darwin.go all: move network monitoring from wgengine/monitor to net/netmon 2 years ago
router_default.go all: move network monitoring from wgengine/monitor to net/netmon 2 years ago
router_fake.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 12 months ago
router_freebsd.go all: move network monitoring from wgengine/monitor to net/netmon 2 years ago
router_linux.go all: cleanup unused code, part 1 (#10661) 11 months ago
router_linux_test.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 12 months ago
router_openbsd.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 12 months ago
router_test.go all: use reflect.TypeFor now available in Go 1.22 (#11078) 10 months ago
router_userspace_bsd.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 12 months ago
router_windows.go wgengine/router: look up absolute path to netsh.exe on Windows 11 months ago
router_windows_test.go wgengine/router: look up absolute path to netsh.exe on Windows 11 months ago
runner.go all: update copyright and license headers 2 years ago