aboutsummaryrefslogtreecommitdiff
path: root/conn.go
diff options
context:
space:
mode:
Diffstat (limited to 'conn.go')
-rw-r--r--conn.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/conn.go b/conn.go
index b8970e7..e38160a 100644
--- a/conn.go
+++ b/conn.go
@@ -20,8 +20,8 @@ const (
*/
type Bind interface {
SetMark(value uint32) error
- ReceiveIPv6(buff []byte) (int, Endpoint, error)
- ReceiveIPv4(buff []byte) (int, Endpoint, error)
+ ReceiveIPv6(buff []byte) (int, Endpoint, byte, error)
+ ReceiveIPv4(buff []byte) (int, Endpoint, byte, error)
Send(buff []byte, end Endpoint, tos byte) error
Close() error
}