ROFL-hal  v0.6.0dev
nf.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 
5 #ifndef NF_EXTENSIONS_H
6 #define NF_EXTENSIONS_H
7 
16 #include "../hal.h"
17 #include "../hal_utils.h"
18 
19 //C++ extern C
20 HAL_BEGIN_DECLS
21 
22 typedef struct hal_nf_ext_ops{
32  hal_result_t (*create_nf_port)(const char *nf_name, const char *nf_port_name, port_type_t nf_port_type);
33 
40  hal_result_t (*destroy_nf_port)(const char *nf_port_name);
41 }hal_nf_ext_ops_t;
42 
43 //C++ extern C
44 HAL_END_DECLS
45 
46 #endif /* NF_EXTENSIONS_H */
47 
enum hal_result hal_result_t
HAL return values.