summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pim6sd/pathnames.h
blob: bacd832ecdb361fc4c144f6f9e46ebfd03c659d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
 *  Copyright (c) 1998 by the University of Southern California.
 *  All rights reserved.
 *
 *  Permission to use, copy, modify, and distribute this software and
 *  its documentation in source and binary forms for lawful
 *  purposes and without fee is hereby granted, provided
 *  that the above copyright notice appear in all copies and that both
 *  the copyright notice and this permission notice appear in supporting
 *  documentation, and that any documentation, advertising materials,
 *  and other materials related to such distribution and use acknowledge
 *  that the software was developed by the University of Southern
 *  California and/or Information Sciences Institute.
 *  The name of the University of Southern California may not
 *  be used to endorse or promote products derived from this software
 *  without specific prior written permission.
 *
 *  THE UNIVERSITY OF SOUTHERN CALIFORNIA DOES NOT MAKE ANY REPRESENTATIONS
 *  ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY PURPOSE.  THIS SOFTWARE IS
 *  PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,
 *  INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 *  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND
 *  NON-INFRINGEMENT.
 *
 *  IN NO EVENT SHALL USC, OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY
 *  SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES, WHETHER IN CONTRACT,
 *  TORT, OR OTHER FORM OF ACTION, ARISING OUT OF OR IN CONNECTION WITH,
 *  THE USE OR PERFORMANCE OF THIS SOFTWARE.
 *
 *  Other copyrights might apply to parts of this software and are so
 *  noted when applicable.
 *
 * $FreeBSD$
 */
/*
 *  Questions concerning this software should be directed to
 *  Mickael Hoerdt (hoerdt@clarinet.u-strasbg.fr) LSIIT Strasbourg.
 *
 */
/*
 * This program has been derived from pim6dd.
 * The pim6dd program is covered by the license in the accompanying file
 * named "LICENSE.pim6dd".
 */
/*
 * This program has been derived from pimd.
 * The pimd program is covered by the license in the accompanying file
 * named "LICENSE.pimd".
 *
 */
/*
 * Part of this program has been derived from mrouted.
 * The mrouted program is covered by the license in the accompanying file
 * named "LICENSE.mrouted".
 *
 * The mrouted program is COPYRIGHT 1989 by The Board of Trustees of
 * Leland Stanford Junior University.
 *
 */

#ifndef PATHNAMES_H
#define	PATHNAMES_H

#define	_PATH_PIM6D_CONF	"/usr/local/v6/etc/pim6sd.conf"
#define	_PATH_PIM6D_LOGFILE	"/var/log/pim6sd.log"

#if (defined(BSD) && (BSD >= 199103))
	#define _PATH_PIM6D_PID		"/var/run/pim6sd.pid"
	#define _PATH_PIM6D_GENID	"/var/run/pim6sd.genid"
	#define _PATH_PIM6D_DUMP	"/var/run/pim6sd.dump"
	#define _PATH_PIM6D_CACHE	"/var/run/pim6sd.cache"
	#define _PATH_PIM6D_STAT	"/var/run/pim6sd.stat"
#else
	#define _PATH_PIM6D_PID		"/etc/pim6sd.pid"
	#define _PATH_PIM6D_GENID	"/etc/pim6sd.genid"
	#define _PATH_PIM6D_DUMP	"/etc/pim6sd.dump"
	#define _PATH_PIM6D_CACHE	"/etc/pim6sd.cache"
	#define _PATH_PIM6D_STAT	"/etc/pim6sd.stat"
#endif

#endif
OpenPOWER on IntegriCloud