X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fnetflow.h;h=f3099a184afd7bfc39ccf509f8c151346efd4572;hb=487ec65f157060b83ee050dc516ddd792574543b;hp=701ffd4621b3ab3cdf48d75de6185ebeca841c69;hpb=02dd3123a0e312f1d33403e744af52dd6096f12d;p=openvswitch diff --git a/ofproto/netflow.h b/ofproto/netflow.h index 701ffd46..f3099a18 100644 --- a/ofproto/netflow.h +++ b/ofproto/netflow.h @@ -21,7 +21,12 @@ #include "flow.h" #include "svec.h" -static const int NF_ACTIVE_TIMEOUT_DEFAULT = 600; +/* Default active timeout interval, in seconds. + * + * (The active timeout interval is the interval at which NetFlow records are + * sent for flows that do not expire, so that such flows are still + * accounted.) */ +#define NF_ACTIVE_TIMEOUT_DEFAULT 600 struct ofexpired;