rte_flow_item_ipv6(3)

πŸ’– rte_flow_item_ipv6 β€” the bestie guide πŸ’–

okay so real talk, this page lives in the Library Functions Manual and its whole name is rte_flow_item_ipv6(3). It's about one struct, and she's a baddie. Let's get into it ✨


🌸 NAME 🌸

rte_flow_item_ipv6


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rte_flow.h>

✨ Data Fields ✨

Here's the whole glow-up, every single member, no skips:

struct rte_ipv6_hdr hdr
uint32_t has_hop_ext:1
uint32_t has_route_ext:1
uint32_t has_frag_ext:1
uint32_t has_auth_ext:1
uint32_t has_esp_ext:1
uint32_t has_dest_ext:1
uint32_t has_mobil_ext:1
uint32_t has_hip_ext:1
uint32_t has_shim6_ext:1
uint32_t reserved:23

πŸ‘‘ Detailed Description πŸ‘‘

This is for RTE_FLOW_ITEM_TYPE_IPV6.

It matches an IPv6 header. That's the vibe. 🫢

And then β€” the iconique part β€” there are dedicated flags that tell you whether the header contains specific extension headers. Not guessing, not vibes-checking the packet, just flags. slay.

Bestie note: this struct is defined at line 980 of the file rte_flow.h. Remember that, it comes back a lot πŸ’…

πŸŽ€ Field Documentation πŸŽ€

🌈 struct rte_ipv6_hdr hdr

The IPv6 header definition itself. The main character of the struct fr fr.

Defined at line 981 of file rte_flow.h.

🌸 uint32_t has_hop_ext

Header contains a Hop-by-Hop Options extension header. πŸ‡

Defined at line 983 of file rte_flow.h.

🌸 uint32_t has_route_ext

Header contains a Routing extension header. πŸ—ΊοΈ

Defined at line 985 of file rte_flow.h.

🌸 uint32_t has_frag_ext

Header contains a Fragment extension header. πŸ’” (she's broke, literally)

Defined at line 987 of file rte_flow.h.

🌸 uint32_t has_auth_ext

Header contains an Authentication extension header. πŸ”

Defined at line 989 of file rte_flow.h.

🌸 uint32_t has_esp_ext

Header contains an Encapsulation Security Payload extension header. πŸ•΅οΈβ™€οΈ

Defined at line 991 of file rte_flow.h.

🌸 uint32_t has_dest_ext

Header contains a Destination Options extension header. πŸ“

Defined at line 993 of file rte_flow.h.

🌸 uint32_t has_mobil_ext

Header contains a Mobility extension header. πŸš— on the move, periodt

Defined at line 995 of file rte_flow.h.

🌸 uint32_t has_hip_ext

Header contains a Host Identity Protocol extension header. πŸ¦› (yes that's a hippo, no I will not be explaining)

Defined at line 997 of file rte_flow.h.

🌸 uint32_t has_shim6_ext

Header contains a Shim6 Protocol extension header. 🧩

Defined at line 999 of file rte_flow.h.

⚠️ uint32_t reserved

Reserved for future extension headers, and it must be zero. Not "should", not "kinda", must. Put anything else in there and you're on your own, bestie 😭

Defined at line 1001 of file rte_flow.h.

πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for DPDK from the source code. Not a human, not a group chat, just Doxygen doing the most πŸ€–


and that's the whole page!! tysm for reading, you ate that πŸ’…βœ¨

kisses, this was DPDK Version 25.11.3, documented in rte_flow_item_ipv6(3) β€” mwah πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from