Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PseudoHeaderSum ¶
func PseudoHeaderSum(ip IP, ipRaw []byte, protocol tcpip.TransportProtocolNumber) uint32
PseudoHeaderChecksum calculates the pseudo-header checksum for the given destination protocol and network address. Pseudo-headers are needed by transport layers when calculating their own checksum.
func StartGvisor ¶
Types ¶
type Conn ¶
func (*Conn) RemoteAddr ¶
type TransportProtocol ¶
type TransportProtocol interface {
SetChecksum(v uint16)
}
Click to show internal directories.
Click to hide internal directories.