Searched refs:ap_header (Results 1 – 6 of 6) sorted by relevance
/openbsd/usr.sbin/snmpd/ |
H A D | application_agentx.c | 388 switch (pdu->ap_header.aph_type) { in appl_agentx_recv() 425 pdu->ap_header.aph_transactionid, in appl_agentx_recv() 435 pdu->ap_header.aph_transactionid, in appl_agentx_recv() 457 pdu->ap_header.aph_transactionid, in appl_agentx_recv() 567 pdu->ap_header.aph_transactionid, pdu->ap_header.aph_packetid, in appl_agentx_open() 599 pdu->ap_header.aph_transactionid, pdu->ap_header.aph_packetid, in appl_agentx_close() 678 pdu->ap_header.aph_transactionid, pdu->ap_header.aph_packetid, in appl_agentx_register() 705 pdu->ap_header.aph_transactionid, pdu->ap_header.aph_packetid, in appl_agentx_unregister() 837 pdu->ap_header.aph_transactionid, pdu->ap_header.aph_packetid, in appl_agentx_addagentcaps() 862 pdu->ap_header.aph_transactionid, pdu->ap_header.aph_packetid, in appl_agentx_removeagentcaps() [all …]
|
H A D | ax.c | 167 memcpy(&(pdu->ap_header), &header, sizeof(header)); in ax_recv() 175 for (i = 0; i < pdu->ap_header.aph_plength + AX_PDU_HEADER; in ax_recv() 192 rawlen = pdu->ap_header.aph_plength; in ax_recv() 193 if (pdu->ap_header.aph_flags & AX_PDU_FLAG_NON_DEFAULT_CONTEXT) { in ax_recv() 202 switch (pdu->ap_header.aph_type) { in ax_recv() 316 if (pdu->ap_header.aph_type != AX_PDU_TYPE_GETBULK) in ax_recv() 722 if (pdu->ap_header.aph_flags & AX_PDU_FLAG_NON_DEFAULT_CONTEXT) in ax_pdu_free() 725 switch (pdu->ap_header.aph_type) { in ax_pdu_free()
|
H A D | ax.h | 176 struct ax_pdu_header ap_header; member
|
/openbsd/lib/libagentx/ |
H A D | ax.c | 170 memcpy(&(pdu->ap_header), &header, sizeof(header)); in ax_recv() 178 for (i = 0; i < pdu->ap_header.aph_plength + AX_PDU_HEADER; in ax_recv() 195 rawlen = pdu->ap_header.aph_plength; in ax_recv() 196 if (pdu->ap_header.aph_flags & AX_PDU_FLAG_NON_DEFAULT_CONTEXT) { in ax_recv() 205 switch (pdu->ap_header.aph_type) { in ax_recv() 222 if (pdu->ap_header.aph_type != AX_PDU_TYPE_GETBULK) in ax_recv() 274 pdu->ap_header.aph_packetid) { in ax_recv() 318 pdu->ap_payload.ap_raw = malloc(pdu->ap_header.aph_plength); in ax_recv() 322 pdu->ap_header.aph_plength); in ax_recv() 581 if (pdu->ap_header.aph_flags & AX_PDU_FLAG_NON_DEFAULT_CONTEXT) in ax_pdu_free() [all …]
|
H A D | agentx.c | 493 axs->axs_id = pdu->ap_header.aph_sessionid; in agentx_session_finalize() 2565 axg->axg_packetid = pdu->ap_header.aph_packetid; 2579 axg->axg_type = pdu->ap_header.aph_type; 4027 pdu->ap_header.aph_sessionid); 4033 if ((pdu->ap_header.aph_flags & 4037 if (pdu->ap_header.aph_flags & 4055 switch (pdu->ap_header.aph_type) { 4075 pdu->ap_header.aph_transactionid, 4076 pdu->ap_header.aph_packetid, 4080 "reply", pdu->ap_header.aph_transactionid, [all …]
|
H A D | ax.h | 175 struct ax_pdu_header ap_header; member
|