File: vde.h

package info (click to toggle)
vde2 2.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,640 kB
  • sloc: ansic: 27,447; sh: 11,201; makefile: 413; cpp: 241; python: 107
file content (27 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (8)
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
#ifndef VDE_H_
#define VDE_H_

#ifdef HAVE_GETOPT_LONG_ONLY
#define GETOPT_LONG getopt_long_only
#else
#define GETOPT_LONG getopt_long
#endif

#define VDE_SOCK_DIR LOCALSTATEDIR"/run"
#define VDE_RC_DIR SYSCONFDIR"/vde2"

#ifndef VDESTDSOCK
#define VDESTDSOCK	"/var/run/vde.ctl"
#define VDETMPSOCK	"/tmp/vde.ctl"
#endif

#define DO_SYSLOG
#define VDE_IP_LOG

/*
 * Enable the new packet queueing. Experimental but recommended
 * (expecially with Darwin and other BSDs)
 */
#define VDE_PQ

#endif