summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif-xlate.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2013-10-31 16:23:13 -0700
committerEthan Jackson <ethan@nicira.com>2013-12-12 20:21:11 -0800
commit1dfdb9b3177474aacd8b81aadf8cc6df5493d851 (patch)
treeca12ec48e46c6e3e0e38b5c70f90b711bb4920e1 /ofproto/ofproto-dpif-xlate.h
parent912c19381faa71daa27148ff58f09ee758420fb5 (diff)
downloadopenvswitch-1dfdb9b3177474aacd8b81aadf8cc6df5493d851.tar.gz
ofproto: Retrieve ipfix, sflow and netflow in xlate_receive().
This seems cleaner than having separate accessors for them. Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/ofproto-dpif-xlate.h')
-rw-r--r--ofproto/ofproto-dpif-xlate.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/ofproto/ofproto-dpif-xlate.h b/ofproto/ofproto-dpif-xlate.h
index 11a180ae0..27bfa74a5 100644
--- a/ofproto/ofproto-dpif-xlate.h
+++ b/ofproto/ofproto-dpif-xlate.h
@@ -147,7 +147,9 @@ void xlate_ofport_remove(struct ofport_dpif *) OVS_REQ_WRLOCK(xlate_rwlock);
int xlate_receive(const struct dpif_backer *, struct ofpbuf *packet,
const struct nlattr *key, size_t key_len,
struct flow *, enum odp_key_fitness *,
- struct ofproto_dpif **, odp_port_t *odp_in_port)
+ struct ofproto_dpif **, struct dpif_ipfix **,
+ struct dpif_sflow **, struct netflow **,
+ odp_port_t *odp_in_port)
OVS_EXCLUDED(xlate_rwlock);
void xlate_actions(struct xlate_in *, struct xlate_out *)
@@ -159,11 +161,6 @@ void xlate_out_uninit(struct xlate_out *);
void xlate_actions_for_side_effects(struct xlate_in *);
void xlate_out_copy(struct xlate_out *dst, const struct xlate_out *src);
-struct dpif_sflow *xlate_get_sflow(const struct ofproto_dpif *)
- OVS_EXCLUDED(xlate_rwlock);
-struct dpif_ipfix *xlate_get_ipfix(const struct ofproto_dpif *)
- OVS_EXCLUDED(xlate_rwlock);
-
int xlate_send_packet(const struct ofport_dpif *, struct ofpbuf *);
#endif /* ofproto-dpif-xlate.h */