Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.c707 if (len != SNMP_NTP_TS_OCTETS || octets == NULL || buf == NULL) in snmp_oct2ntp_ts()
729 if (snmp_suboid_append(oid, (asn_subid_t) SNMP_NTP_TS_OCTETS) < 0) in snmp_ntp_ts2asn_oid()
749 suboid.len = SNMP_NTP_TS_OCTETS; in snmp_ntp_ts2asn_oid()
784 uint8_t ntp_ts[SNMP_NTP_TS_OCTETS]; in parse_ntp_ts()
824 if ((sv->v.octetstring.octets = malloc(SNMP_NTP_TS_OCTETS)) == NULL) { in parse_ntp_ts()
829 sv->v.octetstring.len = SNMP_NTP_TS_OCTETS; in parse_ntp_ts()
830 memcpy(sv->v.octetstring.octets, ntp_ts, SNMP_NTP_TS_OCTETS); in parse_ntp_ts()
H A Dbsnmptc.h53 #define SNMP_NTP_TS_OCTETS 8 macro