projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofp-util: Allow decoding of Open Flow 1.2 Packet In Messages
[openvswitch]
/
ofproto
/
ofproto-dpif-sflow.h
diff --git
a/ofproto/ofproto-dpif-sflow.h
b/ofproto/ofproto-dpif-sflow.h
index 439f41045fa962eaf02dbaa9d147118a0a11197c..6af8dc02252b23a5c3db03ea4debc94d3b99d591 100644
(file)
--- a/
ofproto/ofproto-dpif-sflow.h
+++ b/
ofproto/ofproto-dpif-sflow.h
@@
-1,6
+1,6
@@
/*
* Copyright (c) 2009, 2010 InMon Corp.
/*
* Copyright (c) 2009, 2010 InMon Corp.
- * Copyright (c) 2009
Nicira Networks
.
+ * Copyright (c) 2009
, 2012 Nicira, Inc
.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-26,6
+26,7
@@
struct dpif;
struct dpif_upcall;
struct flow;
struct ofproto_sflow_options;
struct dpif_upcall;
struct flow;
struct ofproto_sflow_options;
+struct ofport;
struct dpif_sflow *dpif_sflow_create(struct dpif *);
uint32_t dpif_sflow_get_probability(const struct dpif_sflow *);
struct dpif_sflow *dpif_sflow_create(struct dpif *);
uint32_t dpif_sflow_get_probability(const struct dpif_sflow *);
@@
-36,8
+37,7
@@
void dpif_sflow_set_options(struct dpif_sflow *,
void dpif_sflow_clear(struct dpif_sflow *);
bool dpif_sflow_is_enabled(const struct dpif_sflow *);
void dpif_sflow_clear(struct dpif_sflow *);
bool dpif_sflow_is_enabled(const struct dpif_sflow *);
-void dpif_sflow_add_port(struct dpif_sflow *, uint16_t ovs_port,
- const char *netdev_name);
+void dpif_sflow_add_port(struct dpif_sflow *ds, struct ofport *ofport);
void dpif_sflow_del_port(struct dpif_sflow *, uint16_t ovs_port);
void dpif_sflow_run(struct dpif_sflow *);
void dpif_sflow_del_port(struct dpif_sflow *, uint16_t ovs_port);
void dpif_sflow_run(struct dpif_sflow *);
@@
-46,7
+46,7
@@
void dpif_sflow_wait(struct dpif_sflow *);
void dpif_sflow_received(struct dpif_sflow *,
struct ofpbuf *,
const struct flow *,
void dpif_sflow_received(struct dpif_sflow *,
struct ofpbuf *,
const struct flow *,
- const
struct
user_action_cookie *);
+ const
union
user_action_cookie *);
int dpif_sflow_odp_port_to_ifindex(const struct dpif_sflow *, uint16_t);
int dpif_sflow_odp_port_to_ifindex(const struct dpif_sflow *, uint16_t);