summaryrefslogtreecommitdiff
path: root/usr/types.h
blob: 9d9ba861246c4ac1148be6e6639518d71e787b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) 2002-2003 Ardis Technolgies <roman@ardistech.com>
 *
 * Released under the terms of the GNU GPL v2.0.
 */

#ifndef TYPES_H
#define TYPES_H

#include <netinet/in.h>
#include <stdint.h>
#include <sys/types.h>
#include <limits.h>

/*
 * using the __be types allows stricter static
 * typechecking in the kernel using sparse
 */
typedef uint16_t __be16;
typedef uint32_t __be32;

#endif	/* TYPES_H */