Documentation
¶
Index ¶
- func CreateICMPv4Unreachable(ipv4Hdr header.IPv4) *buf.Buffer
- func CreateICMPv6Unreachable(ipv6Hdr header.IPv6) *buf.Buffer
- func GenerateRstForTcpSynIPv6(ipv6Header header.IPv6, tcpHeader header.TCP) *buf.Buffer
- func GenerateRstForTcpSynIPv60(ipv6Header header.IPv6, tcpHeader header.TCP) *buf.Buffer
- type Rejector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateICMPv4Unreachable ¶ added in v1.1.0
CreateICMPv4Unreachable takes an IPv4 packet with a UDP payload and returns an IPv4 packet with an ICMP Destination Unreachable (Type 1, Code 4) message. ipv4Hdr contains entire ipv4 packet
func CreateICMPv6Unreachable ¶
CreateICMPv6Unreachable takes an IPv6 packet with a UDP payload and returns an IPv6 packet with an ICMPv6 Destination Unreachable (Type 1, Code 4) message. ipv6Hdr contains entire ipv6 packet
Types ¶
Click to show internal directories.
Click to hide internal directories.