Annotation of embedaddon/miniupnpd/ipfw/ipfwaux.h, revision 1.1.1.3

1.1.1.3 ! misho       1: /* $Id: ipfwaux.h,v 1.5 2012/09/20 12:46:01 nanard Exp $ */
1.1       misho       2: /*
                      3:  * MiniUPnP project
                      4:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
1.1.1.3 ! misho       5:  * (c) 2009-2012 Jardel Weyrich
1.1       misho       6:  * This software is subject to the conditions detailed
                      7:  * in the LICENCE file provided within the distribution
                      8:  */
1.1.1.3 ! misho       9: #ifndef IPFWAUX_H
        !            10: #define IPFWAUX_H
1.1       misho      11: 
1.1.1.3 ! misho      12: #include <stdint.h>
1.1       misho      13: #include <netinet/in.h>
                     14: #include <netinet/ip_fw.h>
                     15: 
                     16: #define IP_FW_BASE     (IP_FW_ADD - 5)
                     17: #define IP_FW_INIT     (IP_FW_BASE + 1)
                     18: #define IP_FW_TERM     (IP_FW_BASE + 2)
                     19: 
1.1.1.3 ! misho      20: int ipfw_exec(int optname, void * optval, uintptr_t optlen);
        !            21: void ipfw_free_ruleset(struct ip_fw ** rules);
        !            22: int ipfw_fetch_ruleset(struct ip_fw ** rules, int * total_fetched, int count);
        !            23: int ipfw_validate_protocol(int value);
        !            24: int ipfw_validate_ifname(const char * const value);
1.1       misho      25: 
                     26: #endif
1.1.1.3 ! misho      27: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>