Annotation of embedaddon/miniupnpd/natpmp.h, revision 1.1.1.1
1.1 misho 1: /* $Id: natpmp.h,v 1.6 2010/01/14 18:44:31 nanard Exp $ */
2: /* MiniUPnP project
3: * author : Thomas Bernard
4: * website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
5: */
6: #ifndef __NATPMP_H__
7: #define __NATPMP_H__
8:
9: #define NATPMP_PORT (5351)
10: #define NATPMP_NOTIF_ADDR ("224.0.0.1")
11:
12: int OpenAndConfNATPMPSockets(int * sockets);
13:
14: void ProcessIncomingNATPMPPacket(int s);
15:
16: int ScanNATPMPforExpiration();
17:
18: int CleanExpiredNATPMP();
19:
20: void SendNATPMPPublicAddressChangeNotification(int * sockets, int n_sockets);
21:
22: #endif
23:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>