Searched refs:NTP_MINPOLL (Results 1 – 11 of 11) sorted by relevance
144 #define PSL_ENTRIES (NTP_MAXPOLL - NTP_MINPOLL + 1)1464 if (option->value.i < NTP_MINPOLL || in create_peer_node()1468 option->value.i, NTP_MINPOLL, in create_peer_node()1470 my_node->minpoll = NTP_MINPOLL; in create_peer_node()3051 } else if ( atrv->attr < NTP_MINPOLL in config_access()3055 atrv->attr, NTP_MINPOLL, NTP_MAXPOLL); in config_access()3065 for (i = NTP_MINPOLL; i <= NTP_MAXPOLL; ++i) { in config_access()3081 for (p = NTP_MINPOLL; p <= NTP_MAXPOLL; ++p) { in config_access()3139 DEBUG_INSIST(NTP_MINPOLL <= p && NTP_MAXPOLL >= p); in get_pollskew()3141 if (NTP_MINPOLL <= p && p <= NTP_MAXPOLL) { in get_pollskew()[all …]
87 u_char ntp_minpoll = NTP_MINPOLL; /* minimum average log2 seconds */
973 peer->maxpoll = CLAMP(peer->maxpoll, NTP_MINPOLL, NTP_MAXPOLL); in newpeer()974 peer->minpoll = CLAMP(peer->minpoll, NTP_MINPOLL, peer->maxpoll); in newpeer()
818 && ( (NTP_MINPOLL > pkt->ppoll) in receive()2320 if ( (NTP_MINPOLL > pkt->ppoll) in receive()
3520 (yyval.Attr_val) = ((yyvsp[0].Integer) >= NTP_MINPOLL && (yyvsp[0].Integer) <= NTP_MAXPOLL) in yyparse()
104 #define NTP_MINPOLL 3 /* log2 min poll interval (8 s) */ macro
499 NTP_MINPOLL); in dopeers()1424 if (minpoll < NTP_MINPOLL || minpoll > NTP_MAXPOLL || in doconfig()1425 maxpoll < NTP_MINPOLL || maxpoll > NTP_MAXPOLL || in doconfig()1428 NTP_MINPOLL, NTP_MAXPOLL); in doconfig()
696 xpkt.ppoll = NTP_MINPOLL; in transmit()
1828 hpoll = NTP_MINPOLL; in doprintpeers()1831 ppoll = NTP_MINPOLL; in doprintpeers()
798 NTP_MINPOLL.
2692 Use NTP_MINPOLL/NTP_MAXPOLL instead of hard-coding.3162 Replace magic numbers 3 & 17 with NTP_MINPOLL and NTP_MAXPOLL.