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
Brad Fitzpatrick 7f174e84e6 net/interfaces: remove mutating methods, add EqualFiltered instead
Now callers (wgengine/monitor) don't need to mutate the state to remove
boring interfaces before calling State.Equal. Instead, the methods
to remove boring interfaces from the State are removed, as is
the reflect-using Equal method itself, and in their place is
a new EqualFiltered method that takes a func predicate to match
interfaces to compare.

And then the FilterInteresting predicate is added for use
with EqualFiltered to do the job that that wgengine/monitor
previously wanted.

Now wgengine/monitor can keep the full interface state around,
including the "boring" interfaces, which we'll need for peerapi on
macOS/iOS to bind to the interface index of the utunN device.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
..
filter net/packet, wgengine/{filter,tstun}: add TSMP ping 5 years ago
magicsock ipn/ipnlocal: start of peerapi between nodes 5 years ago
monitor net/interfaces: remove mutating methods, add EqualFiltered instead 5 years ago
netstack all: s/Magic DNS/MagicDNS/ for consistency 5 years ago
router many: gofmt. 5 years ago
tstun net/packet, wgengine/{filter,tstun}: add TSMP ping 5 years ago
wgcfg wgengine: pass logger as a separate arg to device.NewDevice 5 years ago
wglog wgengine/wglog: drop 1/s "interface is up" messages. 5 years ago
winnet wgengine/winnet: don't build on non-windows 5 years ago
ifstatus_noop.go wgengine: make NewUserspaceEngine wait for TUN interface to be up on Windows 5 years ago
ifstatus_windows.go wgengine: make NewUserspaceEngine wait for TUN interface to be up on Windows 5 years ago
pendopen.go wgengine{,/magicsock}: fix, improve "tailscale ping" to default routes and subnets 5 years ago
userspace.go many: gofmt. 5 years ago
userspace_test.go cmd/tailscaled, wgengine: remove --fake, replace with netstack 5 years ago
watchdog.go many: gofmt. 5 years ago
watchdog_test.go cmd/tailscaled, wgengine: remove --fake, replace with netstack 5 years ago
wgengine.go many: gofmt. 5 years ago