ofp-actions: Refactor ofpact_get_mf_dst().
authorJoe Stringer <joestringer@nicira.com>
Wed, 2 Dec 2015 00:17:45 +0000 (16:17 -0800)
committerJoe Stringer <joestringer@nicira.com>
Thu, 3 Dec 2015 17:54:37 +0000 (09:54 -0800)
commit28f5311f5d8829444441b9b32dd1eebaca9c086d
tree527c2a8103e6bd16382cf897a4d49c36887a46cc
parent47946ac584a28838b6f38646f8ad2762a73dbb65
ofp-actions: Refactor ofpact_get_mf_dst().

This function finds the mf destination field for any ofpact, returning
NULL if not applicable. It will be used by the next patch to properly
reject OpenFlow flows with conntrack actions when conntrack is
unsupported by the datapath.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/ofp-actions.c
lib/ofp-actions.h