Annotation of embedaddon/miniupnpd/pf/pfpinhole.h, revision 1.1
1.1 ! misho 1: /* $Id: pfpinhole.h,v 1.10 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:
! 8: #ifndef PFPINHOLE_H_INCLUDED
! 9: #define PFPINHOLE_H_INCLUDED
! 10:
! 11: #ifdef ENABLE_6FC_SERVICE
! 12: int add_pinhole(const char * ifname,
! 13: const char * rem_host, unsigned short rem_port,
! 14: const char * int_client, unsigned short int_port,
! 15: int proto, unsigned int timestamp);
! 16:
! 17: int delete_pinhole(unsigned short uid);
! 18:
! 19: int
! 20: get_pinhole_info(unsigned short uid,
! 21: char * rem_host, int rem_hostlen, unsigned short * rem_port,
! 22: char * int_client, int int_clientlen, unsigned short * int_port,
! 23: int * proto, unsigned int * timestamp,
! 24: u_int64_t * packets, u_int64_t * bytes);
! 25:
! 26: int update_pinhole(unsigned short uid, unsigned int timestamp);
! 27:
! 28: int clean_pinhole_list(unsigned int * next_timestamp);
! 29:
! 30: #endif
! 31:
! 32: #endif
! 33:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>