mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-27 03:55:36 +00:00
24 lines
389 B
Go
24 lines
389 B
Go
|
// 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() {}
|