]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
conn: introduce new package that splits out the Bind and Endpoint types
authorDavid Crawshaw <crawshaw@tailscale.com>
Thu, 7 Nov 2019 16:13:05 +0000 (11:13 -0500)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 2 May 2020 07:46:42 +0000 (01:46 -0600)
commit203554620dc8114de1ff70bb30b80f828e9e26ad
tree49f36961f2090dc07d15cad3204a1a3531dc233d
parent6aefb61355c9da539383dd0c2bc5f2bb3dbb3963
conn: introduce new package that splits out the Bind and Endpoint types

The sticky socket code stays in the device package for now,
as it reaches deeply into the peer list.

This is the first step in an effort to split some code out of
the very busy device package.

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
15 files changed:
conn/boundif_windows.go [moved from device/boundif_windows.go with 66% similarity]
conn/conn.go [new file with mode: 0644]
conn/conn_default.go [moved from device/conn_default.go with 94% similarity]
conn/conn_linux.go [moved from device/conn_linux.go with 63% similarity]
conn/mark_default.go [moved from device/mark_default.go with 93% similarity]
conn/mark_unix.go [moved from device/mark_unix.go with 98% similarity]
device/bind_test.go
device/bindsocketshim.go [new file with mode: 0644]
device/conn.go [deleted file]
device/device.go
device/peer.go
device/receive.go
device/sticky_default.go [new file with mode: 0644]
device/sticky_linux.go [new file with mode: 0644]
device/uapi.go