Home
last modified time | relevance | path

Searched refs:sys_ttl (Results 1 – 5 of 5) sorted by relevance

/src/contrib/ntp/include/ !
H A Dntpd.h543 extern u_char sys_ttl[MAX_TTL]; /* ttl mapping vector */
/src/contrib/ntp/ntpd/ !
H A Dntp_proto.c176 u_char sys_ttl[MAX_TTL]; /* ttl mapping vector */ variable
4219 sys_ttl[(peer->ttl >= sys_ttlmax) ? sys_ttlmax : peer->ttl], in peer_xmit()
4530 sys_ttl[(peer->ttl >= sys_ttlmax) ? sys_ttlmax : peer->ttl], in peer_xmit()
4962 sys_ttl[(pool->ttl >= sys_ttlmax) ? sys_ttlmax : pool->ttl], in pool_xmit()
5346 sys_ttl[i] = (u_char)((i * 256) / MAX_TTL); in init_proto()
H A Dntp_config.c3726 if (i < COUNTOF(sys_ttl)) in config_ttl()
3727 sys_ttl[i++] = (u_char)curr_ttl->i; in config_ttl()
3731 COUNTOF(sys_ttl), curr_ttl->i); in config_ttl()
H A Dntp_control.c2729 if (p->ttl > 0 && p->ttl < COUNTOF(sys_ttl)) in ctl_putpeer()
2731 sys_ttl[p->ttl]); in ctl_putpeer()
/src/contrib/ntp/ !
H A DCommitLog19666 clamp access to 'sys_ttl' to avoid OOB conditions / undefined behaviour
178553 make sizeof(sys_ttl) work