1: /* $Id: config.h,v 1.1.1.1 2023/09/27 11:25:11 misho Exp $ */
2: /* MiniUPnP project
3: * http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
4: * (c) 2006-2020 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.6.0"
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: /* When NO_BACKGROUND_NO_PIDFILE is defined, minissdpd does not go to
34: * background and does not create any pidfile */
35: /*#define NO_BACKGROUND_NO_PIDFILE*/
36:
37: /* define HAVE_IP_MREQN to use struct ip_mreqn instead of struct ip_mreq
38: * for setsockopt(IP_MULTICAST_IF). Available with Linux 2.4+,
39: * FreeBSD, etc. */
40: #define HAVE_IP_MREQN
41:
42: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>