blob: d73d2ca8746728ca6bc58e0156cc05539383ce72 [file] [log] [blame]
Stephane Barbarie35595062018-02-08 08:34:39 -05001package core
2
3import (
4 "context"
5 "github.com/google/gopacket"
6)
7
8type PonSimInterface interface {
9 Start(context.Context)
10
11 Stop(context.Context)
12
13 GetAddress() string
14
15 GetPort() int32
16
17 Forward(context.Context, int, gopacket.Packet) error
18}