rte_flow_i...p_eth_ipv4(3)
π NAME π
rte_flow_item_arp_eth_ipv4 β bestie, this is the ARP-matching struct from DPDK's flow API, and yes it's as iconic as it sounds π
β¨ SYNOPSIS β¨
#include <rte_flow.h>
That's literally it. Include the header and you're in π
π Detailed Description π
Okay so: RTE_FLOW_ITEM_TYPE_ARP_ETH_IPV4.
This item type matches an ARP header for Ethernet/IPv4. That's the whole vibe. ARP said "who has this IP," Ethernet said "me," and this struct is the receipts π§
Definition at line 1394 of file rte_flow.h.
π§ Field Documentation π§
not me about to walk you through every single field, no skips, no skimming, we do this properly π
rte_be16_t hrd
Hardware type, normally 1. (Ethernet energy, always.)
Definition at line 1401 of file rte_flow.h.
rte_be16_t pro
Protocol type, normally 0x0800. That's IPv4 in hex, iykyk β¨
Definition at line 1402 of file rte_flow.h.
uint8_t hln
Hardware address length, normally 6. Six bytes of MAC address, as the ancestors intended π
Definition at line 1403 of file rte_flow.h.
uint8_t pln
Protocol address length, normally 4. Four bytes, one IPv4 address, periodt πΈ
Definition at line 1404 of file rte_flow.h.
rte_be16_t op
Opcode β 1 for request, 2 for reply. So she's either asking or answering, no in-between π
Definition at line 1405 of file rte_flow.h.
struct rte_ether_addr sha
Sender hardware address. That's the MAC of whoever sent this thing π¦
Definition at line 1406 of file rte_flow.h.
rte_be32_t spa
Sender IPv4 address. The "who dis" IP, adorable π
Definition at line 1407 of file rte_flow.h.
struct rte_ether_addr tha
Target hardware address. The MAC she's looking for π
Definition at line 1408 of file rte_flow.h.
rte_be32_t tpa
Target IPv4 address. The IP she's out here hunting for, main character behaviour fr fr π₯
Definition at line 1409 of file rte_flow.h.
struct rte_arp_hdr hdr
ARP header definition. The whole header, wrapped up cute π
Definition at line 1411 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (Not a human, just a little robot doing her best π«Ά)
And that's the whole page, bestie β this one came from DPDK, Version 25.11.3, and the manpage answers to rte_flow_i...p_eth_ipv4(3). Slay, stay matched, and go read your flow rules π
π¦ 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