lib/classifier: Separate cls_rule internals from the API.
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 29 Apr 2014 22:50:38 +0000 (15:50 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 29 Apr 2014 22:50:38 +0000 (15:50 -0700)
commit627fb667b2604e28fb0b658760e6bd46912ebc08
treea8e2df580619d03d66c99e4b5ed66413113369ae
parentec988646afe6aee6a63d6894a3e9b50f715d5941
lib/classifier: Separate cls_rule internals from the API.

Keep an internal representation of a rule separate from the one
embedded into user's structs.  This allows for further memory
optimization in the classifier.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/classifier.c
lib/classifier.h
tests/test-classifier.c