RTE_NODE_UDP4_USR_NODE_ADD(3)
πΈ rte_node_udp4_input_api.h β from the rte_node_u...input_api.h(3) manual, Library Functions Manual β¨
okay bestie, sit down, hydrate, because we're about to get into udp4 input API and it's honestly kinda iconic π
β¨ NAME β¨
rte_node_udp4_input_api.h β no cap, that's the whole name, that's the vibe π¦
π SYNOPSIS π
like, include these first or nothing works, periodt:
#include <rte_common.h>
#include <rte_compat.h>
#include 'rte_graph.h'
π Enumerations
enum rte_node_udp4_input_next { RTE_NODE_UDP4_INPUT_NEXT_PKT_DROP }
π Functions
__rte_experimental int rte_node_udp4_usr_node_add (const char *usr_node)
__rte_experimental int rte_node_udp4_dst_port_add (uint32_t dst_port,
rte_edge_t next_node)
π DETAILED DESCRIPTION π
β οΈ Warning β οΈ EXPERIMENTAL: All functions in this file may be changed or removed without prior notice.
not me telling you this API lets you control the path functions of udp4_* nodes like udp4_input π it literally does that. that's the whole serve.
Definition in file rte_node_udp4_input_api.h.
π§ ENUMERATION TYPE DOCUMENTATION π§
enum rte_node_udp4_input_next
UDP4 lookup next nodes. the "where do we go next" list, fr fr π«
Enumerator
RTE_NODE_UDP4_INPUT_NEXT_PKT_DROPβ the packet drop node ποΈ like, bye packet, we hardly knew ye π
Definition at line 30 of file rte_node_udp4_input_api.h.
π FUNCTION DOCUMENTATION π
__rte_experimental int rte_node_udp4_usr_node_add (const char * usr_node)
Add usr node to receive udp4 frames. giving "hey bestie, you're on frame duty now" energy π«Ά
Parameters
usr_nodeβ Node registered by user to receive data.
__rte_experimental int rte_node_udp4_dst_port_add (uint32_t dst_port, rte_edge_t next_node)
Add udpv4 dst_port to lookup table. very much "put this port in the group chat so we remember it" π
Parameters
dst_portβ Dst Port of packet to be added for consumption.next_nodeβ Next node packet to be added for consumption.
Returns
0 on success, negative otherwise. zero is the slay, negative is the π
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. yes bestie, a robot wrote it, and it ate π₯
okay that's the whole page!! shoutout to DPDK Version 25.11.3 for making this possible, mwah, and this little rte_node_u...input_api.h(3) manual page has been a journey πΈ signing off, go read some more manpages, i love u, bye ππβ¨
π¦ 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