xref: /freebsd/sys/netpfil/ipfw/pmod/pmod.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1*aac74aeaSAndrey V. Elsukov /*-
2*aac74aeaSAndrey V. Elsukov  * Copyright (c) 2017 Yandex LLC
3*aac74aeaSAndrey V. Elsukov  * Copyright (c) 2017 Andrey V. Elsukov <ae@FreeBSD.org>
4*aac74aeaSAndrey V. Elsukov  * All rights reserved.
5*aac74aeaSAndrey V. Elsukov  *
6*aac74aeaSAndrey V. Elsukov  * Redistribution and use in source and binary forms, with or without
7*aac74aeaSAndrey V. Elsukov  * modification, are permitted provided that the following conditions
8*aac74aeaSAndrey V. Elsukov  * are met:
9*aac74aeaSAndrey V. Elsukov  *
10*aac74aeaSAndrey V. Elsukov  * 1. Redistributions of source code must retain the above copyright
11*aac74aeaSAndrey V. Elsukov  *    notice, this list of conditions and the following disclaimer.
12*aac74aeaSAndrey V. Elsukov  * 2. Redistributions in binary form must reproduce the above copyright
13*aac74aeaSAndrey V. Elsukov  *    notice, this list of conditions and the following disclaimer in the
14*aac74aeaSAndrey V. Elsukov  *    documentation and/or other materials provided with the distribution.
15*aac74aeaSAndrey V. Elsukov  *
16*aac74aeaSAndrey V. Elsukov  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17*aac74aeaSAndrey V. Elsukov  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18*aac74aeaSAndrey V. Elsukov  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19*aac74aeaSAndrey V. Elsukov  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20*aac74aeaSAndrey V. Elsukov  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21*aac74aeaSAndrey V. Elsukov  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22*aac74aeaSAndrey V. Elsukov  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23*aac74aeaSAndrey V. Elsukov  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24*aac74aeaSAndrey V. Elsukov  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25*aac74aeaSAndrey V. Elsukov  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26*aac74aeaSAndrey V. Elsukov  */
27*aac74aeaSAndrey V. Elsukov 
28*aac74aeaSAndrey V. Elsukov #ifndef	_IP_FW_PMOD_H_
29*aac74aeaSAndrey V. Elsukov #define	_IP_FW_PMOD_H_
30*aac74aeaSAndrey V. Elsukov 
31*aac74aeaSAndrey V. Elsukov int tcpmod_init(struct ip_fw_chain *ch, int first);
32*aac74aeaSAndrey V. Elsukov void tcpmod_uninit(struct ip_fw_chain *ch, int last);
33*aac74aeaSAndrey V. Elsukov #endif /* _IP_FW_PMOD_H_ */
34