Documentation ¶
Index ¶
Constants ¶
View Source
const IP6T_SO_ORIGINAL_DST = 80
IP6T_SO_ORIGINAL_DST is the "optname" for "ipv6_getorigdst" from https://github.com/torvalds/linux/blob/8e0538d8ee061699b7c2cf0b193cc186952cbc21/net/netfilter/nf_conntrack_proto.c#L318 ref: https://github.com/torvalds/linux/blob/121d1e0941e05c64ee4223064dd83eb24e871739/include/uapi/linux/netfilter_ipv6/ip6_tables.h#L182
View Source
const SO_ORIGINAL_DST = 80
SO_ORIGINAL_DST is the "optname" for "getsockopt" syscall ref: https://man7.org/linux/man-pages/man2/getsockopt.2.html ref: https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/include/uapi/linux/netfilter_ipv4.h#L52
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OriginalDst ¶
func ExtractOriginalDst ¶
func ExtractOriginalDst(conn *net.TCPConn, ipv6 bool) (*OriginalDst, error)
func (*OriginalDst) Bytes ¶
func (o *OriginalDst) Bytes() []byte
Click to show internal directories.
Click to hide internal directories.