Merge branch 'tomato-ND-USBmod' into tomato-RT
[tomato.git] / release / src / router / radvd / pathnames.h
blob19eb70ce6cbfc5e233f041f4dc4e2e98bc61f13e
1 /*
2 * $Id: pathnames.h,v 1.9 2010/12/14 11:58:21 psavola Exp $
4 * Authors:
5 * Pedro Roque <roque@di.fc.ul.pt>
6 * Lars Fenneberg <lf@elemental.net>
8 * This software is Copyright 1996,1997 by the above mentioned author(s),
9 * All Rights Reserved.
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>.
17 #ifndef PATHNAMES_H
18 #define PATHNAMES_H
20 #ifndef PATH_RADVD_CONF
21 #define PATH_RADVD_CONF "/etc/radvd.conf"
22 #endif
24 #ifndef PATH_RADVD_PID
25 #define PATH_RADVD_PID "/var/run/radvd.pid"
26 #endif
28 #ifndef PATH_RADVD_LOG
29 #define PATH_RADVD_LOG "/var/log/radvd.log"
30 #endif
32 #define PATH_PROC_NET_IF_INET6 "/proc/net/if_inet6"
33 #define PATH_PROC_NET_IGMP6 "/proc/net/igmp6"
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
48 #endif