aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/odp_packet_api.c
blob: 6bc37db472b988090fbb57dd0afb345761ee04d4 (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
/* Copyright (c) 2013-2018, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

#include "config.h"

#include <odp/api/packet.h>
#include <odp_packet_internal.h>
#include <odp_debug_internal.h>
#include <odp/api/hints.h>
#include <odp/api/byteorder.h>

#include <protocols/eth.h>
#include <protocols/ip.h>
#include <protocols/tcp.h>
#include <protocols/udp.h>

#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>

/* Prevent this header from being included again later */
#include <odp/api/plat/pktio_inlines.h>

/* Include non-inlined versions of API functions */
#define _ODP_NO_INLINE
#include <odp/api/plat/packet_inlines.h>