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