summaryrefslogtreecommitdiffstats
path: root/src/vnet/bier/bier_disp_table.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-07-29 18:07:02 -0400
committerDave Barach <dave@barachs.net>2020-07-29 18:08:01 -0400
commitcaebbcf3cd19eff9dd505a89d12e26e331c77922 (patch)
tree11f4598722ec6d957ee6bfccb4b772be430fb931 /src/vnet/bier/bier_disp_table.h
parent4c5343600d4fa4351816dd44a26c6a9b81e6b47e (diff)
feature: add vnet_feature_is_enabled
A predicate function which says whether a given sw_if_index has a certain feature enabled. int vnet_feature_is_enabled (const char *arc_name, const char *feature_node_name, u32 sw_if_index) returns 1 if the feature is enabled returns 0 if the feature is not enabled returns VNET_API_ERROR_INVALID_VALUE if the arc name is not found returns VNET_API_ERROR_INVALID_VALUE_2 if the feature node name is not found returns VNET_API_ERROR_INVALID_SW_IF_INDEX if the sw_if_index is not found Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Id9ed53e2ae9252efc750ae80fd610456b95cefa4
Diffstat (limited to 'src/vnet/bier/bier_disp_table.h')
0 files changed, 0 insertions, 0 deletions