Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/ntpd/
H A Dntp_proto.c640 int has_mac; /* length of MAC field */ in receive() local
857 has_mac = rbufp->recv_length - authlen; in receive()
858 while (has_mac > 0) { in receive()
865 if (has_mac % 4 != 0 || has_mac < (int)MIN_MAC_LEN) { in receive()
874 if (has_mac <= (int)MAX_MAC_LEN) { in receive()
917 has_mac -= len; in receive()
924 if (has_mac < 0) { in receive()
944 if (restrict_mask & RES_DONTTRUST && has_mac == 0) { in receive()
1049 if (has_mac == 0) { in receive()
1064 skeyid, authlen + has_mac, is_authentic, in receive()
[all …]
/freebsd/contrib/ntp/ntpdate/
H A 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()