tcpdump

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tcpdump

func Tcpdump(ctx context.Context, w io.Writer, label, ifname string) error

Tcpdump runs tcpdump asynchronously in the current network namespace.

Useful debugging tool. Example usage:

err = originalNs.Do(func(ns.NetNS) error {
    return Tcpdump(ctx, GinkgoWriter, "original", "any")
})
Expect(err).NotTo(HaveOccurred())

Types

This section is empty.

Jump to

Keyboard shortcuts

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