[netdump] Netdump filter integration

This CL is part of a series that adds packet filtering capability
to netdump using a filter language with similar syntax to the Berkeley
Packet Filter (BPF).

The completed filter components are integrated into the main netdump
program. In addition, a capture timeout feature is added, and packet
length checks are changed to rely upon those implemented in
fxr/299857. For packets that have missing, incomplete or unrecognized
headers in various layers, as much information about the packet
as possible is displayed.

Bug: 4864, 4894, 4906
Test:
 - Adds integration tests with netemul
   fx run-test netdump_integration_tests
   Build --with //src/connectivity:tests
 - fx run-test netdump_unit_tests
   Build --with //src/connectivity/network/netdump:netdump_unit_tests
 - Manual inspection with various filter strings

MULTIPLY: `[
  {
    "target": "//src/connectivity/network/netdump/integration:filter_integration_test",
    "total_runs": 200
  }
]`

Change-Id: If84ed1a2b4074f8a1985852a1ae9f802c3857255
7 files changed
tree: 8f3dd29f99e334409e7f300ee95fca42a96ebc47
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. garnet/
  7. peridot/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .dir-locals.el
  18. .gitattributes
  19. .gitignore
  20. .gn
  21. .style.yapf
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. README.md
  30. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.