flow: Split flow_extract
authorSimon Horman <horms@verge.net.au>
Thu, 27 Dec 2012 05:23:09 +0000 (14:23 +0900)
committerBen Pfaff <blp@nicira.com>
Thu, 27 Dec 2012 21:16:45 +0000 (13:16 -0800)
commitad128cc19f548776cbec0d43e303a100a7124633
treeb655043ca26da0bcb0d14a9909ede4cb8c6be6d8
parente0c91c0cb0d644058bac34267f03d08d4595444c
flow: Split flow_extract

Split the L3 and above portion of flow_extract() out into
flow_extract_l3_onwards() and call flow_extract_l3_onwards()
from flow_extract().

This is to allow re-extraction of l3 and higher information using
flow->encap_dl_type which may be set using information contained
in actions.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/flow.c
lib/flow.h