Back to index

glibc  2.9
Classes | Defines
timed.h File Reference
#include <rpc/types.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tsp
union  tsp.tsp_u

Defines

#define TSPVERSION   1
#define ANYADDR   NULL
#define tsp_time   tsp_u.tspu_time
#define tsp_hopcnt   tsp_u.tspu_hopcnt
#define TSP_ANY   0 /* match any types */
#define TSP_ADJTIME   1 /* send adjtime */
#define TSP_ACK   2 /* generic acknowledgement */
#define TSP_MASTERREQ   3 /* ask for master's name */
#define TSP_MASTERACK   4 /* acknowledge master request */
#define TSP_SETTIME   5 /* send network time */
#define TSP_MASTERUP   6 /* inform slaves that master is up */
#define TSP_SLAVEUP   7 /* slave is up but not polled */
#define TSP_ELECTION   8 /* advance candidature for master */
#define TSP_ACCEPT   9 /* support candidature of master */
#define TSP_REFUSE   10 /* reject candidature of master */
#define TSP_CONFLICT   11 /* two or more masters present */
#define TSP_RESOLVE   12 /* masters' conflict resolution */
#define TSP_QUIT   13 /* reject candidature if master is up */
#define TSP_DATE   14 /* reset the time (date command) */
#define TSP_DATEREQ   15 /* remote request to reset the time */
#define TSP_DATEACK   16 /* acknowledge time setting */
#define TSP_TRACEON   17 /* turn tracing on */
#define TSP_TRACEOFF   18 /* turn tracing off */
#define TSP_MSITE   19 /* find out master's site */
#define TSP_MSITEREQ   20 /* remote master's site request */
#define TSP_TEST   21 /* for testing election algo */
#define TSP_SETDATE   22 /* New from date command */
#define TSP_SETDATEREQ   23 /* New remote for above */
#define TSP_LOOP   24 /* loop detection packet */
#define TSPTYPENUMBER   25

Class Documentation

struct tsp

Definition at line 44 of file timed.h.

Class Members
char tsp_name
u_short tsp_seq
u_char tsp_type
union tsp tsp_u
u_char tsp_vers
union tsp.tsp_u

Definition at line 48 of file timed.h.

Class Members
char tspu_hopcnt

Define Documentation

#define ANYADDR   NULL

Definition at line 42 of file timed.h.

#define TSP_ACCEPT   9 /* support candidature of master */

Definition at line 70 of file timed.h.

#define TSP_ACK   2 /* generic acknowledgement */

Definition at line 63 of file timed.h.

#define TSP_ADJTIME   1 /* send adjtime */

Definition at line 62 of file timed.h.

#define TSP_ANY   0 /* match any types */

Definition at line 61 of file timed.h.

#define TSP_CONFLICT   11 /* two or more masters present */

Definition at line 72 of file timed.h.

#define TSP_DATE   14 /* reset the time (date command) */

Definition at line 75 of file timed.h.

#define TSP_DATEACK   16 /* acknowledge time setting */

Definition at line 77 of file timed.h.

#define TSP_DATEREQ   15 /* remote request to reset the time */

Definition at line 76 of file timed.h.

#define TSP_ELECTION   8 /* advance candidature for master */

Definition at line 69 of file timed.h.

#define tsp_hopcnt   tsp_u.tspu_hopcnt

Definition at line 56 of file timed.h.

#define TSP_LOOP   24 /* loop detection packet */

Definition at line 85 of file timed.h.

#define TSP_MASTERACK   4 /* acknowledge master request */

Definition at line 65 of file timed.h.

#define TSP_MASTERREQ   3 /* ask for master's name */

Definition at line 64 of file timed.h.

#define TSP_MASTERUP   6 /* inform slaves that master is up */

Definition at line 67 of file timed.h.

#define TSP_MSITE   19 /* find out master's site */

Definition at line 80 of file timed.h.

#define TSP_MSITEREQ   20 /* remote master's site request */

Definition at line 81 of file timed.h.

#define TSP_QUIT   13 /* reject candidature if master is up */

Definition at line 74 of file timed.h.

#define TSP_REFUSE   10 /* reject candidature of master */

Definition at line 71 of file timed.h.

#define TSP_RESOLVE   12 /* masters' conflict resolution */

Definition at line 73 of file timed.h.

#define TSP_SETDATE   22 /* New from date command */

Definition at line 83 of file timed.h.

#define TSP_SETDATEREQ   23 /* New remote for above */

Definition at line 84 of file timed.h.

#define TSP_SETTIME   5 /* send network time */

Definition at line 66 of file timed.h.

#define TSP_SLAVEUP   7 /* slave is up but not polled */

Definition at line 68 of file timed.h.

#define TSP_TEST   21 /* for testing election algo */

Definition at line 82 of file timed.h.

#define tsp_time   tsp_u.tspu_time

Definition at line 55 of file timed.h.

#define TSP_TRACEOFF   18 /* turn tracing off */

Definition at line 79 of file timed.h.

#define TSP_TRACEON   17 /* turn tracing on */

Definition at line 78 of file timed.h.

#define TSPTYPENUMBER   25

Definition at line 87 of file timed.h.

#define TSPVERSION   1

Definition at line 41 of file timed.h.