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>
2024-02-13 11:17:01 -07:00
..
callback.go wgengine/router: implement UpdateMagicsockPort for CallbackRouter (#10494) 2023-12-07 10:45:14 -05:00
ifconfig_windows_test.go wgengine/router: make the Windows ifconfig implementation reuse existing MibIPforwardRow2 when possible 2024-02-13 11:17:01 -07:00
ifconfig_windows.go wgengine/router: make the Windows ifconfig implementation reuse existing MibIPforwardRow2 when possible 2024-02-13 11:17:01 -07:00
router_darwin.go all: move network monitoring from wgengine/monitor to net/netmon 2023-04-20 10:15:59 -07:00
router_default.go all: move network monitoring from wgengine/monitor to net/netmon 2023-04-20 10:15:59 -07:00
router_fake.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 2023-12-05 18:12:02 -05:00
router_freebsd.go all: move network monitoring from wgengine/monitor to net/netmon 2023-04-20 10:15:59 -07:00
router_linux_test.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 2023-12-05 18:12:02 -05:00
router_linux.go all: cleanup unused code, part 1 (#10661) 2023-12-20 14:50:30 -08:00
router_openbsd.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 2023-12-05 18:12:02 -05:00
router_test.go all: use reflect.TypeFor now available in Go 1.22 (#11078) 2024-02-08 17:34:22 -08:00
router_userspace_bsd.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 2023-12-05 18:12:02 -05:00
router_windows_test.go wgengine/router: look up absolute path to netsh.exe on Windows 2024-01-10 20:20:19 -05:00
router_windows.go wgengine/router: look up absolute path to netsh.exe on Windows 2024-01-10 20:20:19 -05:00
router.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 2023-12-05 18:12:02 -05:00
runner.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00