X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fsflow_api.h;h=3cc060b3b3f23bad7fa8b49e8711cdad16288f2c;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=be8d99773c17f192d30a70f6353feb0304ded882;hpb=2ad2eb042517b975d761d456cceb5c9325c4aaa7;p=sliver-openvswitch.git diff --git a/lib/sflow_api.h b/lib/sflow_api.h index be8d99773..3cc060b3b 100644 --- a/lib/sflow_api.h +++ b/lib/sflow_api.h @@ -1,5 +1,9 @@ -/* 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_API_H #define SFLOW_API_H 1 @@ -25,7 +29,7 @@ #endif #include "sflow.h" - + /* define SFLOW_SOFTWARE_SAMPLING to 1 if you need to use the sfl_sampler_takeSample routine and give it every packet */ /* #define SFLOW_SOFTWARE_SAMPLING */ @@ -42,7 +46,7 @@ __________________________________ | cls| index | instance | ---------------------------------- - + but now is opened up to a 12-byte struct to ensure that ds_index has a full 32-bit field, and to make accessing the components simpler. The macros have