tailscale/net/netns
Aaron Klotz 7dd76c3411 net/netns: add Windows support for bind-to-interface-by-route
This is implemented via GetBestInterfaceEx. Should we encounter errors
or fail to resolve a valid, non-Tailscale interface, we fall back to
returning the index for the default interface instead.

Fixes #12551

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2024-06-24 10:43:34 -06:00
..
mksyscall.go net/netns: add Windows support for bind-to-interface-by-route 2024-06-24 10:43:34 -06:00
netns_android.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
netns_darwin_test.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
netns_darwin.go net/netns: add Windows support for bind-to-interface-by-route 2024-06-24 10:43:34 -06:00
netns_default.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
netns_dw.go net/netns: add Windows support for bind-to-interface-by-route 2024-06-24 10:43:34 -06:00
netns_linux_test.go util/linuxfw: decoupling IPTables logic from linux router 2023-06-27 19:54:27 -04:00
netns_linux.go net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
netns_test.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
netns_windows_test.go net/netns: add Windows support for bind-to-interface-by-route 2024-06-24 10:43:34 -06:00
netns_windows.go net/netns: add Windows support for bind-to-interface-by-route 2024-06-24 10:43:34 -06:00
netns.go net/netns: add Windows support for bind-to-interface-by-route 2024-06-24 10:43:34 -06:00
socks.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
zsyscall_windows.go net/netns: add Windows support for bind-to-interface-by-route 2024-06-24 10:43:34 -06:00