<snip>
> +/* XXX Unused function */
> +static void
> +ofpact_metadata_to_openflow11(const struct ofpact_metadata *om,
> +                              struct ofpbuf *out)
> +{
> +    struct ofp11_instruction_write_metadata *oiwm;
> +
> +    oiwm = instruction_put_OFPIT11_WRITE_METADATA(out);
> +    oiwm->metadata = htonll(om->metadata);
> +    oiwm->metadata_mask = htonll(om->mask);
> +}
> +

Woops - left this in. It could perhaps be used in
ofpacts_put_openflow11_write_metadata() below, or just dropped.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to