File: osdep.h

package info (click to toggle)
ppxp 0.99120923-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,812 kB
  • ctags: 3,704
  • sloc: ansic: 24,532; tcl: 3,992; makefile: 517; sh: 80
file content (31 lines) | stat: -rw-r--r-- 496 bytes parent folder | download
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
#include <linux/version.h>
#include <endian.h>

#ifdef __alpha__
# include "osdep-alpha.h"
#endif

#ifdef __i386__
# include "osdep-i386.h"
#endif

#ifdef __powerpc__
# include "osdep-ppc.h"
#endif

#if defined(__GLIBC__) && __GLIBC__ >= 2
# include <netinet/if_ether.h>
#else
# include <linux/if_ether.h>
#endif

#if 0 /* 1999/06/30 */
#if LINUX_VERSION_CODE >= 0x020200
#include <sys/socket.h>
#include <linux/netlink.h>
#endif
#endif

#ifndef NETLINK_TAPBASE
#define NETLINK_TAPBASE 16
#endif