X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fnetflow.h;h=f3099a184afd7bfc39ccf509f8c151346efd4572;hb=50fa00401969b3ef19ecba84ef1bee380819f6c8;hp=cc7b96057071705c65f170edcd756e3f32b47256;hpb=d65349ea28bb67a0062a9b4b60ff97538206373b;p=openvswitch diff --git a/ofproto/netflow.h b/ofproto/netflow.h index cc7b9605..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,9 +17,17 @@ #ifndef NETFLOW_H #define NETFLOW_H 1 +#include #include "flow.h" #include "svec.h" +/* 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; struct netflow_options {