aboutsummaryrefslogtreecommitdiff
path: root/lib/dpif.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-01-23 21:56:00 -0800
committerBen Pfaff <blp@nicira.com>2011-01-28 15:34:40 -0800
commit7aec165dbc4690c8c2c703d142e2f017bb851d31 (patch)
treeb6639f7e78c47515294332df4184f030145af549 /lib/dpif.h
parent3d8c95357fc8fa657c5ed176a464d0c9d33622e9 (diff)
datapath: s/ODPAT_/ODP_ACTION_ATTR_/ to fit new naming scheme.
Jesse suggested this naming scheme, so I'm adjusting existing names to fit it. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/dpif.h')
-rw-r--r--lib/dpif.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dpif.h b/lib/dpif.h
index f5b74934..8872a2ef 100644
--- a/lib/dpif.h
+++ b/lib/dpif.h
@@ -151,7 +151,7 @@ int dpif_execute(struct dpif *, const struct nlattr *actions,
enum dpif_upcall_type {
DPIF_UC_MISS, /* Miss in flow table. */
- DPIF_UC_ACTION, /* ODPAT_CONTROLLER action. */
+ DPIF_UC_ACTION, /* ODP_ACTION_ATTR_CONTROLLER action. */
DPIF_UC_SAMPLE, /* Packet sampling. */
DPIF_N_UC_TYPES
};
@@ -171,7 +171,7 @@ struct dpif_upcall {
size_t key_len; /* Length of 'key' in bytes. */
/* DPIF_UC_ACTION only. */
- uint64_t userdata; /* Argument to ODPAT_CONTROLLER. */
+ uint64_t userdata; /* Argument to ODP_ACTION_ATTR_CONTROLLER. */
/* DPIF_UC_SAMPLE only. */
uint32_t sample_pool; /* # of sampling candidate packets so far. */