---
name: "rte_node_udp4_input_api.h"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_node_udp4_input_api.h"
---

# rte\_node\_udp4\_input\_api.h(3)

## NAME

rte\_node\_udp4\_input\_api.h

## SYNOPSIS

`#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.

This API allows to control path functions of udp4\_\* nodes like udp4\_input.

Definition in file **rte\_node\_udp4\_input\_api.h**.

## Enumeration Type Documentation

### enum rte\_node\_udp4\_input\_next

UDP4 lookup next nodes.

**Enumerator**

- *RTE\_NODE\_UDP4\_INPUT\_NEXT\_PKT\_DROP*

  *Packet drop node.*

*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.*

**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.*

**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.*

## Author

*Generated automatically by Doxygen for DPDK from the source code.*
