X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fmeta-flow.h;h=cfc6263e07475b2626889273fd1b7cf35a7e5788;hb=1cb20095c3c933aca1e7607ad2dd6ed9933b359e;hp=0966f10f051cbc585a94c2555b7e0371c79f54b7;hpb=14dd55a3e3496057e7a7e0281a782b180714348d;p=cascardo%2Fovs.git diff --git a/lib/meta-flow.h b/lib/meta-flow.h index 0966f10f0..cfc6263e0 100644 --- a/lib/meta-flow.h +++ b/lib/meta-flow.h @@ -1851,10 +1851,11 @@ void mf_set_flow_value_masked(const struct mf_field *, const union mf_value *value, const union mf_value *mask, struct flow *); -bool mf_is_zero(const struct mf_field *, const struct flow *); +bool mf_is_tun_metadata(const struct mf_field *); +bool mf_is_set(const struct mf_field *, const struct flow *); void mf_mask_field(const struct mf_field *, struct flow *); int mf_field_len(const struct mf_field *, const union mf_value *value, - const union mf_value *mask); + const union mf_value *mask, bool *is_masked); void mf_get(const struct mf_field *, const struct match *, union mf_value *value, union mf_value *mask);