Versions in this module Expand all Collapse all v1 v1.0.1 Feb 12, 2022 Changes in this version + const AF_INET + const AF_INET6 + const NF_ACCEPT + const NF_DEFAULT_PACKET_SIZE + const NF_DROP + const NF_MARK_ACCEPT + const NF_MARK_ACCEPT_LOG + const NF_MARK_DROP + const NF_MARK_DROP_LOG + const NF_MARK_REPEAT + const NF_MARK_RETURN + const NF_MARK_RETURN_LOG + const NF_QUEUE + const NF_REPEAT + const NF_STOLEN + const NF_STOP + var FailureVerdict = NF_DROP + type Mark C.uint + func (i Mark) String() string + type NFPacket struct + Packet []byte + func (p *NFPacket) SetRequeueVerdict(newQueueId uint16) + func (p *NFPacket) SetRequeueVerdictMark(newQueueId uint16, mark uint) + func (p *NFPacket) SetVerdict(v Verdict) + func (p *NFPacket) SetVerdictMark(m Mark) + func (p *NFPacket) SetVerdictWithPacket(v Verdict, packet []byte) + type NFQueue struct + func NewNFQueue(queueId uint16, maxPacketsInQueue uint32, packetSize uint32) (*NFQueue, error) + func (nfq *NFQueue) Close() + func (nfq *NFQueue) GetPackets() <-chan NFPacket + func (nfq *NFQueue) SetFailOpen() error + type Verdict C.uint + func (i Verdict) String() string