summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-05-19 22:07:55 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-05-20 12:29:21 +0900
commitb5592b08ead457be6cf14d387195dd5825eed5f4 (patch)
tree07493b9592cd48ad7b134888d2623c21614871a4 /bin
parent936635a1a9642fd7d22179f09a85708944994159 (diff)
Kill parser_stats_body_array method in OFPFlowStats class
OFPStatsReply needs to handle variable-length bodys so having two parsers (parser_stats_body_array and parser_stats_body) doesn't make sense. Just kill parser_stats_body_array(). cls_stats_body_cls_size is also pointless since OFPStatsReply needs to handle variable-length bodys. OFPStatsReply class needs to know if a stats class is array or not. So register_stats_type takes 'body_single_struct' instead of body_cls_size. We need to change this scheme if we need to handle VendorStats in the same way (both array and single struct). But currently we don't even have any VendorStats implementation so let's invent something more complicated when it becomes necessary. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions