diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2015-02-22 03:21:09 -0800 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2015-03-03 13:37:37 -0800 |
commit | cf62fa4c7074121184a1f1d07980990113657612 (patch) | |
tree | 1d1b25bf0222b0b8e62d546f4d56ad366b84abed /ofproto/ofproto-dpif-ipfix.h | |
parent | e14deea0bd133796872d06f39a14d0393880f5bb (diff) | |
download | openvswitch-cf62fa4c7074121184a1f1d07980990113657612.tar.gz |
dp-packet: Remove ofpbuf dependency.
Currently dp-packet make use of ofpbuf for managing packet
buffers. That complicates ofpbuf, by making dp-packet
independent of ofpbuf both libraries can be optimized for
their own use case.
This avoids mapping operation between ofpbuf and dp_packet
in datapath upcalls.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/ofproto-dpif-ipfix.h')
-rw-r--r-- | ofproto/ofproto-dpif-ipfix.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ofproto/ofproto-dpif-ipfix.h b/ofproto/ofproto-dpif-ipfix.h index e86fb9324..2bb0e43ff 100644 --- a/ofproto/ofproto-dpif-ipfix.h +++ b/ofproto/ofproto-dpif-ipfix.h @@ -23,7 +23,7 @@ #include "lib/odp-util.h" struct flow; -struct ofpbuf; +struct dp_packet; struct ofproto_ipfix_bridge_exporter_options; struct ofproto_ipfix_flow_exporter_options; struct flow_tnl; @@ -46,10 +46,10 @@ void dpif_ipfix_set_options( const struct ofproto_ipfix_bridge_exporter_options *, const struct ofproto_ipfix_flow_exporter_options *, size_t); -void dpif_ipfix_bridge_sample(struct dpif_ipfix *, const struct ofpbuf *, +void dpif_ipfix_bridge_sample(struct dpif_ipfix *, const struct dp_packet *, const struct flow *, odp_port_t, odp_port_t, const struct flow_tnl *); -void dpif_ipfix_flow_sample(struct dpif_ipfix *, const struct ofpbuf *, +void dpif_ipfix_flow_sample(struct dpif_ipfix *, const struct dp_packet *, const struct flow *, uint32_t, uint16_t, uint32_t, uint32_t); |