Searched refs:has_mac (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.3-release/contrib/ntp/ntpd/
H A Dntp_proto.c594 int has_mac; /* length of MAC field */ local
768 has_mac = rbufp->recv_length - authlen;
769 while (has_mac > 0) {
776 if (has_mac % 4 != 0 || has_mac < (int)MIN_MAC_LEN) {
785 if (has_mac <= (int)MAX_MAC_LEN) {
828 has_mac -= len;
833 * If has_mac is < 0 we had a malformed packet.
835 if (has_mac < 0) {
855 if (restrict_mask & RES_DONTTRUST && has_mac
[all...]
/freebsd-10.3-release/contrib/ntp/ntpdate/
H A Dntpdate.c743 int has_mac; local
753 has_mac = 0;
755 has_mac = 1;
813 if (has_mac && ntohl(rpkt->exten[0]) == sys_authkey &&

Completed in 80 milliseconds