Module netsim_embed::util [−][src]
Utilities for working with packets, eg. checksumming.
Traits
| Octets | Convert a value to a byte array. |
Functions
| checksum | Calculates a checksum. Used by ipv4 and icmp. The two bytes starting at |
| ipv4_checksum | Calculate the checksum for a packet built on IPv4. Used by UDP and TCP. |
| ipv6_checksum | Calculate the checksum for a packet built on IPv6. |