Ipv4FragmentPacket Method |
Fragments the specified packet into multiple packets taking into
account the specified maximum transmission unit.
Namespace: Network.Sim.Network.IpAssembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic 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:
IEnumerableIpPacketAn enumerable collection of packet fragments.
See Also