/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/ |
A D | snmp_core.c | 424 if (oid_len < 1) { in snmp_oid_to_ip() 430 if (oid_len < 2) { in snmp_oid_to_ip() 444 if (oid_len < 6) { in snmp_oid_to_ip() 465 if (oid_len < 18) { in snmp_oid_to_ip() 508 if (oid_len < (idx+1)) { in snmp_oid_to_ip_port() 533 target->len = oid_len; in snmp_oid_assign() 535 if (oid_len > 0) { in snmp_oid_assign() 551 if (oid_len > 0) { in snmp_oid_prefix() 589 if (oid_len > 0) { in snmp_oid_append() 687 if (oid_len == 0) { in snmp_get_mib_from_oid() [all …]
|
A D | snmp_asn1.c | 250 if (oid_len > 1) { in snmp_asn1_enc_oid() 254 oid_len -= 2; in snmp_asn1_enc_oid() 262 while (oid_len > 0) { in snmp_asn1_enc_oid() 266 oid_len--; in snmp_asn1_enc_oid() 395 if (oid_len > 1) { in snmp_asn1_enc_oid_cnt() 398 oid_len -= 2; in snmp_asn1_enc_oid_cnt() 401 while (oid_len > 0) { in snmp_asn1_enc_oid_cnt() 402 oid_len--; in snmp_asn1_enc_oid_cnt() 646 *oid_len = 0; in snmp_asn1_dec_oid() 679 *oid_len = 2; in snmp_asn1_dec_oid() [all …]
|
A D | snmp_core_priv.h | 62 …ib_tree_resolve_exact(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, u8_t* oid_instan… 63 …mib_tree_resolve_next(const struct snmp_mib *mib, const u32_t *oid, u8_t oid_len, struct snmp_obj_… 67 u8_t snmp_get_node_instance_from_oid(const u32_t *oid, u8_t oid_len, struct snmp_node_instance* nod… 68 u8_t snmp_get_next_node_instance_from_oid(const u32_t *oid, u8_t oid_len, snmp_validate_node_instan…
|
A D | snmp_asn1.h | 86 err_t snmp_asn1_dec_oid(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t* oid, u8_t* oid_len,… 95 void snmp_asn1_enc_oid_cnt(const u32_t *oid, u16_t oid_len, u16_t *octets_needed); 96 err_t snmp_asn1_enc_oid(struct snmp_pbuf_stream* pbuf_stream, const u32_t *oid, u16_t oid_len);
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | asn1write.c | 183 const char *oid, size_t oid_len ) in mbedtls_asn1_write_oid() argument 189 (const unsigned char *) oid, oid_len ) ); in mbedtls_asn1_write_oid() 197 const char *oid, size_t oid_len, in mbedtls_asn1_write_algorithm_identifier() argument 208 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in mbedtls_asn1_write_algorithm_identifier() 357 const char *oid, size_t oid_len, in mbedtls_asn1_store_named_data() argument 363 if( ( cur = asn1_find_named_data( *head, oid, oid_len ) ) == NULL ) in mbedtls_asn1_store_named_data() 372 cur->oid.len = oid_len; in mbedtls_asn1_store_named_data() 373 cur->oid.p = mbedtls_calloc( 1, oid_len ); in mbedtls_asn1_store_named_data() 380 memcpy( cur->oid.p, oid, oid_len ); in mbedtls_asn1_store_named_data()
|
A D | x509_create.c | 213 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension() argument 218 if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len, in mbedtls_x509_set_extension() 247 size_t oid_len = cur_name->oid.len; in x509_write_name() local 259 oid_len ) ); in x509_write_name() 295 const char *oid, size_t oid_len, in mbedtls_x509_write_sig() argument 320 oid_len, 0 ) ); in mbedtls_x509_write_sig()
|
A D | pkwrite.c | 144 size_t oid_len; in pk_write_ec_param() local 146 if( ( ret = mbedtls_oid_get_oid_by_ec_grp( ec->grp.id, &oid, &oid_len ) ) != 0 ) in pk_write_ec_param() 149 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in pk_write_ec_param() 185 size_t len = 0, par_len = 0, oid_len; in mbedtls_pk_write_pubkey_der() local 212 &oid, &oid_len ) ) != 0 ) in mbedtls_pk_write_pubkey_der() 224 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_algorithm_identifier( &c, buf, oid, oid_len, in mbedtls_pk_write_pubkey_der()
|
A D | x509write_csr.c | 77 const char *oid, size_t oid_len, in mbedtls_x509write_csr_set_extension() argument 80 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_csr_set_extension()
|
A D | x509write_crt.c | 126 const char *oid, size_t oid_len, in mbedtls_x509write_crt_set_extension() argument 130 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_crt_set_extension()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/ |
A D | snmp_core.h | 264 u8_t snmp_oid_in_range(const u32_t *oid_in, u8_t oid_len, const struct snmp_oid_range *oid_ranges, … 289 u8_t snmp_next_oid_precheck(struct snmp_next_oid_state *state, const u32_t *oid, const u8_t oid_len… 290 u8_t snmp_next_oid_check(struct snmp_next_oid_state *state, const u32_t *oid, const u8_t oid_len, v… 292 void snmp_oid_assign(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len); 294 void snmp_oid_prefix(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len); 295 void snmp_oid_append(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len); 311 u8_t snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip); 312 u8_t snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port);
|
A D | snmp.h | 119 typedef void (*snmp_write_callback_fct)(const u32_t* oid, u8_t oid_len, void* callback_arg);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/apps/ |
A D | snmp_core.h | 264 u8_t snmp_oid_in_range(const u32_t *oid_in, u8_t oid_len, const struct snmp_oid_range *oid_ranges, … 289 u8_t snmp_next_oid_precheck(struct snmp_next_oid_state *state, const u32_t *oid, const u8_t oid_len… 290 u8_t snmp_next_oid_check(struct snmp_next_oid_state *state, const u32_t *oid, const u8_t oid_len, v… 292 void snmp_oid_assign(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len); 294 void snmp_oid_prefix(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len); 295 void snmp_oid_append(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len); 311 u8_t snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip); 312 u8_t snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port);
|
A D | snmp.h | 119 typedef void (*snmp_write_callback_fct)(const u32_t* oid, u8_t oid_len, void* callback_arg);
|
/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | asn1write.h | 133 const char *oid, size_t oid_len ); 152 const char *oid, size_t oid_len, 314 const char *oid, size_t oid_len,
|
A D | x509.h | 309 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, 317 const char *oid, size_t oid_len,
|
A D | x509_csr.h | 236 const char *oid, size_t oid_len,
|
A D | x509_crt.h | 679 const char *oid, size_t oid_len,
|