Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 2.29 KB

skbtrace_timeit_forward.md

File metadata and controls

47 lines (36 loc) · 2.29 KB

skbtrace timeit forward

Measures time spent forwarding a packet from ingress interface to egress interface

skbtrace timeit forward {{--ingress|--egress} -i ITF|-i INITF -i OUTITF} [OPTIONS] [flags]

Examples

forward --ingress -i tapxx-0 -6

Options

  -F, --filter RawFilters       Filters. Use 'fields' subcommand to list available fields.
  -h, --help                    help for forward
  -i, --iface strings           Interface device name. Can be specified twice with second being egress interface in local forwarding.
      --inbound                 Direction is inbound (towards specified interface)
      --nat                     Assume that NAT translation is applied, ignore src and/or dst.
      --outbound                Direction is outbound (from specified interface)
  -u, --underlay-iface string   Default underlay device used if it cannot be guessed (default "eth1")

Options inherited from parent commands

      --bpftrace string         Path to bpftrace binary (default "bpftrace")
  -D, --dump                    Dump bpftrace command instead of running it
  -e, --encap string            Type of encapsulation: 'gre' or 'udp' (default "gre")
  -p, --hint strings            Protocol hints for weak field aliases such as 'tcp' for 'sport'.
  -6, --inet6                   If specified, skbtrace assumes that inner header is IPv6.
      --struct-keyword string   Use struct keyword in casts: "" - do not use, "struct" - use, "auto" - deduce based on bpftrace version. (default "auto")
  -T, --timeout duration        Execution timeout for resulting bpftrace script (default 1m0s)
      --unit string             Time unit using for measurements: 'sec', 'ms', 'us' - default or 'ns' (default "us")

SEE ALSO

Auto generated by spf13/cobra on 21-Aug-2022