RTE_FLOW_ACTION_SET_IPV6(3)

πŸ’– rte_flow_action_set_ipv6 πŸ’–

okay bestie, gather round, because we're talking about rte_flow_action_set_ipv6 β€” yes that's the whole name, that's the manual page, we're doing this. it lives in the DPDK library functions section and it's genuinely so useful, i promise.


✨ SYNOPSIS ✨

#include <rte_flow.h>

that's it. that's the include. one line, iconic behaviour, no notes. πŸ’…


🌸 DETAILED DESCRIPTION 🌸

⚠️ Warning: EXPERIMENTAL β€” this structure may change without prior notice. like, fr fr, it's experimental, so don't get too attached to the exact shape of it, okay? it could shift under you. you've been warned and i love you.

so here's the deal. this thing works with two action types:

  • RTE_FLOW_ACTION_TYPE_SET_IPV6_SRC
  • RTE_FLOW_ACTION_TYPE_SET_IPV6_DST

and what do they do?? they let you modify the IPv6 source address (RTE_FLOW_ACTION_TYPE_SET_IPV6_SRC) and the IPv6 destination address (RTE_FLOW_ACTION_TYPE_SET_IPV6_DST) β€” and the key detail here, the part you cannot miss, is that this happens in the specified outermost IPv6 header. not some inner one. not a nested tunnel one hiding three layers down. the outermost one. the vibe check happens at the outermost header, periodt. πŸ‘‘

so if you ever wanted to rewrite where a packet says it's coming from or where it says it's going, at the IPv6 layer, on the outer header β€” this is your girl. main character energy in a struct.

Definition at line 3812 of file rte_flow.h. yes, line three-eight-one-two. go look, she's right there. πŸ¦‹


πŸŽ€ AUTHOR πŸŽ€

Generated automatically by Doxygen for DPDK from the source code. so like, not a human author, just doxygen doing its little automated thing and honestly? slay, it ate. πŸ€–βœ¨


and that's the page!! πŸ’œ DPDK, Version 25.11.3, rte_flow_action_set_ipv6(3) β€” mwah, sending you off with all the IPv6 rewriting energy, go forth and modify those outermost headers, bestie 🫢🌈⭐

πŸ“¦ where this page comes from