s="nf">session_lookup_dump_rules_table (u32 fib_index, u8 fib_proto, u8 transport_proto); void session_lookup_dump_local_rules_table (u32 fib_index, u8 fib_proto, u8 transport_proto); typedef enum _session_rule_scope { SESSION_RULE_SCOPE_GLOBAL = 1, SESSION_RULE_SCOPE_LOCAL = 2, } session_rule_scope_e; typedef struct _session_rule_add_del_args { /** * Actual arguments to adding the rule to a session rules table */ session_rule_table_add_del_args_t table_args; /** * Application namespace where rule should be applied. If 0, * default namespace is used. */ u32 appns_index; /** * Rule scope flag. */ u8 scope; /** * Transport protocol for the rule */ u8 transport_proto; } session_rule_add_del_args_t; session_error_t vnet_session_rule_add_del (session_rule_add_del_args_t *args); void session_lookup_set_tables_appns (app_namespace_t * app_ns); void session_lookup_init (void); #endif /* SRC_VNET_SESSION_SESSION_LOOKUP_H_ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */