rte_ipsec_session(3)
π rte_ipsec_session β the manual page, but make it make sense
okay so bestie, we're in section 3 of the Library Functions Manual, and today's main character is rte_ipsec_session. yes it's a struct, yes it's from DPDK, no you cannot skip it. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
rte_ipsec_session β literally just the name, that's it, that's the whole section π
πΈ SYNOPSIS πΈ
#include <rte_ipsec.h>
π Data Fields π
struct rte_ipsec_sa * sa
enum rte_security_session_action_type type
union {
};
struct rte_ipsec_sa_pkt_func pkt_func
that's the roster. four little icons. all of them eating, no crumbs π
π¦ Detailed Description π¦
so rte_ipsec_session is an aggregate structure β which is just fancy speak for "it holds a bunch of stuff together, like a little handbag" β and what it defines is the particular IPsec Security Association IPsec (SA) on a given security/crypto device. yes, it says IPsec twice. no, we are not fixing it. it ate and left no crumbs, moving on β¨
here's everything it's holding:
- pointer to the SA object
- security session action type
- pointer to security/crypto session, plus other related data
- session/device specific functions to prepare/process IPsec packets.
the way that this struct is lowkey the whole personality of an SA on a device. iconic behavior fr fr.
π Definition at line 78 of file rte_ipsec.h.
π Field Documentation π
β struct rte_ipsec_sa* sa
this is the SA that session belongs to. and the lil snack of knowledge here: multiple sessions can belong to the same SA. so don't be out here acting like it's one-to-one, that's not the vibe π«Ά
π Definition at line 83 of file rte_ipsec.h.
β enum rte_security_session_action_type type
this is the session action type. that's it, that's the field. short and slaying π
π Definition at line 85 of file rte_ipsec.h.
β union { ... }
this anonymous lil union is the session and related data. no line number for this one, she's mysterious like that π
β struct rte_ipsec_sa_pkt_func pkt_func
these are the functions to prepare/process IPsec packets. the actual doing-stuff field, the one with main character energy at runtime π₯
π Definition at line 99 of file rte_ipsec.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so shoutout to Doxygen, the real one, the ghostwriter, the unseen queen π
and that's the page bestie!! no cap, you now know every single field, every single line number, every single definition, and you did NOT skip the boring parts, because there are no boring parts, only parts you haven't obsessed over yet π§
this whole thing came to you courtesy of DPDK, Version 25.11.3, page rte_ipsec_session(3). stan. periodt. πππΈ
π¦ 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