Searched refs:PKT_LEAP (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/contrib/ntp/sntp/tests/
H A DpacketHandling.c59 TEST_ASSERT_EQUAL(LEAP_NOTINSYNC, PKT_LEAP(testpkt.li_vn_mode));
96 TEST_ASSERT_EQUAL(LEAP_NOTINSYNC, PKT_LEAP(testpkt.li_vn_mode));
/freebsd-13-stable/contrib/ntp/sntp/
H A Dnetworking.c266 if (LEAP_NOTINSYNC == PKT_LEAP(rpkt->li_vn_mode)) {
H A Dmain.c1274 switch (PKT_LEAP(rpkt->li_vn_mode)) {
/freebsd-13-stable/contrib/ntp/include/
H A Dntp.h595 #define PKT_LEAP(li_vn_mode) ((u_char)(((li_vn_mode) >> 6) & 0x3)) macro
/freebsd-13-stable/contrib/ntp/ntpdate/
H A Dntpdate.c840 if (LEAP_NOTINSYNC == PKT_LEAP(rpkt->li_vn_mode) &&
853 server->leap = PKT_LEAP(rpkt->li_vn_mode);
/freebsd-13-stable/contrib/ntp/ntpd/
H A Dntp_proto.c725 hisleap = PKT_LEAP(pkt->li_vn_mode);
1280 PKT_LEAP(pkt->li_vn_mode),
1353 PKT_LEAP(pkt->li_vn_mode),
2498 pleap = PKT_LEAP(pkt->li_vn_mode);
H A Dntp_io.c3238 PKT_LEAP(pkt->li_vn_mode),

Completed in 153 milliseconds