ctprint

package
v0.0.0-...-b0b76a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Package ctprint provides functions to print NFLOG conntrack entries

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(ctbytes []byte) (string, error)

Format parses the conntrack info from NFLOG and returns a textual representation of the contained conntrack attributes

func GetCtMark

func GetCtMark(data []byte) uint32

GetCtMark parses the conntrack info from NFLOG and extracts the connmark

func InfoString

func InfoString(ctinfo uint32) string

InfoString takes the conntrack info value and returns a short textual representation

func Print

func Print(ctbytes []byte)

Print parses the conntrack info from NFLOG and prints a textual representation of the contained conntrack attributes

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL