Documentation
¶
Overview ¶
Copyright 2021 Thorben Krüger (thorben.krueger@ovgu.de)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 Thorben Krüger (thorben.krueger@ovgu.de)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 Thorben Krüger (thorben.krueger@ovgu.de)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 Thorben Krüger (thorben.krueger@ovgu.de)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func Listen(listen *net.UDPAddr) (*snet.Conn, error)
- func ListenPort(port uint16) (*snet.Conn, error)
- func NewNetwork(ia addr.IA, dispatcher reliable.Dispatcher, revHandler snet.RevocationHandler) *snet.SCIONNetwork
- type Network
- type TimedPacketDispatcherService
- type TimedSCIONPacketConn
- func (c *TimedSCIONPacketConn) Close() error
- func (c *TimedSCIONPacketConn) ReadFrom(pkt *snet.Packet, ov *net.UDPAddr) error
- func (c *TimedSCIONPacketConn) SetDeadline(d time.Time) error
- func (c *TimedSCIONPacketConn) SetReadDeadline(d time.Time) error
- func (c *TimedSCIONPacketConn) SetWriteDeadline(d time.Time) error
- func (c *TimedSCIONPacketConn) WriteTo(pkt *snet.Packet, ov *net.UDPAddr) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNetwork ¶
func NewNetwork(ia addr.IA, dispatcher reliable.Dispatcher, revHandler snet.RevocationHandler) *snet.SCIONNetwork
Types ¶
type Network ¶
type Network struct {
snet.Network
IA addr.IA
PathQuerier snet.PathQuerier
// contains filtered or unexported fields
}
func DefNetwork ¶
func DefNetwork() *Network
type TimedPacketDispatcherService ¶
type TimedPacketDispatcherService struct {
Dispatcher reliable.Dispatcher
SCMPHandler snet.SCMPHandler
}
type TimedSCIONPacketConn ¶
type TimedSCIONPacketConn struct {
// contains filtered or unexported fields
}
func (*TimedSCIONPacketConn) Close ¶
func (c *TimedSCIONPacketConn) Close() error
func (*TimedSCIONPacketConn) SetDeadline ¶
func (c *TimedSCIONPacketConn) SetDeadline(d time.Time) error
func (*TimedSCIONPacketConn) SetReadDeadline ¶
func (c *TimedSCIONPacketConn) SetReadDeadline(d time.Time) error
func (*TimedSCIONPacketConn) SetWriteDeadline ¶
func (c *TimedSCIONPacketConn) SetWriteDeadline(d time.Time) error