X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fnetflow.c;h=37b18ffd3e3b911d218c335f6e602a0e5ad53ca4;hb=e4add8967bd4fe1e78566ffbd2a61e8c2db6bc43;hp=af6dda78cc1c58060abb45c4dc642127eed9d681;hpb=d98e60075528c3065ad453f7add4b30f22edcde3;p=openvswitch diff --git a/ofproto/netflow.c b/ofproto/netflow.c index af6dda78..37b18ffd 100644 --- a/ofproto/netflow.c +++ b/ofproto/netflow.c @@ -283,6 +283,14 @@ netflow_destroy(struct netflow *nf) } } +/* Initializes a new 'nf_flow' given that the caller has already cleared it to + * all-zero-bits. */ +void +netflow_flow_init(struct netflow_flow *nf_flow OVS_UNUSED) +{ + /* Nothing to do. */ +} + void netflow_flow_clear(struct netflow_flow *nf_flow) {