Electroneum
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/* $Id: config.h,v 1.10 2018/02/23 13:58:14 nanard Exp $ */
2/* MiniUPnP project
3 * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
4 * (c) 2006-2018 Thomas Bernard
5 * This software is subject to the conditions detailed
6 * in the LICENCE file provided within the distribution */
7#ifndef CONFIG_H_INCLUDED
8#define CONFIG_H_INCLUDED
9
10#define MINISSDPD_VERSION "1.5"
11
12/* use BSD daemon() ? */
13#define USE_DAEMON
14
15/* set the syslog facility to use. See man syslog(3) and syslog.conf(5). */
16#define LOG_MINISSDPD LOG_DAEMON
17
18/* enable IPv6 */
19#define ENABLE_IPV6
20
21/* The size of unix socket response buffer */
22#define RESPONSE_BUFFER_SIZE (1024 * 4)
23
24/* Uncomment the following line in order to make minissdpd
25 * listen on 1.2.3.4:1900 instead of *:1900
26 * FOR TESTING PURPOSE ONLY
27 * Note : it prevents multicast packets to be received,
28 * at least with linux
29 * As miniSSDPd needs to receive SSDP packets both multicasted
30 * and unicasted, we cannot bind to 239.255.255.250 neither */
31/*#define SSDP_LISTEN_ON_SPECIFIC_ADDR*/
32
33#endif