diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-10-06 09:27:19 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-11-10 09:39:32 +0200 |
commit | 3042773b0c2cddfe2285abecfa6e78703e7ea5da (patch) | |
tree | 6499f7a5bbe18505b3e6243f9b500639b245ef30 | |
parent | 2c8ada58bf3b61a5baf36c47b9135e14ddb02741 (diff) |
api: ipsec: add bit field usage clarification
Add comments about bit fields’ ‘all’ member intended usage.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
-rw-r--r-- | include/odp/api/spec/ipsec.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 6e28e7fb4..f66758341 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -1296,7 +1296,10 @@ typedef struct odp_ipsec_warn_t { uint32_t soft_exp_packets : 1; }; - /** All warnings bits */ + /** All warning bits + * + * This field can be used to set/clear all bits, or to perform + * bitwise operations over those. */ uint32_t all; }; @@ -1335,7 +1338,10 @@ typedef struct odp_ipsec_op_flag_t { }; - /** All flag bits */ + /** All flag bits + * + * This field can be used to set/clear all flags, or to perform + * bitwise operations over those. */ uint32_t all; }; @@ -1373,7 +1379,10 @@ typedef struct odp_ipsec_out_opt_t { } flag; - /** All flag bits */ + /** All flag bits + * + * This field can be used to set/clear all flags, or to perform + * bitwise operations over those. */ uint32_t all_flags; }; |