1/*
2 *   $Id: pathnames.h,v 1.8 2005/12/30 15:13:11 psavola Exp $
3 *
4 *   Authors:
5 *    Pedro Roque		<roque@di.fc.ul.pt>
6 *    Lars Fenneberg		<lf@elemental.net>
7 *
8 *   This software is Copyright 1996,1997 by the above mentioned author(s),
9 *   All Rights Reserved.
10 *
11 *   The license which is distributed with this software in the file COPYRIGHT
12 *   applies to this software. If your distribution is missing this file, you
13 *   may request it from <pekkas@netcore.fi>.
14 *
15 */
16
17#ifndef PATHNAMES_H
18#define PATHNAMES_H
19
20#ifndef PATH_RADVD_CONF
21#define PATH_RADVD_CONF "/etc/radvd.conf"
22#endif
23
24#ifndef PATH_RADVD_PID
25#define PATH_RADVD_PID "/var/run/radvd.pid"
26#endif
27
28#ifndef PATH_RADVD_LOG
29#define PATH_RADVD_LOG "/var/log/radvd.log"
30#endif
31
32#define PATH_PROC_NET_IF_INET6 "/proc/net/if_inet6"
33#define PATH_PROC_NET_IGMP6 "/proc/net/igmp6"
34
35#ifdef __linux__
36#define SYSCTL_IP6_FORWARDING CTL_NET, NET_IPV6, NET_IPV6_CONF, NET_PROTO_CONF_ALL, NET_IPV6_FORWARDING
37#define PROC_SYS_IP6_FORWARDING "/proc/sys/net/ipv6/conf/all/forwarding"
38#define PROC_SYS_IP6_LINKMTU "/proc/sys/net/ipv6/conf/%s/mtu"
39#define PROC_SYS_IP6_CURHLIM "/proc/sys/net/ipv6/conf/%s/hop_limit"
40#define PROC_SYS_IP6_BASEREACHTIME_MS "/proc/sys/net/ipv6/neigh/%s/base_reachable_time_ms"
41#define PROC_SYS_IP6_BASEREACHTIME "/proc/sys/net/ipv6/neigh/%s/base_reachable_time"
42#define PROC_SYS_IP6_RETRANSTIMER_MS "/proc/sys/net/ipv6/neigh/%s/retrans_time_ms"
43#define PROC_SYS_IP6_RETRANSTIMER "/proc/sys/net/ipv6/neigh/%s/retrans_time"
44#else /* BSD */
45#define SYSCTL_IP6_FORWARDING CTL_NET, PF_INET6, IPPROTO_IPV6, IPV6CTL_FORWARDING
46#endif
47
48#endif
49