X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fmeta-flow.h;h=632cb46dc080fd8f50ae49ee09064247d1dd7706;hb=d58c5bc2d854ce601338d0785c8086d619a16135;hp=6340b3e940a8f41ac14c08a8fb37e8e77db02409;hpb=36f3999b707b5456bacd780d0f9acdac85107f60;p=openvswitch diff --git a/lib/meta-flow.h b/lib/meta-flow.h index 6340b3e9..632cb46d 100644 --- a/lib/meta-flow.h +++ b/lib/meta-flow.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012 Nicira Networks. + * Copyright (c) 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -264,6 +264,7 @@ void mf_set_value(const struct mf_field *, const union mf_value *value, struct cls_rule *); void mf_set_flow_value(const struct mf_field *, const union mf_value *value, struct flow *); +bool mf_is_zero(const struct mf_field *, const struct flow *); void mf_get(const struct mf_field *, const struct cls_rule *, union mf_value *value, union mf_value *mask);