Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Need 96 bytes for the largest reject packet: // - 20 byte ipv4 header // - 8 byte icmpv4 header // - 68 byte body (60 byte max orig ipv4 header + 8 byte orig icmpv4 header) MaxRejectPacketSize = ipv4.HeaderLen + 8 + 60 + 8 )
Variables ¶
This section is empty.
Functions ¶
func CreateICMPEchoResponse ¶ added in v1.7.0
func CreateRejectPacket ¶ added in v1.7.0
Types ¶
type VpnIp ¶
type VpnIp uint32
func (VpnIp) MarshalJSON ¶
func (VpnIp) ToNetIpAddr ¶ added in v1.6.0
Click to show internal directories.
Click to hide internal directories.