rte_port_source_sink.h(3)
π rte_port_source_sink.h π
okay so bestie, this is a page from the Library Functions Manual β it's the rte_port_source_sink.h header, and it's genuinely one of the cutest little corners of DPDK. no cap.
β¨ NAME β¨
rte_port_source_sink.h β that's it, that's the whole name. iconic behavior honestly.
πΈ SYNOPSIS πΈ
#include 'rte_port.h'
π Data Structures π
struct rte_port_source_paramsstruct rte_port_sink_params
π¦ Variables π¦
struct rte_port_in_ops rte_port_source_opsstruct rte_port_out_ops rte_port_sink_ops
π Detailed Description π
RTE Port Source/Sink β literally the two most unbothered ports in the whole library, and I'm obsessed with them.
- source: an input port that can be used to generate packets. it just shows up and starts making packets out of thin air. main character energy fr fr.
- sink: an output port that drops all packets written to it. she takes everything you give her and lets it go. no notes. π
Definition in file rte_port_source_sink.h.
β Variable Documentation β
struct rte_port_in_ops rte_port_source_ops[extern]β source port operations. the source's whole bag of tricks, right here. π«Άstruct rte_port_out_ops rte_port_sink_ops[extern]β sink port operations. everything the sink can do, which is mostly receive and release. π
π Author π
Generated automatically by Doxygen for DPDK from the source code. not me getting emotional over an auto-generated author line π
okay that's the whole page, you ate that. this little beauty comes to you from DPDK, Version 25.11.3 β go forth and slay your packet pipelines bestie πβ¨πΈπ¦π
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms