File: types.h

package info (click to toggle)
open-iscsi 2.1.11-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,912 kB
  • sloc: ansic: 49,788; perl: 2,481; sh: 2,247; makefile: 660; python: 622; yacc: 219; lex: 74
file content (22 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (9)
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 */