Searched refs:sys_ttl (Results 1 – 5 of 5) sorted by relevance
498 extern u_char sys_ttl[MAX_TTL]; /* ttl mapping vector */
176 u_char sys_ttl[MAX_TTL]; /* ttl mapping vector */ variable4131 sys_ttl[(peer->ttl >= sys_ttlmax) ? sys_ttlmax : peer->ttl], in peer_xmit()4443 sys_ttl[(peer->ttl >= sys_ttlmax) ? sys_ttlmax : peer->ttl], in peer_xmit()4848 sys_ttl[(pool->ttl >= sys_ttlmax) ? sys_ttlmax : pool->ttl], in pool_xmit()5219 sys_ttl[i] = (u_char)((i * 256) / MAX_TTL); in init_proto()
3627 if (i < COUNTOF(sys_ttl)) in config_ttl()3628 sys_ttl[i++] = (u_char)curr_ttl->i; in config_ttl()3632 COUNTOF(sys_ttl), curr_ttl->i); in config_ttl()
2735 if (p->ttl > 0 && p->ttl < COUNTOF(sys_ttl)) in ctl_putpeer()2737 sys_ttl[p->ttl]); in ctl_putpeer()
10310 clamp access to 'sys_ttl' to avoid OOB conditions / undefined behaviour169197 make sizeof(sys_ttl) work