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 */ variable4124 sys_ttl[(peer->ttl >= sys_ttlmax) ? sys_ttlmax : peer->ttl], in peer_xmit()4436 sys_ttl[(peer->ttl >= sys_ttlmax) ? sys_ttlmax : peer->ttl], in peer_xmit()4841 sys_ttl[(pool->ttl >= sys_ttlmax) ? sys_ttlmax : pool->ttl], in pool_xmit()5212 sys_ttl[i] = (u_char)((i * 256) / MAX_TTL); in init_proto()
3617 if (i < COUNTOF(sys_ttl)) in config_ttl()3618 sys_ttl[i++] = (u_char)curr_ttl->i; in config_ttl()3622 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()
9597 clamp access to 'sys_ttl' to avoid OOB conditions / undefined behaviour168484 make sizeof(sys_ttl) work