tailscale/ipn
Brad Fitzpatrick a12aad6b47 all: convert more code to use net/netip directly
perl -i -npe 's,netaddr.IPPrefixFrom,netip.PrefixFrom,' $(git grep -l -F netaddr.)
    perl -i -npe 's,netaddr.IPPortFrom,netip.AddrPortFrom,' $(git grep -l -F netaddr. )
    perl -i -npe 's,netaddr.IPPrefix,netip.Prefix,g' $(git grep -l -F netaddr. )
    perl -i -npe 's,netaddr.IPPort,netip.AddrPort,g' $(git grep -l -F netaddr. )
    perl -i -npe 's,netaddr.IP\b,netip.Addr,g' $(git grep -l -F netaddr. )
    perl -i -npe 's,netaddr.IPv6Raw\b,netip.AddrFrom16,g' $(git grep -l -F netaddr. )
    goimports -w .

Then delete some stuff from the net/netaddr shim package which is no
longer neeed.

Updates #5162

Change-Id: Ia7a86893fe21c7e3ee1ec823e8aba288d4566cd8
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-07-25 21:53:49 -07:00
..
ipnlocal all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
ipnserver all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
ipnstate all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
localapi all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
policy ipn/policy: treat DNS service as interesting so it's not filtered out 2021-12-03 12:55:54 -08:00
store util/mak: move tailssh's mapSet into a new package for reuse elsewhere 2022-04-21 21:20:10 -07:00
backend.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 2022-05-03 15:59:19 -07:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 2022-05-03 15:59:19 -07:00
handle.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
ipn_clone.go net/netaddr: start migrating to net/netip via new netaddr adapter package 2022-07-25 16:20:43 -07:00
message_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
message.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 2022-05-03 15:59:19 -07:00
prefs_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
prefs.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
store.go ipn/store: add common package for instantiating ipn.StateStores 2022-02-28 13:23:33 -08:00