type ConntrackTableType …
const ConntrackTable …
const ConntrackExpectTable …
const seekCurrent …
type InetFamily …
func ConntrackTableList(table ConntrackTableType, family InetFamily) ([]*ConntrackFlow, error) { … }
func ConntrackTableFlush(table ConntrackTableType) error { … }
func ConntrackCreate(table ConntrackTableType, family InetFamily, flow *ConntrackFlow) error { … }
func ConntrackUpdate(table ConntrackTableType, family InetFamily, flow *ConntrackFlow) error { … }
func ConntrackDeleteFilter(table ConntrackTableType, family InetFamily, filter CustomConntrackFilter) (uint, error) { … }
func ConntrackDeleteFilters(table ConntrackTableType, family InetFamily, filters ...CustomConntrackFilter) (uint, error) { … }
func (h *Handle) ConntrackTableList(table ConntrackTableType, family InetFamily) ([]*ConntrackFlow, error) { … }
func (h *Handle) ConntrackTableFlush(table ConntrackTableType) error { … }
func (h *Handle) ConntrackCreate(table ConntrackTableType, family InetFamily, flow *ConntrackFlow) error { … }
func (h *Handle) ConntrackUpdate(table ConntrackTableType, family InetFamily, flow *ConntrackFlow) error { … }
func (h *Handle) ConntrackDeleteFilter(table ConntrackTableType, family InetFamily, filter CustomConntrackFilter) (uint, error) { … }
func (h *Handle) ConntrackDeleteFilters(table ConntrackTableType, family InetFamily, filters ...CustomConntrackFilter) (uint, error) { … }
func (h *Handle) newConntrackRequest(table ConntrackTableType, family InetFamily, operation, flags int) *nl.NetlinkRequest { … }
func (h *Handle) dumpConntrackTable(table ConntrackTableType, family InetFamily) ([][]byte, error) { … }
type ProtoInfo …
type ProtoInfoTCP …
func (*ProtoInfoTCP) Protocol() string { … }
func (p *ProtoInfoTCP) toNlData() ([]*nl.RtAttr, error) { … }
type ProtoInfoSCTP …
func (*ProtoInfoSCTP) Protocol() string { … }
type ProtoInfoDCCP …
func (*ProtoInfoDCCP) Protocol() string { … }
type IPTuple …
func (t *IPTuple) toNlData(family uint8) ([]*nl.RtAttr, error) { … }
type ConntrackFlow …
func (s *ConntrackFlow) String() string { … }
func (s *ConntrackFlow) toNlData() ([]*nl.RtAttr, error) { … }
func parseIpTuple(reader *bytes.Reader, tpl *IPTuple) uint8 { … }
func parseNfAttrTLV(r *bytes.Reader) (isNested bool, attrType, len uint16, value []byte) { … }
func parseNfAttrTL(r *bytes.Reader) (isNested bool, attrType, len uint16) { … }
func skipNfAttrValue(r *bytes.Reader, len uint16) uint16 { … }
func parseBERaw16(r *bytes.Reader, v *uint16) { … }
func parseBERaw32(r *bytes.Reader, v *uint32) { … }
func parseBERaw64(r *bytes.Reader, v *uint64) { … }
func parseRaw32(r *bytes.Reader, v *uint32) { … }
func parseByteAndPacketCounters(r *bytes.Reader) (bytes, packets uint64) { … }
func parseTimeStamp(r *bytes.Reader, readSize uint16) (tstart, tstop uint64) { … }
func parseProtoInfoTCPState(r *bytes.Reader) (s uint8) { … }
func parseProtoInfoTCP(r *bytes.Reader, attrLen uint16) (*ProtoInfoTCP) { … }
func parseProtoInfo(r *bytes.Reader, attrLen uint16) (p ProtoInfo) { … }
func parseTimeOut(r *bytes.Reader) (ttimeout uint32) { … }
func parseConnectionMark(r *bytes.Reader) (mark uint32) { … }
func parseConnectionLabels(r *bytes.Reader) (label []byte) { … }
func parseConnectionZone(r *bytes.Reader) (zone uint16) { … }
func parseRawData(data []byte) *ConntrackFlow { … }
type ConntrackFilterType …
const ConntrackOrigSrcIP …
const ConntrackOrigDstIP …
const ConntrackReplySrcIP …
const ConntrackReplyDstIP …
const ConntrackReplyAnyIP …
const ConntrackOrigSrcPort …
const ConntrackOrigDstPort …
const ConntrackMatchLabels …
const ConntrackUnmatchLabels …
const ConntrackNatSrcIP …
const ConntrackNatDstIP …
const ConntrackNatAnyIP …
type CustomConntrackFilter …
type ConntrackFilter …
func (f *ConntrackFilter) AddIPNet(tp ConntrackFilterType, ipNet *net.IPNet) error { … }
func (f *ConntrackFilter) AddIP(tp ConntrackFilterType, ip net.IP) error { … }
func (f *ConntrackFilter) AddPort(tp ConntrackFilterType, port uint16) error { … }
func (f *ConntrackFilter) AddProtocol(proto uint8) error { … }
func (f *ConntrackFilter) AddLabels(tp ConntrackFilterType, labels [][]byte) error { … }
func (f *ConntrackFilter) AddZone(zone uint16) error { … }
func (f *ConntrackFilter) MatchConntrackFlow(flow *ConntrackFlow) bool { … }
var _ …