1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2015 Intel Corporation
5 #ifndef __INCLUDE_PIPELINE_FIREWALL_H__
6 #define __INCLUDE_PIPELINE_FIREWALL_H__
9 #include "pipeline_firewall_be.h"
12 app_pipeline_firewall_add_rule(struct app_params *app,
14 struct pipeline_firewall_key *key,
19 app_pipeline_firewall_delete_rule(struct app_params *app,
21 struct pipeline_firewall_key *key);
24 app_pipeline_firewall_add_bulk(struct app_params *app,
26 struct pipeline_firewall_key *keys,
32 app_pipeline_firewall_delete_bulk(struct app_params *app,
34 struct pipeline_firewall_key *keys,
38 app_pipeline_firewall_add_default_rule(struct app_params *app,
43 app_pipeline_firewall_delete_default_rule(struct app_params *app,
44 uint32_t pipeline_id);
46 #ifndef APP_PIPELINE_FIREWALL_MAX_RULES_IN_FILE
47 #define APP_PIPELINE_FIREWALL_MAX_RULES_IN_FILE 65536
51 app_pipeline_firewall_load_file(char *filename,
52 struct pipeline_firewall_key *keys,
58 extern struct pipeline_type pipeline_firewall;