X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fnetflow.h;h=f3099a184afd7bfc39ccf509f8c151346efd4572;hb=487ec65f157060b83ee050dc516ddd792574543b;hp=7f48ddda922e4718dfa34dde3cf36d32c56715c1;hpb=c69ee87c10818267f991236201150b1fa51ae519;p=openvswitch diff --git a/ofproto/netflow.h b/ofproto/netflow.h index 7f48ddda..f3099a18 100644 --- a/ofproto/netflow.h +++ b/ofproto/netflow.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,10 +17,16 @@ #ifndef NETFLOW_H #define NETFLOW_H 1 +#include #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;