@@ -29,7 +29,7 @@ extern "C" {
#define ODPH_IPV4 4 /**< IP version 4 */
#define ODPH_IPV4HDR_LEN 20 /**< Min length of IP header (no options) */
#define ODPH_IPV4HDR_IHL_MIN 5 /**< Minimum IHL value*/
-#define ODPH_IPV4ADDR_LEN 4 /**< IPv4 address length in bytes */
+cd #define ODPH_IPV4ADDR_LEN 4 /**< IPv4 address length in bytes */
/** The one byte IPv4 tos or IPv6 tc field is composed of the following two
* subfields - a six bit Differentiated Service Code Point (DSCP) and a two
@@ -25,17 +25,23 @@ extern "C" {
* versions.
*/
#define _odp_merge(a, b) a##b
+/** @internal */
#define _odp_label(a) _odp_merge(_ODP_SASSERT_, a)
+/** @internal */
#define _ODP_SASSERT _odp_label(__COUNTER__)
+/** @internal */
#define _ODP_SASSERT_ENUM(e) { _ODP_SASSERT = 1 / !!(e) }
+/** @internal */
#define _odp_static_assert(e, s) enum _ODP_SASSERT_ENUM(e)
#if defined(__clang__)
#if defined(__cplusplus)
#if !__has_feature(cxx_static_assert) && !defined(static_assert)
+/** @internal */
#define static_assert(e, s) _odp_static_assert(e, s)
#endif
#elif !__has_feature(c_static_assert) && !defined(_Static_assert)
+/** @internal */
#define _Static_assert(e, s) _odp_static_assert(e, s)
#endif
@@ -44,9 +50,11 @@ extern "C" {
(__GNUC__ < 6 && defined(__cplusplus))
#if defined(__cplusplus)
#if !defined(static_assert)
+/** @intenral */
#define static_assert(e, s) _odp_static_assert(e, s)
#endif
#elif !defined(_Static_assert)
+/** @internal */
#define _Static_assert(e, s) _odp_static_assert(e, s)
#endif
#endif
@@ -105,6 +105,7 @@ typedef union {
/** All input flags */
uint64_t all;
+ /** Individual input flags */
struct {
uint64_t dst_queue:1; /**< Dst queue present */
@@ -168,7 +168,7 @@ typedef odp_tm_handle_t odp_tm_wred_t;
*/
#define ODP_TM_ROOT ((odp_tm_handle_t)-1)
-/** Get printable format of odp_queue_t */
+/** @internal Get printable format of odp_tm_handle_t @param hdl @return */
static inline uint64_t odp_tm_handle_to_u64(odp_tm_handle_t hdl)
{
return hdl;
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2952 by adding additional field documentation to avoid problems with doxygen 1.8.13 and higher. Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- helper/include/odp/helper/ip.h | 2 +- platform/linux-generic/include/odp/api/debug.h | 8 ++++++++ platform/linux-generic/include/odp/api/plat/packet_types.h | 1 + platform/linux-generic/include/odp/api/plat/traffic_mngr_types.h | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) -- 2.11.0