Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/ntp/sntp/tests/
H A DpacketHandling.c59 TEST_ASSERT_EQUAL(LEAP_NOTINSYNC, PKT_LEAP(testpkt.li_vn_mode)); in test_GenerateUnauthenticatedPacket()
106 TEST_ASSERT_EQUAL(LEAP_NOTINSYNC, PKT_LEAP(testpkt.li_vn_mode)); in test_GenerateAuthenticatedPacket()
/freebsd-14.2/contrib/ntp/sntp/
H A Dnetworking.c266 if (LEAP_NOTINSYNC == PKT_LEAP(rpkt->li_vn_mode)) { in process_pkt()
H A Dmain.c1275 switch (PKT_LEAP(rpkt->li_vn_mode)) { in handle_pkt()
/freebsd-14.2/contrib/ntp/include/
H A Dntp.h606 #define PKT_LEAP(li_vn_mode) ((u_char)(((li_vn_mode) >> 6) & 0x3)) macro
/freebsd-14.2/contrib/ntp/ntpdate/
H A Dntpdate.c840 if (LEAP_NOTINSYNC == PKT_LEAP(rpkt->li_vn_mode) && in receive()
853 server->leap = PKT_LEAP(rpkt->li_vn_mode); in receive()
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_proto.c738 hisleap = PKT_LEAP(pkt->li_vn_mode); in receive()
1322 PKT_LEAP(pkt->li_vn_mode), in receive()
1411 PKT_LEAP(pkt->li_vn_mode), in receive()
2586 pleap = PKT_LEAP(pkt->li_vn_mode); in process_packet()
H A Dntp_io.c3279 PKT_LEAP(pkt->li_vn_mode),