/freebsd-11-stable/usr.sbin/ntp/ntpdc/ |
H A D | nl.c | 96 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-stable/contrib/ntp/include/ |
H A D | ntp.h | 230 #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 441 * Values for peer.stratum, sys_stratum 443 #define STRATUM_REFCLOCK ((u_char)0) /* default stratum */ 444 /* A stratum of 0 in the packet is mapped to 16 internally */ 547 u_char stratum; /* peer stratum */ member in struct:pkt 606 * Dealing with stratum [all...] |
H A D | ntpd.h | 292 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, int len, u_char *extra); 474 extern u_char sys_stratum; /* system stratum */ 496 extern int sys_floor; /* cluster stratum floor */ 497 extern int sys_ceiling; /* cluster stratum ceiling */
|
/freebsd-11-stable/contrib/ntp/ntpdc/ |
H A D | ntpdc_ops.c | 507 plist->stratum, ntp_poll, plist->reach, 516 /* Convert a refid & stratum (in host order) to a string */ 520 int stratum 523 if (stratum <= 1) { 603 (void) fprintf(fp, "hmode %s, pmode %s, stratum %d, precision %d\n", 605 pp->stratum, pp->precision); 612 (pp->flags & INFO_FLAG_REFCLOCK ? 0 : pp->stratum)), 990 (void) fprintf(fp, "stratum: %d\n", (int)is->stratum); 997 refid_string(is->refid, is->stratum)); [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_ntp/ |
H A D | snmp_ntp.c | 136 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-stable/contrib/ntp/ntpd/ |
H A D | ntpsim.c | 296 * Masquerade the reply as a stratum-1 server with a GPS clock 300 xpkt.stratum = STRATUM_TO_PKT(((u_char)1));
|
H A D | ntp_request.c | 762 ips->stratum = pp->stratum; 895 ip->stratum = pp->stratum; 1093 is->stratum = sys_stratum;
|
H A D | refclock_arc.c | 721 peer->stratum = 2; /* Default to stratum 2 not 0. */
|
H A D | refclock_msfees.c | 580 peer->stratum = stratumtouse[unit];
|
H A D | ntp_parser.c | 2828 yyerror("fudge factor: stratum value not in [0..16], ignored");
|
H A D | refclock_parse.c | 3080 peer->stratum = STRATUM_REFCLOCK; 3082 if (peer->stratum <= 1) 3346 parse->peer->stratum,
|
H A D | ntp_control.c | 342 { CS_STRATUM, RO, "stratum" }, /* 2 */ 507 { CP_STRATUM, RO, "stratum" }, /* 10 */ 626 { CC_FUDGEVAL1, RO, "stratum" }, /* 9 */ 2662 ctl_putuint(peer_var[id].text, p->stratum); 2692 if (REFID_ISTEXT(p->stratum)) 2973 /* RefID of clocks are always text even if stratum is fudged */
|
H A D | ntp_io.c | 3241 pkt->stratum,
|
/freebsd-11-stable/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 1590 { "stratum", 0 }, /* 2 */ 1608 { "stratum", 0 }, /* 2 */ 1628 { "stratum", 0 }, /* 3 */ 1677 u_long stratum = 0; local 1798 } else if (!strcmp("stratum", name)) { 1799 decodeuint(value, &stratum); 1926 stratum, type, 3959 VDC_INIT("stratum", "stratum: ", NTP_STR),
|