DOKK / manpages / debian 13 / dpdk-doc / rte_node_udp4_dst_port_add.3.en
rte_node_udp4_input_api.h(3) Library Functions Manual rte_node_udp4_input_api.h(3)

rte_node_udp4_input_api.h

#include <rte_common.h>
#include <rte_compat.h>
#include 'rte_graph.h'


enum rte_node_udp4_input_next { RTE_NODE_UDP4_INPUT_NEXT_PKT_DROP }


__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)

Warning

EXPERIMENTAL: All functions in this file may be changed or removed without prior notice.

This API allows to control path functions of udp4_* nodes like udp4_input.

Definition in file rte_node_udp4_input_api.h.

UDP4 lookup next nodes.

Enumerator

Packet drop node.

Definition at line 30 of file rte_node_udp4_input_api.h.

Add usr node to receive udp4 frames.

Parameters

usr_node Node registered by user to receive data.

Add udpv4 dst_port to lookup table.

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.

Generated automatically by Doxygen for DPDK from the source code.

Version 24.11.3 DPDK