X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnx-match.h;h=a7441d0b39fcbd36321ec2351de5e54a748f7e60;hb=refs%2Fheads%2Freview;hp=5365ccafa2332ceac9228b4ead0d0882bc521568;hpb=72c644fd6de23d69f66b755237e3f5c74b4d9af7;p=sliver-openvswitch.git diff --git a/lib/nx-match.h b/lib/nx-match.h index 5365ccafa..a7441d0b3 100644 --- a/lib/nx-match.h +++ b/lib/nx-match.h @@ -49,7 +49,9 @@ void nxm_format_reg_load(const struct nx_action_reg_load *, struct ds *); int nxm_check_reg_move(const struct nx_action_reg_move *, const struct flow *); int nxm_check_reg_load(const struct nx_action_reg_load *, const struct flow *); -int nxm_dst_check(ovs_be32 dst, ovs_be16 ofs_nbits, size_t min_n_bits, +int nxm_src_check(ovs_be32 src, unsigned int ofs, unsigned int n_bits, + const struct flow *); +int nxm_dst_check(ovs_be32 dst, unsigned int ofs, unsigned int n_bits, const struct flow *); void nxm_execute_reg_move(const struct nx_action_reg_move *, struct flow *);