diff options
| author | Ben Pfaff <blp@nicira.com> | 2010-10-27 20:15:56 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-10-29 09:48:47 -0700 |
| commit | 494e43a517694cff1ca6304f6456ba0edbb924e2 (patch) | |
| tree | 691e929749f493838657d2149d0e810049fe1e30 /lib/flow.h | |
| parent | c2bb4851cb6401b764081cd36c1cf6624c5c4c00 (diff) | |
| download | openvswitch-494e43a517694cff1ca6304f6456ba0edbb924e2.tar.gz | |
flow: Add more functions for working with flow_wildcards.
These have limited use now but will become more important later.
Diffstat (limited to 'lib/flow.h')
| -rw-r--r-- | lib/flow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/flow.h b/lib/flow.h index ba376812c..7667cb049 100644 --- a/lib/flow.h +++ b/lib/flow.h @@ -97,5 +97,9 @@ struct flow_wildcards { ovs_be32 flow_nw_bits_to_mask(uint32_t wildcards, int shift); void flow_wildcards_init(struct flow_wildcards *, uint32_t wildcards); +void flow_wildcards_init_exact(struct flow_wildcards *); + +bool flow_wildcards_set_nw_src_mask(struct flow_wildcards *, ovs_be32); +bool flow_wildcards_set_nw_dst_mask(struct flow_wildcards *, ovs_be32); #endif /* flow.h */ |
