Home
last modified time | relevance | path

Searched refs:be_type (Results 1 – 18 of 18) sorted by relevance

/openbsd/usr.sbin/snmpd/
H A Dsmi.c235 switch (root->be_type) { in smi_debug_elements()
268 switch (root->be_type) { in smi_debug_elements()
292 switch (root->be_type) { in smi_debug_elements()
330 root->be_type, root->be_encoding); in smi_debug_elements()
348 root->be_type == SNMP_T_IPADDR) { in smi_debug_elements()
422 root->be_type == SNMP_T_IPADDR) { in smi_print_element_legacy()
463 switch (root->be_type) { in smi_print_element()
502 switch (root->be_type) { in smi_print_element()
555 switch (root->be_type) { in smi_print_element()
575 root->be_type) == -1) in smi_print_element()
[all …]
H A Dapplication.c895 ureq->aru_requesttype = pdu->be_type; in appl_processpdu()
911 if (pdu->be_type == SNMP_C_GETBULKREQ) in appl_processpdu()
1245 value->be_type == APPL_EXC_ENDOFMIBVIEW) { in appl_request_upstream_reply()
1251 value->be_type != APPL_EXC_ENDOFMIBVIEW) in appl_request_upstream_reply()
1264 value->be_type == APPL_EXC_ENDOFMIBVIEW) in appl_request_upstream_reply()
1356 vb->av_value->be_type == SNMP_COUNTER64) { in appl_response()
1450 varbind->av_value->be_type != BER_TYPE_NULL) { in appl_varbind_valid()
1456 varbind->av_value->be_type == BER_TYPE_NULL) { in appl_varbind_valid()
1463 switch (varbind->av_value->be_type) { in appl_varbind_valid()
1493 switch (varbind->av_value->be_type) { in appl_varbind_valid()
[all …]
H A Dtraphandler.c75 switch (msg->sm_pdu->be_type) { in traphandler_parse()
85 if (elm->be_type != BER_TYPE_INTEGER) { in traphandler_parse()
155 vblist->be_type != BER_TYPE_SEQUENCE) { in traphandler_v1translate()
/openbsd/usr.bin/snmp/
H A Dsmi.c94 switch (root->be_type) { in smi_debug_elements()
127 switch (root->be_type) { in smi_debug_elements()
151 switch (root->be_type) { in smi_debug_elements()
189 root->be_type, root->be_encoding); in smi_debug_elements()
208 root->be_type == SNMP_T_IPADDR) { in smi_debug_elements()
278 root->be_type == SNMP_T_TIMETICKS) { in smi_print_element()
336 if (root->be_type == SNMP_T_COUNTER32) in smi_print_element()
338 else if (root->be_type == SNMP_T_GAUGE32) in smi_print_element()
340 else if (root->be_type == SNMP_T_OPAQUE) in smi_print_element()
376 root->be_type == SNMP_T_IPADDR) { in smi_print_element()
[all …]
H A Dsnmp.c543 if (pdu->be_type != SNMP_C_REPORT) { in snmp_unpackage()
H A Dsnmpc.c675 value->be_type == BER_TYPE_EOC) in snmpc_walk()
/openbsd/regress/usr.sbin/snmpd/
H A Dsnmp.c782 switch (elm->be_type) { in smi_application()
822 switch (root->be_type) { in smi_print_element()
861 switch (root->be_type) { in smi_print_element()
914 switch (root->be_type) { in smi_print_element()
934 root->be_type) == -1) in smi_print_element()
970 switch (root->be_type) { in smi_debug_elements()
1003 switch (root->be_type) { in smi_debug_elements()
1027 switch (root->be_type) { in smi_debug_elements()
1065 root->be_type, root->be_encoding); in smi_debug_elements()
1194 value->be_type == BER_TYPE_NULL) { in snmp_pdu_validate()
[all …]
/openbsd/usr.sbin/ldapd/
H A Dlogmsg.c127 switch (root->be_type) { in ldap_debug_elements()
163 switch (root->be_type) { in ldap_debug_elements()
217 switch(root->be_type) { in ldap_debug_elements()
224 switch(root->be_type) { in ldap_debug_elements()
261 root->be_type, root->be_encoding); in ldap_debug_elements()
H A Dattributes.c97 if (value_set->be_type != BER_TYPE_SET) { in ldap_add_attribute()
152 assert(vals->be_type == BER_TYPE_SET); in ldap_merge_values()
H A Dmodify.c336 vals->be_sub->be_type == BER_TYPE_OCTETSTRING) { in ldap_modify()
345 vals->be_sub->be_type != BER_TYPE_EOC) { in ldap_modify()
H A Dsearch.c699 plan->op = filter->be_type; in search_planner()
703 switch (filter->be_type) { in search_planner()
816 log_warnx("filter type %u not implemented", filter->be_type); in search_planner()
H A Dvalidate.c62 if (vals->be_type != BER_TYPE_SET) { in validate_attribute()
H A Dauth.c424 switch (auth->be_type) { in ldap_bind()
/openbsd/lib/libutil/
H A Dber.c78 elm->be_type = type; in ober_set_header()
786 *t = ber->be_type; in ober_scanf_elements()
1020 if (root->be_type > BER_TYPE_SINGLE_MAX) in ober_calc_len()
1021 for (t = root->be_type; t > 0; t >>= 7) in ober_calc_len()
1033 root->be_type == BER_TYPE_EOC && root->be_len == 0) in ober_calc_len()
1113 if (root->be_type <= BER_TYPE_SINGLE_MAX) { in ober_dump_header()
1114 id = root->be_type | (root->be_class << BER_CLASS_SHIFT); in ober_dump_header()
1128 for (t = 0, type = root->be_type; type > 0; type >>= 7) in ober_dump_header()
1305 elm->be_type = type; in ober_read_element()
H A Dber.h30 unsigned int be_type; member
/openbsd/usr.bin/ldap/
H A Daldap.c845 if (elm->be_type != BER_TYPE_OCTETSTRING) in aldap_get_stringset()
850 for (a = elm, ret->len = 0; a != NULL && a->be_type == in aldap_get_stringset()
864 for (a = elm, i = 0; a != NULL && a->be_type == BER_TYPE_OCTETSTRING; in aldap_get_stringset()
1130 switch (root->be_type) { in ldap_debug_elements()
1166 switch (root->be_type) { in ldap_debug_elements()
1226 switch(root->be_type) { in ldap_debug_elements()
1237 root->be_type, root->be_encoding); in ldap_debug_elements()
/openbsd/libexec/login_ldap/
H A Daldap.c845 if (elm->be_type != BER_TYPE_OCTETSTRING) in aldap_get_stringset()
850 for (a = elm, ret->len = 0; a != NULL && a->be_type == in aldap_get_stringset()
864 for (a = elm, i = 0; a != NULL && a->be_type == BER_TYPE_OCTETSTRING; in aldap_get_stringset()
1130 switch (root->be_type) { in ldap_debug_elements()
1166 switch (root->be_type) { in ldap_debug_elements()
1226 switch(root->be_type) { in ldap_debug_elements()
1237 root->be_type, root->be_encoding); in ldap_debug_elements()
/openbsd/usr.sbin/ypldap/
H A Daldap.c881 if (elm->be_type != BER_TYPE_OCTETSTRING) in aldap_get_stringset()
886 for (a = elm, ret->len = 0; a != NULL && a->be_type == in aldap_get_stringset()
900 for (a = elm, i = 0; a != NULL && a->be_type == BER_TYPE_OCTETSTRING; in aldap_get_stringset()
1166 switch (root->be_type) { in ldap_debug_elements()
1202 switch (root->be_type) { in ldap_debug_elements()
1262 switch(root->be_type) { in ldap_debug_elements()
1273 root->be_type, root->be_encoding); in ldap_debug_elements()