package
0.0.0-20240706153506-3dafd5603fd8
Repository: https://github.com/aos/computer-networking-study.git
Documentation: pkg.go.dev

# Functions

AssembleICMP takes an ICMP type, code, identifier, sequence number and timestamp and returns an assembled byte buffer.
Checksum receives a byte slice and returns the uint16 one's complement of the one's complement of the sum of all 16-bit words.
ReadEchoReply reads the echo reply from the sent packet.