X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fsflow.h;h=c6cde7f23b4d676bbcc5d7af1aa21fe670a5a4ac;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=e3c5f4961239b4fb859acd7bce4c4e3eac5b7271;hpb=d295e8e97acae13552a5b220d3fbcff8201064a2;p=sliver-openvswitch.git diff --git a/lib/sflow.h b/lib/sflow.h index e3c5f4961..c6cde7f23 100644 --- a/lib/sflow.h +++ b/lib/sflow.h @@ -1,9 +1,24 @@ -/* Copyright (c) 2002-2009 InMon Corp. Licensed under the terms of the InMon sFlow licence: */ -/* http://www.inmon.com/technology/sflowlicense.txt */ +/* Copyright (c) 2002-2009 InMon Corp. Licensed under the terms of either the + * Sun Industry Standards Source License 1.1, that is available at: + * http://host-sflow.sourceforge.net/sissl.html + * or the InMon sFlow License, that is available at: + * http://www.inmon.com/technology/sflowlicense.txt + */ #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