diff options
| author | Anoob Joseph <[email protected]> | 2023-08-18 14:59:42 +0530 |
|---|---|---|
| committer | Akhil Goyal <[email protected]> | 2023-10-09 21:00:21 +0200 |
| commit | 03e3cfda1679998aa512464affb8dd293146364a (patch) | |
| tree | eb5e81c94406b15f2141bce2e8789d04e5157656 /lib/security | |
| parent | 4331f81437e8327bf43403a1f5bb11a3e3a95874 (diff) | |
doc: replace code blocks with includes in security guide
Add literal includes to copy code block while compiling. Having a copy
may lead to mismatch if code is updated without updating the doc.
Fixes: 40ff8c99ea99 ("doc: add details of security library")
Cc: [email protected]
Signed-off-by: Anoob Joseph <[email protected]>
Acked-by: Akhil Goyal <[email protected]>
Diffstat (limited to 'lib/security')
| -rw-r--r-- | lib/security/rte_security.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 3f8abfef15..c6550f4d8d 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -622,6 +622,7 @@ struct rte_security_docsis_xform { /** * Security session action type. */ +/* Enumeration of rte_security_session_action_type 8<*/ enum rte_security_session_action_type { RTE_SECURITY_ACTION_TYPE_NONE, /**< No security actions */ @@ -642,8 +643,10 @@ enum rte_security_session_action_type { * protocol is processed synchronously by a CPU. */ }; +/* >8 End enumeration of rte_security_session_action_type. */ /** Security session protocol definition */ +/* Enumeration of rte_security_session_protocol 8<*/ enum rte_security_session_protocol { RTE_SECURITY_PROTOCOL_IPSEC = 1, /**< IPsec Protocol */ @@ -654,10 +657,12 @@ enum rte_security_session_protocol { RTE_SECURITY_PROTOCOL_DOCSIS, /**< DOCSIS Protocol */ }; +/* >8 End enumeration of rte_security_session_protocol. */ /** * Security session configuration */ +/* Structure rte_security_session_conf 8< */ struct rte_security_session_conf { enum rte_security_session_action_type action_type; /**< Type of action to be performed on the session */ @@ -675,6 +680,7 @@ struct rte_security_session_conf { void *userdata; /**< Application specific userdata to be saved with session */ }; +/* >8 End of structure rte_security_session_conf. */ /** * Create security session as specified by the session configuration |
