ip_frag: clean includes
Add required rte_byteorder in rte_ip_frag.h. Remove useless includes in *.c files. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
7b79b2718f
commit
ad942d78c1
@ -32,15 +32,12 @@
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <rte_byteorder.h>
|
||||
#include <rte_jhash.h>
|
||||
#ifdef RTE_MACHINE_CPUFLAG_SSE4_2
|
||||
#include <rte_hash_crc.h>
|
||||
#endif /* RTE_MACHINE_CPUFLAG_SSE4_2 */
|
||||
|
||||
#include "rte_ip_frag.h"
|
||||
#include "ip_frag_common.h"
|
||||
|
||||
#define PRIME_VALUE 0xeaad8405
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include <rte_malloc.h>
|
||||
#include <rte_mbuf.h>
|
||||
#include <rte_ip.h>
|
||||
#include <rte_byteorder.h>
|
||||
|
||||
enum {
|
||||
IP_LAST_FRAG_IDX, /**< index of last fragment */
|
||||
|
@ -32,14 +32,11 @@
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rte_memory.h>
|
||||
#include <rte_log.h>
|
||||
#include <rte_byteorder.h>
|
||||
|
||||
#include "rte_ip_frag.h"
|
||||
#include "ip_frag_common.h"
|
||||
|
||||
#define IP_FRAG_HASH_FNUM 2
|
||||
|
@ -32,17 +32,12 @@
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <rte_byteorder.h>
|
||||
#include <rte_memcpy.h>
|
||||
#include <rte_mempool.h>
|
||||
#include <rte_debug.h>
|
||||
#include <rte_mbuf.h>
|
||||
#include <rte_ip.h>
|
||||
|
||||
#include "rte_ip_frag.h"
|
||||
#include "ip_frag_common.h"
|
||||
|
||||
/* Fragment Offset */
|
||||
|
@ -31,19 +31,11 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <rte_byteorder.h>
|
||||
#include <rte_mbuf.h>
|
||||
#include <rte_debug.h>
|
||||
#include <rte_tailq.h>
|
||||
#include <rte_malloc.h>
|
||||
#include <rte_ip.h>
|
||||
|
||||
#include "rte_ip_frag.h"
|
||||
#include "ip_frag_common.h"
|
||||
|
||||
/*
|
||||
|
@ -32,14 +32,10 @@
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <rte_byteorder.h>
|
||||
#include <rte_memcpy.h>
|
||||
#include <rte_ip.h>
|
||||
|
||||
#include "rte_ip_frag.h"
|
||||
#include "ip_frag_common.h"
|
||||
|
||||
/**
|
||||
|
@ -32,15 +32,9 @@
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <rte_malloc.h>
|
||||
#include <rte_memcpy.h>
|
||||
#include <rte_byteorder.h>
|
||||
#include <rte_mbuf.h>
|
||||
#include <rte_ip.h>
|
||||
|
||||
#include "rte_ip_frag.h"
|
||||
#include "ip_frag_common.h"
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user