MCPcopy Index your code
hub / github.com/NetSys/NetBricks / BatchIterator

Interface BatchIterator

framework/src/operators/iterator.rs:20–29  ·  view source on GitHub ↗

An interface implemented by all batches for iterating through the set of packets in a batch. This is private to the framework and not exposed. # Safety These methods are marked unsafe since they return pointers to packet mbufs. As long as packet mbufs are treated correctly (i.e., assumed freed after send, freed correctly, allocated correctly, etc.) this should be safe. Furthermore, dropping a pac

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 14

transform_batch.rsframework/src/operators/transform_batc
restore_header.rsframework/src/operators/restore_header
merge_batch.rsframework/src/operators/merge_batch.rs
map_batch.rsframework/src/operators/map_batch.rs
parsed_batch.rsframework/src/operators/parsed_batch.r
filter_batch.rsframework/src/operators/filter_batch.r
send_batch.rsframework/src/operators/send_batch.rs
deparsed_batch.rsframework/src/operators/deparsed_batch
packet_batch.rsframework/src/operators/packet_batch.r
add_metadata_mut.rsframework/src/operators/add_metadata_m
receive_batch.rsframework/src/operators/receive_batch.
composition_batch.rsframework/src/operators/composition_ba

Calls

no outgoing calls

Tested by

no test coverage detected