2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-19 14:37:21 +00:00

nx-match: Rename and export functions for parsing and formatting subfields.

These will be used from other source files in upcoming commits.
This commit is contained in:
Ben Pfaff
2010-12-16 13:57:21 -08:00
parent 21dd5f55a4
commit 36b4c892f6
2 changed files with 14 additions and 10 deletions

View File

@@ -56,6 +56,10 @@ 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);
const char *nxm_parse_field_bits(const char *s,
uint32_t *headerp, int *ofsp, int *n_bitsp);
void nxm_format_field_bits(struct ds *, uint32_t header, int ofs, int n_bits);
/* Dealing with the 'ofs_nbits' members of struct nx_action_reg_load and struct
* nx_action_multipath. */