63179a1f7f
Change the list of LAN addresses/interfaces (code taken from miniupnpd) Check that the peer is from a LAN for each SSDP packet
18 lines
464 B
C
18 lines
464 B
C
/* $Id: ifacewatch.h,v 1.4 2014/11/28 16:20:57 nanard Exp $ */
|
|
/* MiniUPnP project
|
|
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
|
* (c) 2011-2014 Thomas Bernard
|
|
* This software is subject to the conditions detailed
|
|
* in the LICENCE file provided within the distribution */
|
|
|
|
#ifndef IFACEWATCH_H_INCLUDED
|
|
#define IFACEWATCH_H_INCLUDED
|
|
|
|
int
|
|
OpenAndConfInterfaceWatchSocket(void);
|
|
|
|
int
|
|
ProcessInterfaceWatch(int s, int s_ssdp, int s_ssdp6);
|
|
|
|
#endif
|