OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MASTER
(Results
1 - 8
of
8
) sorted by relevancy
/src/usr.sbin/timed/timed/
globals.h
64
#define SAMPLEINTVL 240 /* synch() freq for
master
in sec */
94
#define NOMASTER 0 /* no good
master
*/
96
#define
MASTER
2
98
#define ALL (SLAVE|
MASTER
|IGNORE)
99
#define SUBMASTER (SLAVE|
MASTER
)
152
extern int nmasternets; /* nets where I could be a
master
*/
slave.c
97
if (status &
MASTER
) {
99
if (ntp->status ==
MASTER
)
115
fprintf(fd, "Looking for nets to
master
\n");
122
if (ntp->status ==
MASTER
) {
124
} else if (ntp->status ==
MASTER
) {
128
if (ntp->status ==
MASTER
142
if (ntp->status ==
MASTER
) {
278
if (status &
MASTER
)
289
* Imagine that the third machine goes away and the non-
master
gateway
339
if (fromnet->status !=
MASTER
)
[
all
...]
master.c
1
/* $NetBSD:
master
.c,v 1.18 2007/01/26 16:12:41 christos Exp $ */
35
static char sccsid[] = "@(#)
master
.c 8.1 (Berkeley) 6/6/93";
37
__RCSID("$NetBSD:
master
.c,v 1.18 2007/01/26 16:12:41 christos Exp $");
62
* The main function of `
master
' is to periodically compute the differences
67
*
master
's name, remote requests to set the network time, ...), and
71
master
(void)
function in typeref:typename:void
86
syslog(LOG_NOTICE, "This machine is
master
");
88
fprintf(fd, "This machine is
master
\n");
90
if (ntp->status ==
MASTER
)
116
/* If a bogus
master
told us to quit, we can have decided to ignore
[
all
...]
candidate.c
42
* `election' candidates a host as
master
: it is called by a slave
74
syslog(LOG_INFO, "This machine is a candidate time
master
");
76
fprintf(fd, "This machine is a candidate time
master
\n");
91
return(
MASTER
);
103
* time, give up, and let it be the
master
.
131
/* no
master
for another round */
timed.c
72
int nmasternets; /* nets where I could be a
master
*/
108
* One daemon runs as
master
, all the others as slaves. The
master
111
* Slaves start an election to choose a new
master
when the latter disappears
198
/* If we care about which machine is the
master
, then we must
199
* be willing to be a
master
361
/* Just lost our
master
*/
364
if (!slavenet || slavenet->status ==
MASTER
) {
380
if (!(status &
MASTER
) && sock_raw != -1) {
386
if (status ==
MASTER
)
[
all
...]
readmsg.c
276
*
master
processing time.
301
else if (fromnet->status ==
MASTER
)
404
* to the messages received by a
master
/src/sbin/ifconfig/
carp.c
71
enum carpstateval { INIT = 0, BACKUP,
MASTER
};
78
, {.k_word = "
MASTER
", .k_type = KW_T_INT, .k_int =
MASTER
,
/src/sys/netinet/
ip_carp.c
124
enum { INIT = 0, BACKUP,
MASTER
} sc_state;
150
struct callout sc_md_tmo; /*
master
down timeout */
151
struct callout sc_md6_tmo; /*
master
down timeout */
399
* carp interfaces which are
master
and have the same
778
case
MASTER
:
786
CARP_LOG(sc, ("
MASTER
-> BACKUP (more frequent advertisement received)"));
798
CARP_LOG(sc, ("BACKUP ->
MASTER
(preempting a slower
master
)"));
804
* If the
master
is going to advertise at such a low frequency
810
CARP_LOG(sc, ("BACKUP ->
MASTER
(master timed out)"))
[
all
...]
Completed in 17 milliseconds
Indexes created Thu Oct 23 18:09:57 GMT 2025