Network.Sim
Network.Sim
Network.Sim.Network.Ip
Ipv4 Class
Ipv4 Methods
ArpTableOf Method
FragmentPacket Method
OnAvailableToSent Method
OnInput Method
Output Method
OutputQueueOf Method
ReassemblePacket Method
Ipv4
OnInput Method
Interrupt method invoked on behalf of the link-layer of the specified interface whenever frame payload data can be delivered to the network layer.
Namespace:
Network.Sim.Network.Ip
Assembly:
Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
OnInput
(
Interface
ifc
,
byte
[]
data
,
EtherType
type
)
Parameters
ifc
Type:
Network.Sim.Core
Interface
The interface through which the data was received.
data
Type:
System
Byte
A sequence of bytes received.
type
Type:
Network.Sim.Link
EtherType
The type of the received data.
Exceptions
Exception
Condition
ArgumentNullException
Thrown if the ifc or the data argument is null.
Remarks
This API is exposed to the data-link layer.
See Also
Reference
Ipv4 Class
Network.Sim.Network.Ip Namespace
Network.Sim - A Software simulating an IEEE 802.3-based (Ethernet) Network Stack
Copyright © Torben Könke 2013