Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + const ErrMalformedL4Quote + const ErrUnsupportedDestination + const ErrUnsupportedL4 + const ErrUnsupportedQuotedL4Type + const ErrUnsupportedSCMPDestination + const OverflowLoggingInterval + const ReceiveBufferSize + type AppConnHandler struct + Conn net.PacketConn + IPv4OverlayConn net.PacketConn + IPv6OverlayConn net.PacketConn + Logger log.Logger + RoutingTable *IATable + func (h *AppConnHandler) Handle() + func (h *AppConnHandler) RunAppToNetDataplane(ref registration.RegReference, ovConn net.PacketConn) + func (h *AppConnHandler) RunRingToAppDataplane(r *ringbuf.Ring) + type AppConnManager struct + IPv4OverlayConn net.PacketConn + IPv6OverlayConn net.PacketConn + RoutingTable *IATable + func (h *AppConnManager) Handle(conn net.PacketConn) + type AppSocketServer struct + ConnManager *AppConnManager + Listener *reliable.Listener + func (s *AppSocketServer) Serve() error + type Destination interface + Send func(dp *NetToRingDataplane, pkt *respool.Packet) + func ComputeDestination(packet *spkt.ScnPkt) (Destination, error) + func ComputeSCMPDestination(packet *spkt.ScnPkt, header *scmp.Hdr) (Destination, error) + func ComputeSCMPErrorDestination(packet *spkt.ScnPkt, header *scmp.Hdr) (Destination, error) + func ComputeSCMPGeneralDestination(s *spkt.ScnPkt, header *scmp.Hdr) (Destination, error) + func ComputeUDPDestination(packet *spkt.ScnPkt, header *l4.UDP) (Destination, error) + type Dispatcher struct + ApplicationSocket string + OverlaySocket string + RoutingTable *IATable + SocketFileMode os.FileMode + func (d *Dispatcher) ListenAndServe() error + type IATable struct + func NewIATable(minPort, maxPort int) *IATable + func (t *IATable) LookupID(ia addr.IA, id uint64) (*TableEntry, bool) + func (t *IATable) LookupPublic(ia addr.IA, public *net.UDPAddr) (*TableEntry, bool) + func (t *IATable) LookupService(ia addr.IA, svc addr.HostSVC, bind net.IP) []*TableEntry + type NetToRingDataplane struct + OverlayConn net.PacketConn + RoutingTable *IATable + func (dp *NetToRingDataplane) Run() error + type SCMPAppDestination struct + ID uint64 + func (d *SCMPAppDestination) Send(dp *NetToRingDataplane, pkt *respool.Packet) + type SCMPHandlerDestination struct + func (h SCMPHandlerDestination) Send(dp *NetToRingDataplane, pkt *respool.Packet) + type SVCDestination addr.HostSVC + func (d SVCDestination) Send(dp *NetToRingDataplane, pkt *respool.Packet) + type SocketMetaHandler interface + Handle func(*conn.ReadMeta) + type TableEntry struct + type UDPDestination net.UDPAddr + func (d *UDPDestination) Send(dp *NetToRingDataplane, pkt *respool.Packet)