From 203554620dc8114de1ff70bb30b80f828e9e26ad Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Thu, 7 Nov 2019 11:13:05 -0500 Subject: 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 --- conn/mark_default.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 conn/mark_default.go (limited to 'conn/mark_default.go') diff --git a/conn/mark_default.go b/conn/mark_default.go new file mode 100644 index 0000000..fc41ba9 --- /dev/null +++ b/conn/mark_default.go @@ -0,0 +1,12 @@ +// +build !linux,!openbsd,!freebsd + +/* SPDX-License-Identifier: MIT + * + * Copyright (C) 2017-2019 WireGuard LLC. All Rights Reserved. + */ + +package conn + +func (bind *nativeBind) SetMark(mark uint32) error { + return nil +} -- cgit v1.2.3-59-g8ed1b