SNMP_BPORT_OCTETS
if (len != SNMP_BPORT_OCTETS || octets == NULL || buf == NULL)
if (snmp_suboid_append(oid, (asn_subid_t) SNMP_BPORT_OCTETS) < 0)
uint8_t bport_id[SNMP_BPORT_OCTETS];
if ((value->v.octetstring.octets = malloc(SNMP_BPORT_OCTETS)) == NULL) {
value->v.octetstring.len = SNMP_BPORT_OCTETS;
memcpy(value->v.octetstring.octets, bport_id, SNMP_BPORT_OCTETS);