Lines Matching refs:oid
385 agentx_session(struct agentx *ax, uint32_t oid[], in agentx_session() argument
400 if (agentx_oidfill((&axs->axs_oid), oid, oidlen, in agentx_session()
745 const uint32_t oid[], size_t oidlen, int active, int instance) in agentx_context_object_find() argument
750 if (agentx_oidfill(&(axo_search.axo_oid), oid, oidlen, &errstr) == -1) { in agentx_context_object_find()
760 axo_search.axo_oid.aoi_id[0] = oid[0]; in agentx_context_object_find()
776 const uint32_t oid[], size_t oidlen, int active, int inclusive)
781 if (agentx_oidfill(&(axo_search.axo_oid), oid, oidlen, &errstr) == -1) {
791 axo_search.axo_oid.aoi_id[0] = oid[0];
879 agentx_agentcaps(struct agentx_context *axc, uint32_t oid[],
892 if (agentx_oidfill(&(axa->axa_oid), oid, oidlen, &errstr) == -1) {
1101 agentx_region(struct agentx_context *axc, uint32_t oid[],
1111 if (agentx_oidfill(&tmpoid, oid, oidlen, &errstr) == -1) {
1418 agentx_index_integer_new(struct agentx_region *axr, uint32_t oid[],
1425 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1439 agentx_index_integer_any(struct agentx_region *axr, uint32_t oid[],
1446 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1460 agentx_index_integer_value(struct agentx_region *axr, uint32_t oid[],
1477 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1491 agentx_index_integer_dynamic(struct agentx_region *axr, uint32_t oid[],
1498 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1511 agentx_index_string_dynamic(struct agentx_region *axr, uint32_t oid[],
1518 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1533 agentx_index_nstring_dynamic(struct agentx_region *axr, uint32_t oid[],
1552 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1567 agentx_index_oid_dynamic(struct agentx_region *axr, uint32_t oid[],
1574 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1588 agentx_index_noid_dynamic(struct agentx_region *axr, uint32_t oid[],
1607 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1621 agentx_index_ipaddress_dynamic(struct agentx_region *axr, uint32_t oid[],
1628 if (agentx_oidfill(&(vb.avb_oid), oid, oidlen, &errstr) == -1) {
1991 agentx_object(struct agentx_region *axr, uint32_t oid[], size_t oidlen,
2016 if (agentx_oidfill(&(axo_search.axo_oid), oid, oidlen, &errstr) == -1) {
2155 struct ax_oid oid; local
2184 bcopy(&(axo->axo_oid), &(oid), sizeof(oid));
2196 oid.aoi_id[oid.aoi_idlen++] =
2201 AX_PRIORITY_DEFAULT, 0, &oid, 0);
2210 oids, flags ? "instance" : "region", ax_oid2string(&(oid)));
2220 struct ax_oid oid; local
2236 bcopy(&(axo->axo_oid), &oid, sizeof(oid));
2249 oid.aoi_id[oid.aoi_idlen++] =
2262 oids, flags ? "instance" : "region", ax_oid2string(&oid),
2268 flags ? "instance" : "region", ax_oid2string(&oid));
2311 struct ax_oid oid; local
2341 bcopy(&(axo->axo_oid), &(oid), sizeof(oid));
2353 oid.aoi_id[oid.aoi_idlen++] =
2357 AGENTX_CONTEXT_CTX(axc), AX_PRIORITY_DEFAULT, 0, &oid, 0);
2366 oids, flags ? "instance" : "region", ax_oid2string(&(oid)));
2379 struct ax_oid oid; local
2392 bcopy(&(axo->axo_oid), &(oid), sizeof(oid));
2405 oid.aoi_id[oid.aoi_idlen++] =
2414 ax_oid2string(&oid), ax_error2string(
2420 flags ? "instance" : "region", ax_oid2string(&oid));
2786 struct ax_oid *oid; local
2840 oid = &(axv->axv_vb.avb_oid);
2843 if (oid->aoi_idlen != axo->axo_oid.aoi_idlen + 1 ||
2844 oid->aoi_id[oid->aoi_idlen - 1] != 0) {
2849 if (oid->aoi_idlen == axo->axo_oid.aoi_idlen) {
2850 oid->aoi_id[oid->aoi_idlen++] = 0;
2860 j = oid->aoi_idlen;
2896 oid->aoi_id[j])
2899 oid->aoi_id[j])
2904 else if (j >= oid->aoi_idlen || overflow == -1)
2907 if (oid->aoi_id[j] > INT32_MAX) {
2912 oid->aoi_id[j];
2920 } else if (j >= oid->aoi_idlen || overflow == -1) {
2926 data->avb_ostring.aos_slen = oid->aoi_idlen - j;
2928 data->avb_ostring.aos_slen = oid->aoi_id[j++];
2950 if (j < oid->aoi_idlen && oid->aoi_id[j] > 0xff)
2954 else if (j >= oid->aoi_idlen || overflow == -1)
2958 oid->aoi_id[j];
2967 } else if (j >= oid->aoi_idlen || overflow == -1) {
2972 data->avb_oid.aoi_idlen = oid->aoi_idlen - j;
2974 data->avb_oid.aoi_idlen = oid->aoi_id[j++];
2987 else if (j >= oid->aoi_idlen || overflow == -1)
2991 oid->aoi_id[j];
3006 if (j < oid->aoi_idlen && oid->aoi_id[j] > 255)
3010 else if (j >= oid->aoi_idlen || overflow == -1)
3013 ipbytes[k] = oid->aoi_id[j];
3034 if (j != oid->aoi_idlen || overflow) {
3044 } else if (j < oid->aoi_idlen)
3046 else if (j > oid->aoi_idlen)
3122 agentx_varbind_oid(struct agentx_varbind *axv, const uint32_t oid[],
3130 oid, oidlen, &errstr) == -1) {
3282 struct ax_oid oid; local
3292 bcopy(&(axv->axv_axo->axo_oid), &oid, sizeof(oid));
3294 ax_oid_add(&oid, 0);
3299 if (ax_oid_add(&oid, data->avb_int32) == -1)
3305 if (ax_oid_add(&oid,
3310 if (ax_oid_add(&oid,
3319 if (ax_oid_add(&oid,
3324 if (ax_oid_add(&oid,
3331 if (ax_oid_add(&oid,
3352 cmp = ax_oid_cmp(&oid, &(axv->axv_vb.avb_oid));
3393 ax_oid_cmp(&oid, &(axv->axv_end)) >= 0) {
3397 bcopy(&oid, &(axv->axv_vb.avb_oid), sizeof(oid));
3774 struct ax_oid *curvalue, oid; local
3806 if (agentx_oidfill(&oid, value,
3821 ax_oid_cmp(&oid, curvalue) != 0) {
3834 *curvalue = oid;
3979 agentx_oidfill(struct ax_oid *oid, const uint32_t oidval[], size_t oidlen,
3996 oid->aoi_id[i] = oidval[i];
3997 oid->aoi_idlen = oidlen;