pktap

command
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: BSD-3-Clause Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

pktapdemo is a pure Go implementation of pktap metadata extraction, equivalent to the C demo pktap_meta_demo.c. It demonstrates parsing pktap v1 and v2 headers from DLT_PKTAP captures.

Usage:

pktapdemo -i <interface>   live capture (macOS: uses pktap mode automatically)
pktapdemo -c <count>       max packet count (default 5)

Jump to

Keyboard shortcuts

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