package
0.0.0-20250211134845-efa60a6b395e
Repository: https://github.com/xenoncommunity/swiftunnel.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
IPv4Destination extracts the destination IPv4 address from the packet.
IPv4HeaderLength returns the length of the IPv4 header, including options.
IPv4Protocol extracts the protocol field from the IPv4 packet.
IPv4Source extracts the source IPv4 address from the packet.
IPv6Destination extracts the destination IPv6 address from the packet.
IPv6NextHeader extracts the next header field from the IPv6 packet.
IPv6Source extracts the source IPv6 address from the packet.
IsIPv4 checks if the packet is IPv4 based on the first byte.
IsIPv6 checks if the packet is IPv6 based on the first byte.