Searched refs:PKT_VERSION (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10.1/ntp-92/sntp/
H A Dnetworking.c462 if (PKT_VERSION(rpkt->li_vn_mode) < NTP_OLDVERSION ||
463 PKT_VERSION(rpkt->li_vn_mode) > NTP_VERSION) {
466 PKT_VERSION(rpkt->li_vn_mode));
665 if (PKT_VERSION(rpkt->li_vn_mode) < NTP_OLDVERSION ||
666 PKT_VERSION(rpkt->li_vn_mode) > NTP_VERSION) {
668 printf("sntp recvpkt: Packet got wrong version (%i)\n", PKT_VERSION(rpkt->li_vn_mode));
/macosx-10.10.1/ntp-92/ntpd/
H A Dntp_monitor.c244 md->version = PKT_VERSION(pkt->li_vn_mode);
338 md->version = PKT_VERSION(pkt->li_vn_mode);
H A Dntp_proto.c350 hisversion = PKT_VERSION(pkt->li_vn_mode);
3271 PKT_VERSION(rpkt->li_vn_mode), xmode);
3284 PKT_VERSION(rpkt->li_vn_mode), xmode);
H A Dntp_control.c717 res_version = PKT_VERSION(pkt->li_vn_mode);
/macosx-10.10.1/ntp-92/ntpdate/
H A Dntptimeset.c996 if (PKT_VERSION(rpkt->li_vn_mode) < NTP_OLDVERSION ||
997 PKT_VERSION(rpkt->li_vn_mode) > NTP_VERSION) {
1000 PKT_VERSION(rpkt->li_vn_mode));
H A Dntpdate.c770 if (PKT_VERSION(rpkt->li_vn_mode) < NTP_OLDVERSION ||
771 PKT_VERSION(rpkt->li_vn_mode) > NTP_VERSION) {
/macosx-10.10.1/ntp-92/include/
H A Dntp.h582 #define PKT_VERSION(li_vn_mode) ((u_char)(((li_vn_mode) >> 3) & 0x7)) macro
/macosx-10.10.1/ntp-92/ntpq/
H A Dntpq.c942 if (PKT_VERSION(rpkt.li_vn_mode) > NTP_VERSION
943 || PKT_VERSION(rpkt.li_vn_mode) < NTP_OLDVERSION) {
946 PKT_VERSION(rpkt.li_vn_mode));

Completed in 275 milliseconds