| /openbsd-src/lib/libkeynote/ |
| H A D | sample-app.c | 112 int sessionid, num, i, j; in main() local 124 sessionid = kn_init(); in main() 125 if (sessionid == -1) in main() 170 j = kn_add_assertion(sessionid, decomposed[i], in main() 188 "policy assertion %d.\n", sessionid, j); in main() 266 j = kn_add_assertion(sessionid, decomposed[i], in main() 284 "credential assertion %d.\n", sessionid, j); in main() 307 if (kn_add_authorizer(sessionid, action_authorizer) == -1) in main() 322 "authorizer.\n", sessionid); in main() 348 if (kn_add_action(sessionid, "app_domain", "test application", 0) == -1) in main() [all …]
|
| /openbsd-src/regress/usr.sbin/snmpd/ |
| H A D | backend.c | 33 uint32_t sessionid; in backend_get_integer() local 44 sessionid = agentx_open(ax_s, 0, 0, in backend_get_integer() 46 agentx_register(ax_s, sessionid, 0, 0, 127, 0, in backend_get_integer() 54 agentx_get_handle(__func__, buf, n, 0, sessionid, &varbind, 1); in backend_get_integer() 70 uint32_t sessionid; in backend_get_octetstring() local 82 sessionid = agentx_open(ax_s, 0, 0, in backend_get_octetstring() 84 agentx_register(ax_s, sessionid, 0, 0, 127, 0, in backend_get_octetstring() 92 agentx_get_handle(__func__, buf, n, 0, sessionid, &varbind, 1); in backend_get_octetstring() 108 uint32_t sessionid; in backend_get_objectidentifier() local 119 sessionid = agentx_open(ax_s, 0, 0, in backend_get_objectidentifier() [all …]
|
| H A D | agentx.c | 89 uint32_t sessionid; member 215 uint32_t sessionid; in agentx_open_ignore_sessionid() local 232 sessionid = le32toh(header->sessionid); in agentx_open_ignore_sessionid() 235 message_add_header(&msg, 1, AGENTX_OPEN_PDU, 0, sessionid, 0, packetid); in agentx_open_ignore_sessionid() 248 if (sessionid == le32toh(header->sessionid)) in agentx_open_ignore_sessionid() 483 uint32_t sessionid; in agentx_ping_invalid_sessionid() local 486 sessionid = agentx_open(s, 0, 0, in agentx_ping_invalid_sessionid() 489 sessionid + 1, 0, packetid); in agentx_ping_invalid_sessionid() 509 uint32_t sessionid; in agentx_ping_default() local 512 sessionid = agentx_open(s, 0, 0, in agentx_ping_default() [all …]
|
| H A D | transport.c | 22 uint32_t sessionid; in transport_tcp_get() local 33 sessionid = agentx_open(ax_s, 0, 0, in transport_tcp_get() 35 agentx_register(ax_s, sessionid, 0, 0, 127, 0, in transport_tcp_get() 43 agentx_get_handle(__func__, buf, n, 0, sessionid, &varbind, 1); in transport_tcp_get() 59 uint32_t sessionid; in transport_tcp_disconnect() local 70 sessionid = agentx_open(ax_s, 0, 0, in transport_tcp_disconnect() 72 agentx_register(ax_s, sessionid, 0, 0, 127, 0, in transport_tcp_disconnect() 82 agentx_get_handle(__func__, buf, n, 0, sessionid, &varbind, 1); in transport_tcp_disconnect() 95 uint32_t sessionid; in transport_tcp_double_get_disconnect() local 109 sessionid = agentx_open(ax_s, 0, 0, in transport_tcp_double_get_disconnect() [all …]
|
| H A D | snmp.c | 130 uint32_t sessionid; in snmp_v3_usm_noauthpriv() local 153 sessionid = agentx_open(ax_s, 0, 0, in snmp_v3_usm_noauthpriv() 155 agentx_register(ax_s, sessionid, 0, 0, 127, 0, in snmp_v3_usm_noauthpriv() 164 agentx_get_handle(__func__, buf, n, 0, sessionid, &varbind, 1); in snmp_v3_usm_noauthpriv()
|
| /openbsd-src/usr.sbin/snmpd/ |
| H A D | ax.c | 522 ax_close(struct ax *ax, uint32_t sessionid, in ax_close() argument 525 if (ax_pdu_header(ax, AX_PDU_TYPE_CLOSE, 0, sessionid, arc4random(), 0, in ax_close() 539 ax_get(struct ax *ax, uint32_t sessionid, uint32_t transactionid, in ax_get() argument 545 if (ax_pdu_header(ax, AX_PDU_TYPE_GET, 0, sessionid, transactionid, in ax_get() 558 ax_getnext(struct ax *ax, uint32_t sessionid, uint32_t transactionid, in ax_getnext() argument 564 if (ax_pdu_header(ax, AX_PDU_TYPE_GETNEXT, 0, sessionid, transactionid, in ax_getnext() 577 ax_indexallocate(struct ax *ax, uint8_t flags, uint32_t sessionid, in ax_indexallocate() argument 586 sessionid, 0, 0, context) == -1) in ax_indexallocate() 596 ax_indexdeallocate(struct ax *ax, uint32_t sessionid, in ax_indexdeallocate() argument 600 sessionid, 0, 0, context) == -1) in ax_indexdeallocate() [all …]
|
| /openbsd-src/lib/libagentx/ |
| H A D | ax.c | 420 ax_close(struct ax *ax, uint32_t sessionid, in ax_close() argument 423 if (ax_pdu_header(ax, AX_PDU_TYPE_CLOSE, 0, sessionid, 0, 0, in ax_close() 437 ax_indexallocate(struct ax *ax, uint8_t flags, uint32_t sessionid, in ax_indexallocate() argument 446 sessionid, 0, 0, context) == -1) in ax_indexallocate() 456 ax_indexdeallocate(struct ax *ax, uint32_t sessionid, in ax_indexdeallocate() argument 460 sessionid, 0, 0, context) == -1) in ax_indexdeallocate() 470 ax_addagentcaps(struct ax *ax, uint32_t sessionid, in ax_addagentcaps() argument 475 sessionid, 0, 0, context) == -1) in ax_addagentcaps() 486 ax_removeagentcaps(struct ax *ax, uint32_t sessionid, in ax_removeagentcaps() argument 490 sessionid, 0, 0, context) == -1) in ax_removeagentcaps() [all …]
|
| /openbsd-src/sys/dev/usb/ |
| H A D | mbim.h | 479 uint32_t sessionid; member 522 uint32_t sessionid; member 548 uint32_t sessionid; member
|
| H A D | if_umb.c | 1759 if (letoh32(ci->sessionid) != umb_session_id) { in umb_decode_connect_info() 1761 DEVNAM(sc), letoh32(ci->sessionid)); in umb_decode_connect_info() 2034 if (letoh32(ic->sessionid) != umb_session_id) { in umb_decode_ip_configuration() 2036 DEVNAM(sc), letoh32(ic->sessionid)); in umb_decode_ip_configuration() 2809 c->sessionid = htole32(umb_session_id); in umb_send_connect() 2842 ipc.sessionid = htole32(umb_session_id); in umb_cmd()
|
| /openbsd-src/usr.sbin/tcpdump/ |
| H A D | print-ppp.c | 295 u_int16_t sessionid; /* PPPoE session id */ member
|