| /openbsd-src/regress/usr.sbin/snmpd/ |
| H A D | backend.c | 39 int32_t requestid; in backend_get_integer() local 51 requestid = snmpv2_get(snmp_s, community, 0, &varbind, 1); in backend_get_integer() 59 snmpv2_response_validate(snmp_s, 1000, community, requestid, 0, 0, in backend_get_integer() 77 int32_t requestid; in backend_get_octetstring() local 89 requestid = snmpv2_get(snmp_s, community, 0, &varbind, 1); in backend_get_octetstring() 97 snmpv2_response_validate(snmp_s, 1000, community, requestid, 0, 0, in backend_get_octetstring() 114 int32_t requestid; in backend_get_objectidentifier() local 126 requestid = snmpv2_get(snmp_s, community, 0, &varbind, 1); in backend_get_objectidentifier() 134 snmpv2_response_validate(snmp_s, 1000, community, requestid, 0, 0, in backend_get_objectidentifier() 152 int32_t requestid; in backend_get_ipaddress() local [all …]
|
| H A D | snmp.c | 148 int32_t requestid; in snmp_v3_usm_noauthpriv() local 160 requestid = snmpv3_get(snmp_s, 1000, &hd, ¶ms, 0, &varbind, 1); in snmp_v3_usm_noauthpriv() 167 snmpv3_response_validate(snmp_s, 1000, &hd, ¶ms, requestid, 0, 0, in snmp_v3_usm_noauthpriv() 211 snmpv2_get(int s, const char *community, int32_t requestid, in snmpv2_get() argument 214 return snmpv2_send(s, community, REQUEST_GET, requestid, 0, 0, in snmpv2_get() 219 snmpv2_getnext(int s, const char *community, int32_t requestid, in snmpv2_getnext() argument 222 return snmpv2_send(s, community, REQUEST_GETNEXT, requestid, 0, 0, in snmpv2_getnext() 227 snmpv2_getbulk(int s, const char *community, int32_t requestid, int32_t nonrep, in snmpv2_getbulk() argument 230 return snmpv2_send(s, community, REQUEST_GETBULK, requestid, nonrep, in snmpv2_getbulk() 236 int32_t requestid, int32_t error, int32_t index, in snmpv2_build() argument [all …]
|
| H A D | transport.c | 28 int32_t requestid; in transport_tcp_get() local 40 requestid = snmpv2_get(snmp_s, community, 0, &varbind, 1); in transport_tcp_get() 48 snmpv2_response_validate(snmp_s, 1000, community, requestid, 0, 0, in transport_tcp_get() 65 int32_t requestid; in transport_tcp_disconnect() local 77 requestid = snmpv2_get(snmp_s, community, 0, &varbind, 1); in transport_tcp_disconnect()
|
| H A D | agentx.c | 725 int32_t requestid; in agentx_ping_invalid_version_close() local 740 requestid = snmpv2_get(snmp_s, community, 0, &varbind, 1); in agentx_ping_invalid_version_close() 744 snmpv2_response_validate(snmp_s, 1000, community, requestid, 0, 0, in agentx_ping_invalid_version_close()
|
| /openbsd-src/usr.sbin/snmpd/ |
| H A D | application_blocklist.c | 94 int32_t requestid, __unused const char *ctx, struct appl_varbind *vblist) in appl_blocklist_get() argument 111 appl_response(backend, requestid, APPL_ERROR_NOERROR, 0, rvblist); in appl_blocklist_get() 117 appl_response(backend, requestid, APPL_ERROR_GENERR, 1, vb); in appl_blocklist_get() 122 __unused int32_t transactionid, int32_t requestid, __unused const char *ctx, in appl_blocklist_getnext() argument 140 appl_response(backend, requestid, APPL_ERROR_NOERROR, 0, rvblist); in appl_blocklist_getnext() 146 appl_response(backend, requestid, APPL_ERROR_GENERR, 1, vb); in appl_blocklist_getnext()
|
| H A D | application_internal.c | 316 int32_t requestid, __unused const char *ctx, struct appl_varbind *vblist) in appl_internal_get() argument 329 appl_response(backend, requestid, APPL_ERROR_GENERR, 1, vblist); in appl_internal_get() 359 appl_response(backend, requestid, APPL_ERROR_NOERROR, 0, resp); in appl_internal_get() 368 appl_response(backend, requestid, APPL_ERROR_GENERR, i + 1, vblist); in appl_internal_get() 373 __unused int32_t transactionid, int32_t requestid, __unused const char *ctx, in appl_internal_getnext() argument 388 appl_response(backend, requestid, APPL_ERROR_GENERR, 1, vblist); in appl_internal_getnext() 444 appl_response(backend, requestid, APPL_ERROR_NOERROR, 0, resp); in appl_internal_getnext() 453 appl_response(backend, requestid, APPL_ERROR_GENERR, i + 1, vblist); in appl_internal_getnext()
|
| H A D | application.c | 874 int32_t requestid; in appl_processpdu() local 878 (void) ober_scanf_elements(pdu, "{diie", &requestid, &nonrepeaters, in appl_processpdu() 884 appl_report(statereference, requestid, in appl_processpdu() 897 ureq->aru_requestid = requestid; in appl_processpdu() 947 appl_pdu_log(NULL, pdu->be_type, requestid, nonrepeaters, in appl_processpdu() 1292 appl_response(struct appl_backend *backend, int32_t requestid, in appl_response() argument 1305 appl_pdu_log(backend, SNMP_C_RESPONSE, requestid, error, index, vblist); in appl_response() 1307 search.ard_requestid = requestid; in appl_response() 1311 backend->ab_name, requestid); in appl_response() 1320 backend->ab_name, requestid); in appl_response() [all …]
|
| H A D | application_agentx.c | 714 int32_t requestid, const char *ctx, struct appl_varbind *vblist) in appl_agentx_get() argument 730 appl_response(backend, requestid, APPL_ERROR_GENERR, 1, vblist); in appl_agentx_get() 745 appl_response(backend, requestid, in appl_agentx_get() 754 requestid, context, srl, nsr) == -1) in appl_agentx_get() 755 appl_response(backend, requestid, APPL_ERROR_GENERR, 1, vblist); in appl_agentx_get() 765 int32_t requestid, const char *ctx, struct appl_varbind *vblist) in appl_agentx_getnext() argument 781 appl_response(backend, requestid, APPL_ERROR_GENERR, 1, vblist); in appl_agentx_getnext() 798 appl_response(backend, requestid, in appl_agentx_getnext() 807 requestid, context, srl, nsr) == -1) in appl_agentx_getnext() 808 appl_response(backend, requestid, APPL_ERROR_GENERR, 1, vblist); in appl_agentx_getnext()
|
| H A D | snmpe.c | 739 snmpe_send(struct snmp_message *msg, enum snmp_pdutype type, int32_t requestid, in snmpe_send() argument 742 msg->sm_request = requestid; in snmpe_send()
|
| /openbsd-src/usr.sbin/ldpd/ |
| H A D | labelmapping.c | 101 err |= gen_reqid_tlv(buf, me->map.requestid); in send_labelmessage() 401 me->map.requestid = reqid; in recv_labelmessage()
|
| H A D | ldpd.h | 225 uint32_t requestid; member
|
| H A D | lde.c | 819 map.requestid = lre->msg_id; in lde_send_labelmapping()
|