1 /* $NetBSD: npftest.h,v 1.3.2.3 2012/08/13 17:49:52 riz Exp $ */ 2 3 /* 4 * Public Domain. 5 */ 6 7 #ifndef _NPF_TEST_H_ 8 #define _NPF_TEST_H_ 9 10 #include <stdint.h> 11 #include <stdbool.h> 12 13 int rumpns_npf_test_load(const void *); 14 unsigned rumpns_npf_test_addif(const char *, unsigned, bool); 15 unsigned rumpns_npf_test_getif(const char *); 16 int rumpns_npf_test_handlepkt(const void *, size_t, 17 unsigned, bool, int64_t *); 18 19 bool rumpns_npf_nbuf_test(bool); 20 bool rumpns_npf_processor_test(bool); 21 bool rumpns_npf_table_test(bool); 22 bool rumpns_npf_state_test(bool); 23 24 bool rumpns_npf_rule_test(bool); 25 bool rumpns_npf_nat_test(bool); 26 27 int process_stream(const char *, const char *, unsigned); 28 29 #endif 30