summaryrefslogtreecommitdiffhomepage
path: root/wgengine/netstack/gro/gro_ios.go
blob: 627b42d7e5cfdae119a4d5b331416ea75072a46f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause

//go:build ios

package gro

import (
	"gvisor.dev/gvisor/pkg/tcpip/stack"
	"tailscale.com/net/packet"
)

type GRO struct{}

func NewGRO() *GRO {
	panic("unsupported on iOS")
}

func (g *GRO) SetDispatcher(_ stack.NetworkDispatcher) {}

func (g *GRO) Enqueue(_ *packet.Parsed) {}

func (g *GRO) Flush() {}