]> Cypherpunks repositories - gostls13.git/commit
net, internal/routebsd: move vendored x/net/route to internal
authorIan Lance Taylor <iant@golang.org>
Wed, 18 Dec 2024 22:28:16 +0000 (14:28 -0800)
committerGopher Robot <gobot@golang.org>
Mon, 3 Feb 2025 20:11:04 +0000 (12:11 -0800)
commitc1a5889edbd3e499df10db5ed1d8006c73de5792
tree005978995861172dd231fb2a8c993ebbb95b7de8
parent41298239cf8b0de14fd3ac43e4af65fad6ab5cc4
net, internal/routebsd: move vendored x/net/route to internal

This is a simple move of the contents of the vendored x/net/route
to internal/routebsd. I've also added some test files that
were not previously vendored.

This next CL will simplify the new internal/routebsd, removing the
code that is not needed by the new package.

This is a step toward simplifying the x/net/route package by
permitting it to import x/sys/unix.

Change-Id: I4d13df11fa9738cd68876b2ea456d03f82d8d64a
Reviewed-on: https://go-review.googlesource.com/c/go/+/637695
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
41 files changed:
src/go/build/deps_test.go
src/internal/routebsd/address.go [moved from src/vendor/golang.org/x/net/route/address.go with 99% similarity]
src/internal/routebsd/address_darwin_test.go [new file with mode: 0644]
src/internal/routebsd/address_test.go [new file with mode: 0644]
src/internal/routebsd/binary.go [moved from src/vendor/golang.org/x/net/route/binary.go with 99% similarity]
src/internal/routebsd/empty.s [moved from src/vendor/golang.org/x/net/route/empty.s with 100% similarity]
src/internal/routebsd/interface.go [moved from src/vendor/golang.org/x/net/route/interface.go with 99% similarity]
src/internal/routebsd/interface_announce.go [moved from src/vendor/golang.org/x/net/route/interface_announce.go with 97% similarity]
src/internal/routebsd/interface_classic.go [moved from src/vendor/golang.org/x/net/route/interface_classic.go with 98% similarity]
src/internal/routebsd/interface_freebsd.go [moved from src/vendor/golang.org/x/net/route/interface_freebsd.go with 99% similarity]
src/internal/routebsd/interface_multicast.go [moved from src/vendor/golang.org/x/net/route/interface_multicast.go with 97% similarity]
src/internal/routebsd/interface_openbsd.go [moved from src/vendor/golang.org/x/net/route/interface_openbsd.go with 99% similarity]
src/internal/routebsd/message.go [moved from src/vendor/golang.org/x/net/route/message.go with 98% similarity]
src/internal/routebsd/message_darwin_test.go [new file with mode: 0644]
src/internal/routebsd/message_freebsd_test.go [new file with mode: 0644]
src/internal/routebsd/message_test.go [new file with mode: 0644]
src/internal/routebsd/route.go [moved from src/vendor/golang.org/x/net/route/route.go with 99% similarity]
src/internal/routebsd/route_classic.go [moved from src/vendor/golang.org/x/net/route/route_classic.go with 99% similarity]
src/internal/routebsd/route_openbsd.go [moved from src/vendor/golang.org/x/net/route/route_openbsd.go with 99% similarity]
src/internal/routebsd/route_test.go [new file with mode: 0644]
src/internal/routebsd/sys.go [moved from src/vendor/golang.org/x/net/route/sys.go with 98% similarity]
src/internal/routebsd/sys_darwin.go [moved from src/vendor/golang.org/x/net/route/sys_darwin.go with 99% similarity]
src/internal/routebsd/sys_dragonfly.go [moved from src/vendor/golang.org/x/net/route/sys_dragonfly.go with 99% similarity]
src/internal/routebsd/sys_freebsd.go [moved from src/vendor/golang.org/x/net/route/sys_freebsd.go with 99% similarity]
src/internal/routebsd/sys_netbsd.go [moved from src/vendor/golang.org/x/net/route/sys_netbsd.go with 99% similarity]
src/internal/routebsd/sys_openbsd.go [moved from src/vendor/golang.org/x/net/route/sys_openbsd.go with 99% similarity]
src/internal/routebsd/syscall.go [moved from src/vendor/golang.org/x/net/route/syscall.go with 95% similarity]
src/internal/routebsd/zsys_darwin.go [moved from src/vendor/golang.org/x/net/route/zsys_darwin.go with 96% similarity]
src/internal/routebsd/zsys_dragonfly.go [moved from src/vendor/golang.org/x/net/route/zsys_dragonfly.go with 96% similarity]
src/internal/routebsd/zsys_freebsd_386.go [moved from src/vendor/golang.org/x/net/route/zsys_freebsd_386.go with 98% similarity]
src/internal/routebsd/zsys_freebsd_amd64.go [moved from src/vendor/golang.org/x/net/route/zsys_freebsd_amd64.go with 98% similarity]
src/internal/routebsd/zsys_freebsd_arm.go [moved from src/vendor/golang.org/x/net/route/zsys_freebsd_arm.go with 98% similarity]
src/internal/routebsd/zsys_freebsd_arm64.go [moved from src/vendor/golang.org/x/net/route/zsys_freebsd_arm64.go with 98% similarity]
src/internal/routebsd/zsys_freebsd_riscv64.go [moved from src/vendor/golang.org/x/net/route/zsys_freebsd_riscv64.go with 98% similarity]
src/internal/routebsd/zsys_netbsd.go [moved from src/vendor/golang.org/x/net/route/zsys_netbsd.go with 95% similarity]
src/internal/routebsd/zsys_openbsd.go [moved from src/vendor/golang.org/x/net/route/zsys_openbsd.go with 92% similarity]
src/net/interface_bsd.go
src/net/interface_bsdvar.go
src/net/interface_darwin.go
src/net/interface_freebsd.go
src/vendor/modules.txt