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_params
  • struct rte_port_sink_params

πŸ¦‹ Variables πŸ¦‹

  • struct rte_port_in_ops rte_port_source_ops
  • struct 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