aboutsummaryrefslogtreecommitdiff
path: root/lib/nx-match.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-12-16 13:57:08 -0800
committerBen Pfaff <blp@nicira.com>2010-12-17 14:31:40 -0800
commit4291acd23d801a0274f5a4f8107b2a907f4fbdd5 (patch)
treeac30c330f88dcae46a767bc261f6099c296ce9a0 /lib/nx-match.h
parentc979df0569a8e3a5e923f569b8302d1cbdf7610c (diff)
nx-match: Make nxm_field_bytes(), nxm_field_bits() public.
Diffstat (limited to 'lib/nx-match.h')
-rw-r--r--lib/nx-match.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/nx-match.h b/lib/nx-match.h
index d0e1c653..07d695de 100644
--- a/lib/nx-match.h
+++ b/lib/nx-match.h
@@ -53,6 +53,9 @@ int nxm_check_reg_load(const struct nx_action_reg_load *, const struct flow *);
void nxm_execute_reg_move(const struct nx_action_reg_move *, struct flow *);
void nxm_execute_reg_load(const struct nx_action_reg_load *, struct flow *);
+int nxm_field_bytes(uint32_t header);
+int nxm_field_bits(uint32_t header);
+
/* Dealing with the 'ofs_nbits' members of struct nx_action_reg_load and struct
* nx_action_multipath. */