Click or drag to resize
Ipv4FragmentPacket Method
Fragments the specified packet into multiple packets taking into account the specified maximum transmission unit.

Namespace: Network.Sim.Network.Ip
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IEnumerable<IpPacket> FragmentPacket(
	IpPacket packet,
	int Mtu
)

Parameters

packet
Type: Network.Sim.Network.IpIpPacket
The packet to fragment.
Mtu
Type: SystemInt32
The maximum transmission unit; The maximum size, in bytes, each of the fragmented packets may have.

Return Value

Type: IEnumerableIpPacket
An enumerable collection of packet fragments.
See Also