]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
conn: 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)
committerDavid Crawshaw <david@zentus.com>
Mon, 30 Mar 2020 10:05:11 +0000 (21:05 +1100)
commitc4a8eab3ddc37021433a4d08075a02b355aca21c
tree0f2355c17a7cc25c93b85142e5fa635ea487eac2
parent66793239d1fb15e6b3dfe5c7beaa68552d2f5bc5
conn: 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