aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/protocols.h
blob: 104002937bed80e4f942f7f9291725741017ac1c (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
37
38
39
40
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright (c) 2020 Marvell
 */

/**
 * @file
 *
 * ODP protocols
 */

#ifndef ODP_API_SPEC_PROTOCOLS_H_
#define ODP_API_SPEC_PROTOCOLS_H_
#include <odp/visibility_begin.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @defgroup odp_protocols ODP PROTOCOLS
 * Network protocols
 * @{
 */

/** IPv4 address size */
#define ODP_IPV4_ADDR_SIZE 4

/** IPv6 address size */
#define ODP_IPV6_ADDR_SIZE 16

/**
 * @}
 */

#ifdef __cplusplus
}
#endif

#include <odp/visibility_end.h>
#endif