Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NicID tcpip.NICID
Functions ¶
Types ¶
type Config ¶
type Config struct { // LinkEndpoints is the interface implemented by // data link layer protocols. LinkEndpoint stack.LinkEndpoint // TransportHandler is the handler used by internal // stack to set transport handlers. TransportHandler adapter.TransportHandler // MulticastGroups is used by internal stack to add // nic to given groups. MulticastGroups []net.IP // Options are supplement options to apply settings // for the internal stack. Options []option.Option }
Config is the configuration to create *stack.Stack.
type Handler ¶
type Handler interface { N.UDPConnectionHandler E.Handler }
func CreateProxyHandler ¶
type UDPBackWriter ¶
type UDPBackWriter struct {
// contains filtered or unexported fields
}
func (*UDPBackWriter) WritePacket ¶
type UDPForwarder ¶
type UDPForwarder struct {
// contains filtered or unexported fields
}
func NewUDPForwarder ¶
func (*UDPForwarder) HandlePacket ¶
func (f *UDPForwarder) HandlePacket(id stack.TransportEndpointID, pkt *stack.PacketBuffer) bool
Click to show internal directories.
Click to hide internal directories.