[roll] Roll fuchsia [netstack3] Add chunked ring buffer impl for pcaps

Add a ring buffer implementation for supporting storing packet
capture data. The ring buffer has a defined block size, and
stores "boundary indices" whenever a write results in the tail pointer
exceeding the block size. This is so that when bytes need to be dropped
from the ring buffer, bytes up to the next boundary is dropped. This
ensures that when the pcapng Enhanced Packet Blocks are written to the
ring buffer, reclaiming space from the buffer only drops full
packet blocks at a time.

Original-Bug: 485274945
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1562199
Original-Revision: ecdca9cbb5b0ee61ec04745ce3511c2082897dcf
GitOrigin-RevId: 344e77b4df68451532bc3352a9eee41011f7ae2a
Change-Id: Ie59f987e0034d7d6e8769b9956198cf282880a01
1 file changed
tree: bb5952d3d87f1e57b1f48f3ba119eb4428d3fe5b
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.