1 /* $NetBSD: npf_test.h,v 1.1 2012/04/14 21:57:29 rmind Exp $ */ 2 3 /* 4 * Public Domain. 5 */ 6 7 #ifndef _LIB_NPF_TEST_H_ 8 #define _LIB_NPF_TEST_H_ 9 10 #include <sys/types.h> 11 #include <sys/mbuf.h> 12 13 #include <netinet/in_systm.h> 14 #include <netinet/in.h> 15 #include <netinet6/in6.h> 16 17 #include <netinet/ip.h> 18 #include <netinet/ip6.h> 19 #include <netinet/tcp.h> 20 #include <netinet/udp.h> 21 #include <netinet/ip_icmp.h> 22 23 #include <net/if.h> 24 #include <net/if_ether.h> 25 #include <net/ethertypes.h> 26 27 struct mbuf * mbuf_getwithdata(void *, size_t); 28 struct mbuf * mbuf_construct_ether(int); 29 struct mbuf * mbuf_construct(int); 30 void * mbuf_return_hdrs(struct mbuf *, bool, struct ip **); 31 void mbuf_icmp_append(struct mbuf *, struct mbuf *); 32 33 bool npf_nbuf_test(bool); 34 bool npf_processor_test(bool); 35 bool npf_table_test(bool); 36 37 #endif 38