Searched refs:sys_ttl (Results 1 – 5 of 5) sorted by relevance
543 extern u_char sys_ttl[MAX_TTL]; /* ttl mapping vector */
176 u_char sys_ttl[MAX_TTL]; /* ttl mapping vector */ variable4219 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()
3726 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()
2729 if (p->ttl > 0 && p->ttl < COUNTOF(sys_ttl)) in ctl_putpeer()2731 sys_ttl[p->ttl]); in ctl_putpeer()
19666 clamp access to 'sys_ttl' to avoid OOB conditions / undefined behaviour178553 make sizeof(sys_ttl) work