X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fflow.h;h=ba2d8063196872975b0d69c6115817a6d2e901bb;hb=92ada13254cbbc24ded4c9970d73dac1fe2f10d9;hp=f7a0c23bd600bd4a9d8974b315936910b8ebe166;hpb=1006cda6d4c36f4e10cab9714d4d625e141a4cad;p=openvswitch diff --git a/lib/flow.h b/lib/flow.h index f7a0c23b..ba2d8063 100644 --- a/lib/flow.h +++ b/lib/flow.h @@ -171,5 +171,9 @@ const uint8_t *flow_wildcards_to_dl_dst_mask(flow_wildcards_t); bool flow_wildcards_is_dl_dst_mask_valid(const uint8_t[6]); flow_wildcards_t flow_wildcards_set_dl_dst_mask(flow_wildcards_t, const uint8_t mask[6]); +uint32_t flow_hash_fields(const struct flow *, enum nx_hash_fields, + uint16_t basis); +const char *flow_hash_fields_to_str(enum nx_hash_fields); +bool flow_hash_fields_valid(enum nx_hash_fields); #endif /* flow.h */