diff options
author | Ben Pfaff <blp@nicira.com> | 2015-05-10 00:04:25 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-06-16 08:21:18 -0700 |
commit | c1b3756c271fcc80b102353b0c8e058757e57abb (patch) | |
tree | 2bd597b020d61b9a3408b7a81a4315e0a6b743b6 /ofproto/ofproto-dpif-xlate.h | |
parent | bde96a9a8973ccaacb61265765933f70927b249c (diff) | |
download | openvswitch-c1b3756c271fcc80b102353b0c8e058757e57abb.tar.gz |
ofproto-dpif: Allow translation reports to include formatted data.
This allow the reports to have additional useful information. An upcoming
commit will take advantage of this.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
Diffstat (limited to 'ofproto/ofproto-dpif-xlate.h')
-rw-r--r-- | ofproto/ofproto-dpif-xlate.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ofproto/ofproto-dpif-xlate.h b/ofproto/ofproto-dpif-xlate.h index e39847b69..8586e404c 100644 --- a/ofproto/ofproto-dpif-xlate.h +++ b/ofproto/ofproto-dpif-xlate.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014 Nicira, Inc. +/* Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -177,7 +177,8 @@ struct xlate_in { * significant decision, e.g. to explain why OFPP_NORMAL translation * dropped a packet. 'recurse' is the resubmit recursion depth at time of * invocation. */ - void (*report_hook)(struct xlate_in *, const char *s, int recurse); + void (*report_hook)(struct xlate_in *, int recurse, + const char *format, va_list args); /* If nonnull, flow translation credits the specified statistics to each * rule reached through a resubmit or OFPP_TABLE action. |