Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + type MockConn struct + func NewMockConn(ctrl *gomock.Controller) *MockConn + func (m *MockConn) BindAddr() net.Addr + func (m *MockConn) Close() error + func (m *MockConn) EXPECT() *MockConnMockRecorder + func (m *MockConn) LocalAddr() net.Addr + func (m *MockConn) Read(arg0 []byte) (int, error) + func (m *MockConn) ReadFrom(arg0 []byte) (int, net.Addr, error) + func (m *MockConn) ReadFromSCION(arg0 []byte) (int, *snet.Addr, error) + func (m *MockConn) RemoteAddr() net.Addr + func (m *MockConn) SVC() addr.HostSVC + func (m *MockConn) SetDeadline(arg0 time.Time) error + func (m *MockConn) SetReadDeadline(arg0 time.Time) error + func (m *MockConn) SetWriteDeadline(arg0 time.Time) error + func (m *MockConn) Write(arg0 []byte) (int, error) + func (m *MockConn) WriteTo(arg0 []byte, arg1 net.Addr) (int, error) + func (m *MockConn) WriteToSCION(arg0 []byte, arg1 *snet.Addr) (int, error) + type MockConnMockRecorder struct + func (mr *MockConnMockRecorder) BindAddr() *gomock.Call + func (mr *MockConnMockRecorder) Close() *gomock.Call + func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call + func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) ReadFrom(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) ReadFromSCION(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call + func (mr *MockConnMockRecorder) SVC() *gomock.Call + func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) WriteToSCION(arg0, arg1 interface{}) *gomock.Call + type MockNetwork struct + func NewMockNetwork(ctrl *gomock.Controller) *MockNetwork + func (m *MockNetwork) DialSCIONWithBindSVC(arg0 string, arg1, arg2, arg3 *snet.Addr, arg4 addr.HostSVC, ...) (snet.Conn, error) + func (m *MockNetwork) EXPECT() *MockNetworkMockRecorder + func (m *MockNetwork) ListenSCIONWithBindSVC(arg0 string, arg1, arg2 *snet.Addr, arg3 addr.HostSVC, arg4 time.Duration) (snet.Conn, error) + type MockNetworkMockRecorder struct + func (mr *MockNetworkMockRecorder) DialSCIONWithBindSVC(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call + func (mr *MockNetworkMockRecorder) ListenSCIONWithBindSVC(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + type MockPacketConn struct + func NewMockPacketConn(ctrl *gomock.Controller) *MockPacketConn + func (m *MockPacketConn) Close() error + func (m *MockPacketConn) EXPECT() *MockPacketConnMockRecorder + func (m *MockPacketConn) ReadFrom(arg0 *snet.SCIONPacket, arg1 *overlay.OverlayAddr) error + func (m *MockPacketConn) SetDeadline(arg0 time.Time) error + func (m *MockPacketConn) SetReadDeadline(arg0 time.Time) error + func (m *MockPacketConn) SetWriteDeadline(arg0 time.Time) error + func (m *MockPacketConn) WriteTo(arg0 *snet.SCIONPacket, arg1 *overlay.OverlayAddr) error + type MockPacketConnMockRecorder struct + func (mr *MockPacketConnMockRecorder) Close() *gomock.Call + func (mr *MockPacketConnMockRecorder) ReadFrom(arg0, arg1 interface{}) *gomock.Call + func (mr *MockPacketConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call + func (mr *MockPacketConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call + func (mr *MockPacketConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call + func (mr *MockPacketConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call + type MockPacketDispatcherService struct + func NewMockPacketDispatcherService(ctrl *gomock.Controller) *MockPacketDispatcherService + func (m *MockPacketDispatcherService) EXPECT() *MockPacketDispatcherServiceMockRecorder + func (m *MockPacketDispatcherService) RegisterTimeout(arg0 addr.IA, arg1 *addr.AppAddr, arg2 *overlay.OverlayAddr, arg3 addr.HostSVC, ...) (snet.PacketConn, uint16, error) + type MockPacketDispatcherServiceMockRecorder struct + func (mr *MockPacketDispatcherServiceMockRecorder) RegisterTimeout(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + type MockPath struct + func NewMockPath(ctrl *gomock.Controller) *MockPath + func (m *MockPath) Copy() snet.Path + func (m *MockPath) Destination() addr.IA + func (m *MockPath) EXPECT() *MockPathMockRecorder + func (m *MockPath) Expiry() time.Time + func (m *MockPath) Fingerprint() string + func (m *MockPath) Interfaces() []sciond.PathInterface + func (m *MockPath) MTU() uint16 + func (m *MockPath) OverlayNextHop() *overlay.OverlayAddr + func (m *MockPath) Path() *spath.Path + type MockPathMockRecorder struct + func (mr *MockPathMockRecorder) Copy() *gomock.Call + func (mr *MockPathMockRecorder) Destination() *gomock.Call + func (mr *MockPathMockRecorder) Expiry() *gomock.Call + func (mr *MockPathMockRecorder) Fingerprint() *gomock.Call + func (mr *MockPathMockRecorder) Interfaces() *gomock.Call + func (mr *MockPathMockRecorder) MTU() *gomock.Call + func (mr *MockPathMockRecorder) OverlayNextHop() *gomock.Call + func (mr *MockPathMockRecorder) Path() *gomock.Call + type MockRouter struct + func NewMockRouter(ctrl *gomock.Controller) *MockRouter + func (m *MockRouter) AllRoutes(arg0 context.Context, arg1 addr.IA) ([]snet.Path, error) + func (m *MockRouter) EXPECT() *MockRouterMockRecorder + func (m *MockRouter) LocalIA() addr.IA + func (m *MockRouter) Route(arg0 context.Context, arg1 addr.IA) (snet.Path, error) + type MockRouterMockRecorder struct + func (mr *MockRouterMockRecorder) AllRoutes(arg0, arg1 interface{}) *gomock.Call + func (mr *MockRouterMockRecorder) LocalIA() *gomock.Call + func (mr *MockRouterMockRecorder) Route(arg0, arg1 interface{}) *gomock.Call