aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/abi-default/ipsec_types.h
blob: 94fac6a203d72d71d5aea1244c873c528c7aed1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Copyright (c) 2016-2018, Linaro Limited
 * Copyright (c) 2022, Nokia
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

#ifndef ODP_ABI_IPSEC_TYPES_H_
#define ODP_ABI_IPSEC_TYPES_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <odp/api/std_types.h>

/** @internal Dummy type for strong typing */
typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_ipsec_sa_t;

/** @ingroup odp_ipsec
 *  @{
 */

typedef _odp_abi_ipsec_sa_t *odp_ipsec_sa_t;

#define ODP_IPSEC_SA_INVALID ((odp_ipsec_sa_t)0)

/**
 * @}
 */

#ifdef __cplusplus
}
#endif

#endif