git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Fix potential leak during flow mods.
[sliver-openvswitch.git]
/
lib
/
sflow.h
diff --git
a/lib/sflow.h
b/lib/sflow.h
index
8ea9693
..
c6cde7f
100644
(file)
--- a/
lib/sflow.h
+++ b/
lib/sflow.h
@@
-8,6
+8,17
@@
#ifndef SFLOW_H
#define SFLOW_H 1
#ifndef SFLOW_H
#define SFLOW_H 1
+#ifdef _WIN32
+#include "windefs.h"
+#endif
+
+typedef enum {
+ SFL_DSCLASS_IFINDEX = 0,
+ SFL_DSCLASS_VLAN = 1,
+ SFL_DSCLASS_PHYSICAL_ENTITY = 2,
+ SFL_DSCLASS_LOGICAL_ENTITY = 3
+} SFL_DSCLASS;
+
enum SFLAddress_type {
SFLADDRESSTYPE_IP_V4 = 1,
SFLADDRESSTYPE_IP_V6 = 2
enum SFLAddress_type {
SFLADDRESSTYPE_IP_V4 = 1,
SFLADDRESSTYPE_IP_V6 = 2