Avoid segmentation fault if no tap name given (thanks to Filippo Giunchedi)
[vde.git] / vde-2 / vde.h
blobbdbd5899bd3760ced4d3437f45f63d0d8f5e0858
1 #ifndef VDE_H_
2 #define VDE_H_
4 #ifdef HAVE_GETOPT_LONG_ONLY
5 #define GETOPT_LONG getopt_long_only
6 #else
7 #define GETOPT_LONG getopt_long
8 #endif
10 #ifndef VDESTDSOCK
11 #define VDESTDSOCK "/var/run/vde.ctl"
12 #define VDETMPSOCK "/tmp/vde.ctl"
13 #endif
15 #define DO_SYSLOG
16 #define VDE_IP_LOG
19 * Enable the new packet queueing. Experimental but recommended
20 * (expecially with Darwin and other BSDs)
22 #define VDE_PQ
24 #endif