Searched refs:asn_put_header (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/bsnmp/lib/
H A Dasn1.c162 asn_put_header(struct asn_buf *b, u_char type, asn_len_t len) function
207 if ((ret = asn_put_header(b, type, ASN_MAXLEN)) == ASN_ERR_OK)
321 if ((ret = asn_put_header(b, type, OCTETS - i)))
402 if ((ret = asn_put_header(b, type, OCTETS - i)))
515 if ((ret = asn_put_header(b, ASN_TYPE_OCTETSTRING, noctets)) != ASN_ERR_OK)
566 return (asn_put_header(b, ASN_TYPE_NULL, 0));
572 return (asn_put_header(b, ASN_CLASS_CONTEXT | except, 0));
702 if ((err1 = asn_put_header(b, ASN_TYPE_OBJID, len)) != ASN_ERR_OK)
813 if ((err = asn_put_header(b, ASN_CLASS_APPLICATION|ASN_APP_IPADDRESS,
H A Dasn1.h93 enum asn_err asn_put_header(struct asn_buf *, u_char, asn_len_t);
/freebsd-13-stable/lib/libbsnmp/libbsnmp/
H A DMakefile68 MLINKS+= asn1.3 asn_put_header.3
/freebsd-13-stable/contrib/bsnmp/tests/
H A Dasn1.cc267 REQUIRE(asn_put_header(&b, type, vlen) == err);
275 REQUIRE(asn_put_header(&b, type, vlen) == ASN_ERR_OK);

Completed in 164 milliseconds