Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConnHandler ¶
type AppConnHandler struct { // Conn is the local socket to which the application is connected. Conn net.PacketConn DispConn *dispatcher.Conn Logger log.Logger }
AppConnHandler handles a single SCION application connection.
func (*AppConnHandler) Handle ¶
func (h *AppConnHandler) Handle(appServer *dispatcher.Server)
func (*AppConnHandler) RunAppToNetDataplane ¶
func (h *AppConnHandler) RunAppToNetDataplane()
RunAppToNetDataplane moves packets from the application's socket to the overlay socket.
func (*AppConnHandler) RunRingToAppDataplane ¶
func (h *AppConnHandler) RunRingToAppDataplane()
RunRingToAppDataplane moves packets from the application's ingress ring to the application's socket.
type AppSocketServer ¶
type AppSocketServer struct { Listener *reliable.Listener DispServer *dispatcher.Server }
AppSocketServer accepts new connections coming from SCION apps, and hands them off to the registration + dataplane handler.
func (*AppSocketServer) Handle ¶ added in v0.5.0
func (h *AppSocketServer) Handle(conn net.PacketConn)
Handle passes conn off to a per-connection state handler.
func (*AppSocketServer) Serve ¶
func (s *AppSocketServer) Serve() error
type Dispatcher ¶
func (*Dispatcher) ListenAndServe ¶
func (d *Dispatcher) ListenAndServe() error
Click to show internal directories.
Click to hide internal directories.