X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=ofproto%2Fofproto-dpif.c;h=e50b4fe851e6e1cd58fd8697425f6293e36cb645;hb=56c091ec8cb20fb00f8af0e9a3f8b381ecaae03d;hp=7d082bcc760244be9527363b3471c68549b291c1;hpb=d4e781981a769acd59108c5db062980b71a1cc50;p=sliver-openvswitch.git diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 7d082bcc7..e50b4fe85 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -4514,6 +4514,13 @@ ofproto_dpif_unixctl_init(void) ofproto_unixctl_dpif_dump_flows, NULL); } +/* Returns true if 'table' is the table used for internal rules, + * false otherwise. */ +bool +table_is_internal(uint8_t table_id) +{ + return table_id == TBL_INTERNAL; +} /* Linux VLAN device support (e.g. "eth0.10" for VLAN 10.) *