Documentation ¶
Overview ¶
Package common provides common functions for Geneva.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateIPv4Checksum ¶
CalculateIPv4Checksum calculates the IPv4 checksum for the given bytes. copied from gopacket/layers/ip4.go because they didn't export one. for whatever some reason..
func UpdateIPv4Checksum ¶
UpdateIPv4Checksum updates the IPv4 checksum field and the raw bytes for a gopacket IPv4 layer.
func UpdateTCPChecksum ¶
UpdateTCPChecksum updates the TCP checksum field and the raw bytes for a gopacket TCP layer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.