[−][src]Crate packet_crafter
Modules
ethertype_numbers | |
headers | |
protocol_numbers |
Structs
Packet |
Enums
ParseError | |
Protocol |
Traits
AsBeBytes | Converts a number to an array of its byte representation |
Functions
checksum | Calculates a checksum. Used by ipv4 and icmp. The two bytes starting at |
sum_be_words | Return the sum of the data as 16-bit words (assumes big endian) |