ofproto: Make check_table_id generic
authorSimon Horman <horms@verge.net.au>
Mon, 23 Dec 2013 12:54:59 +0000 (21:54 +0900)
committerBen Pfaff <blp@nicira.com>
Tue, 24 Dec 2013 16:55:27 +0000 (08:55 -0800)
commit554764d1aac75030c319fc8e2fa87811149421fa
treee2dfd9c72c9406e7142f113049fedb5bf1578bbc
parent0f3df203a0b81bdf95ac0e0e5a086408cf641dbc
ofproto: Make check_table_id generic

Update check_table_id() so that rather than returning a flow_mod specific
error it simply returns true of false. And update callers accordingly.

This is in preparation for using check_table_id() in conjunction
with table_mod.

Also update check_table_id to use OFPTT_ALL.

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