Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/ntp/ntpd/
Dntp_proto.c631 int has_mac; /* length of MAC field */ in receive() local
840 has_mac = rbufp->recv_length - authlen; in receive()
841 while (has_mac > 0) { in receive()
848 if (has_mac % 4 != 0 || has_mac < (int)MIN_MAC_LEN) { in receive()
857 if (has_mac <= (int)MAX_MAC_LEN) { in receive()
900 has_mac -= len; in receive()
907 if (has_mac < 0) { in receive()
927 if (restrict_mask & RES_DONTTRUST && has_mac == 0) { in receive()
1030 if (has_mac == 0) { in receive()
1045 skeyid, authlen + has_mac, is_authentic, in receive()
[all …]
/freebsd-12-stable/contrib/ntp/ntpdate/
Dntpdate.c755 int has_mac; in receive() local
765 has_mac = 0; in receive()
767 has_mac = 1; in receive()
825 if (has_mac && ntohl(rpkt->exten[0]) == sys_authkey && in receive()