Searched refs:stratum (Results 26 - 38 of 38) sorted by relevance

12

/freebsd-11.0-release/usr.sbin/ntp/ntpdc/
H A Dnl.c96 printf("offsetof(stratum) = %d\n",
97 (int) offsetof(struct info_peer_summary, stratum));
140 printf("offsetof(stratum) = %d\n",
141 (int) offsetof(struct info_peer, stratum));
304 printf("offsetof(stratum) = %d\n",
305 (int) offsetof(struct info_sys, stratum));
/freebsd-11.0-release/contrib/ntp/include/
H A Dntp.h230 #define TEST6 0x0020 /* bad synch or stratum */
239 #define TEST10 0x0200 /* peer bad synch or stratum */
295 u_char stratum; /* remote stratum */ member in struct:peer
440 * Values for peer.stratum, sys_stratum
442 #define STRATUM_REFCLOCK ((u_char)0) /* default stratum */
443 /* A stratum of 0 in the packet is mapped to 16 internally */
545 u_char stratum; /* peer stratum */ member in struct:pkt
602 * Dealing with stratum
[all...]
H A Dntpd.h291 extern void record_raw_stats (sockaddr_u *srcadr, sockaddr_u *dstadr, l_fp *t1, l_fp *t2, l_fp *t3, l_fp *t4, int leap, int version, int mode, int stratum, int ppoll, int precision, double root_delay, double root_dispersion, u_int32 refid);
473 extern u_char sys_stratum; /* system stratum */
495 extern int sys_floor; /* cluster stratum floor */
496 extern int sys_ceiling; /* cluster stratum ceiling */
/freebsd-11.0-release/contrib/ntp/ntpdc/
H A Dntpdc_ops.c500 plist->stratum, ntp_poll, plist->reach,
509 /* Convert a refid & stratum (in host order) to a string */
513 int stratum
516 if (stratum <= 1) {
596 (void) fprintf(fp, "hmode %s, pmode %s, stratum %d, precision %d\n",
598 pp->stratum, pp->precision);
604 refid_string(pp->refid, pp->stratum), fptoa(NTOHS_FP(pp->rootdelay), 5),
981 (void) fprintf(fp, "stratum: %d\n", (int)is->stratum);
988 refid_string(is->refid, is->stratum));
[all...]
/freebsd-11.0-release/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c136 int32_t stratum; /* Stratum */ member in struct:peer
775 "leap,stratum,precision,rootdelay,rootdispersion,refid,reftime,"
810 } else if (strcmp(name, "stratum") == 0 ||
811 strcmp(name, "sys.stratum") == 0) {
960 "config,srcadr,srcport,dstadr,dstport,leap,hmode,stratum,"
1015 } else if (strcmp(name, "stratum") == 0 ||
1016 strcmp(name, "peer.stratum") == 0) {
1017 val_parse_int32(val, &p->stratum, 0, 255, 0);
1283 value->v.integer = t->stratum;
/freebsd-11.0-release/contrib/ntp/ntpd/
H A Dntpsim.c295 * Masquerade the reply as a stratum-1 server with a GPS clock
299 xpkt.stratum = STRATUM_TO_PKT(((u_char)1));
H A Dntp_request.c761 ips->stratum = pp->stratum;
893 ip->stratum = pp->stratum;
1091 is->stratum = sys_stratum;
H A Dntp_parser.c2712 yyerror("fudge factor: stratum value not in [0..16], ignored");
H A Drefclock_arc.c721 peer->stratum = 2; /* Default to stratum 2 not 0. */
H A Drefclock_msfees.c580 peer->stratum = stratumtouse[unit];
H A Dntp_control.c337 { CS_STRATUM, RO, "stratum" }, /* 2 */
500 { CP_STRATUM, RO, "stratum" }, /* 10 */
619 { CC_FUDGEVAL1, RO, "stratum" }, /* 9 */
2604 ctl_putuint(peer_var[id].text, p->stratum);
2634 if (p->stratum > 1 && p->stratum < STRATUM_UNSPEC)
H A Drefclock_parse.c3079 peer->stratum = STRATUM_REFCLOCK;
3081 if (peer->stratum <= 1)
3345 parse->peer->stratum,
/freebsd-11.0-release/contrib/ntp/ntpq/
H A Dntpq-subs.c1533 { "stratum", 0 }, /* 2 */
1551 { "stratum", 0 }, /* 2 */
1571 { "stratum", 0 }, /* 3 */
1620 u_long stratum = 0; local
1736 } else if (!strcmp("stratum", name)) {
1737 decodeuint(value, &stratum);
1856 stratum, type,
3870 VDC_INIT("stratum", "stratum: ", NTP_STR),

Completed in 139 milliseconds

12