Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.h57 #define SNMP_BRIDGEID_OCTETS 8 macro
H A Dbsnmptc.c857 if (len != SNMP_BRIDGEID_OCTETS || octets == NULL || buf == NULL) in snmp_oct2bridgeid()
886 if (snmp_suboid_append(oid, (asn_subid_t) SNMP_BRIDGEID_OCTETS) < 0) in snmp_bridgeid2oct()
947 uint8_t bridge_id[SNMP_BRIDGEID_OCTETS]; in parse_bridge_id()
987 if ((sv->v.octetstring.octets = malloc(SNMP_BRIDGEID_OCTETS)) == NULL) { in parse_bridge_id()
992 sv->v.octetstring.len = SNMP_BRIDGEID_OCTETS; in parse_bridge_id()
993 memcpy(sv->v.octetstring.octets, bridge_id, SNMP_BRIDGEID_OCTETS); in parse_bridge_id()