Annotation of embedaddon/miniupnpd/netfilter/iptpinhole.h, revision 1.1

1.1     ! misho       1: /* $Id: iptpinhole.h,v 1.6 2012/09/27 15:44:10 nanard Exp $ */
        !             2: /* MiniUPnP project
        !             3:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
        !             4:  * (c) 2012 Thomas Bernard
        !             5:  * This software is subject to the conditions detailed
        !             6:  * in the LICENCE file provided within the distribution */
        !             7: #ifndef IPTPINHOLE_H_INCLUDED
        !             8: #define IPTPINHOLE_H_INCLUDED
        !             9: 
        !            10: #ifdef ENABLE_6FC_SERVICE
        !            11: int add_pinhole(const char * ifname,
        !            12:                 const char * rem_host, unsigned short rem_port,
        !            13:                 const char * int_client, unsigned short int_port,
        !            14:                 int proto, unsigned int timestamp);
        !            15: 
        !            16: int update_pinhole(unsigned short uid, unsigned int timestamp);
        !            17: 
        !            18: int delete_pinhole(unsigned short uid);
        !            19: 
        !            20: int
        !            21: get_pinhole_info(unsigned short uid,
        !            22:                  char * rem_host, int rem_hostlen, unsigned short * rem_port,
        !            23:                  char * int_client, int int_clientlen, unsigned short * int_port,
        !            24:                  int * proto, unsigned int * timestamp,
        !            25:                  u_int64_t * packets, u_int64_t * bytes);
        !            26: 
        !            27: int clean_pinhole_list(unsigned int * next_timestamp);
        !            28: 
        !            29: #endif
        !            30: 
        !            31: #endif

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