Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 31) sorted by relevance

12

/lib/lwip/lwip/src/apps/snmp/
A Dsnmp_table.c56 if ((instance->instance_oid.len >= 3) && (instance->instance_oid.id[0] == 1)) { in snmp_table_get_instance()
81 instance); in snmp_table_get_instance()
100 if ((instance->instance_oid.len > 0) && (instance->instance_oid.id[0] > 1)) { in snmp_table_get_next_instance()
107 snmp_oid_assign(&row_oid, &(instance->instance_oid.id[2]), instance->instance_oid.len - 2); in snmp_table_get_next_instance()
143 instance); in snmp_table_get_next_instance()
174 if ((instance->instance_oid.len >= 3) && (instance->instance_oid.id[0] == 1)) { in snmp_table_simple_get_instance()
179 &instance->reference, in snmp_table_simple_get_instance()
239 if ((instance->instance_oid.len > 0) && (instance->instance_oid.id[0] > 1)) { in snmp_table_simple_get_next_instance()
290 instance->set_test = NULL; in snmp_table_simple_get_next_instance()
291 instance->set_value = NULL; in snmp_table_simple_get_next_instance()
[all …]
A Dsnmp_scalar.c58 if ((instance->instance_oid.len != 1) || (instance->instance_oid.id[0] != 0)) { in snmp_scalar_get_instance()
62 instance->access = scalar_node->access; in snmp_scalar_get_instance()
65 instance->set_test = scalar_node->set_test; in snmp_scalar_get_instance()
74 if (instance->instance_oid.len == 0) { in snmp_scalar_get_next_instance()
75 instance->instance_oid.len = 1; in snmp_scalar_get_next_instance()
76 instance->instance_oid.id[0] = 0; in snmp_scalar_get_next_instance()
91 if ((instance->instance_oid.len == 2) && (instance->instance_oid.id[1] == 0)) { in snmp_scalar_array_get_instance()
144 if (instance->instance_oid.len == 1) { in snmp_scalar_array_get_next_instance()
179 instance->instance_oid.len = 2; in snmp_scalar_array_get_next_instance()
181 instance->instance_oid.id[1] = 0; in snmp_scalar_array_get_next_instance()
[all …]
A Dsnmp_threadsync.c48 call_data->threadsync_node->instance->sync_fn(fn, call_data); in call_synced_function()
49 sys_sem_wait(&call_data->threadsync_node->instance->sem); in call_synced_function()
64 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_get_value_synced()
89 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_set_test_synced()
115 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_set_value_synced()
137 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_release_instance_synced()
185 instance->reference.ptr = call_data; in do_sync()
186 …snmp_oid_assign(&call_data->proxy_instance.instance_oid, instance->instance_oid.id, instance->inst… in do_sync()
223 err_t err = sys_mutex_new(&instance->sem_usage_mutex); in snmp_threadsync_init()
225 err = sys_sem_new(&instance->sem, 0); in snmp_threadsync_init()
[all …]
A Dsnmp_mib2_interfaces.c62 interfaces_get_value(struct snmp_node_instance *instance, void *value) in interfaces_get_value() argument
64 if (instance->node->oid == 1) { in interfaces_get_value()
157 interfaces_Table_get_value(struct snmp_node_instance *instance, void *value) in interfaces_Table_get_value() argument
159 struct netif *netif = (struct netif *)instance->reference.ptr; in interfaces_Table_get_value()
164 switch (SNMP_TABLE_GET_COLUMN_FROM_OID(instance->instance_oid.id)) { in interfaces_Table_get_value()
276 interfaces_Table_set_test(struct snmp_node_instance *instance, u16_t len, void *value) in interfaces_Table_set_test() argument
282 LWIP_ASSERT("Invalid column", (SNMP_TABLE_GET_COLUMN_FROM_OID(instance->instance_oid.id) == 7)); in interfaces_Table_set_test()
293 interfaces_Table_set_value(struct snmp_node_instance *instance, u16_t len, void *value) in interfaces_Table_set_value() argument
295 struct netif *netif = (struct netif *)instance->reference.ptr; in interfaces_Table_set_value()
300 LWIP_ASSERT("Invalid column", (SNMP_TABLE_GET_COLUMN_FROM_OID(instance->instance_oid.id) == 7)); in interfaces_Table_set_value()
A Dsnmp_mib2_ip.c62 ip_get_value(struct snmp_node_instance *instance, void *value) in ip_get_value() argument
67 switch (instance->node->oid) { in ip_get_value()
139 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("ip_get_value(): unknown id: %"S32_F"\n", instance->node->oid)); in ip_get_value()
157 ip_set_test(struct snmp_node_instance *instance, u16_t len, void *value) in ip_set_test() argument
163 switch (instance->node->oid) { in ip_set_test()
182 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("ip_set_test(): unknown id: %"S32_F"\n", instance->node->oid)); in ip_set_test()
190 ip_set_value(struct snmp_node_instance *instance, u16_t len, void *value) in ip_set_value() argument
192 LWIP_UNUSED_ARG(instance); in ip_set_value()
A Dsnmp_mib2_udp.c61 udp_get_value(struct snmp_node_instance *instance, void *value) in udp_get_value() argument
65 switch (instance->node->oid) { in udp_get_value()
93 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("udp_get_value(): unknown id: %"S32_F"\n", instance->node->oid)); in udp_get_value()
A Dsnmp_mib2_tcp.c62 tcp_get_value(struct snmp_node_instance *instance, void *value) in tcp_get_value() argument
67 switch (instance->node->oid) { in tcp_get_value()
139 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("tcp_get_value(): unknown id: %"S32_F"\n", instance->node->oid)); in tcp_get_value()
A Dsnmp_core.c1196 snmp_set_test_ok(struct snmp_node_instance *instance, u16_t value_len, void *value) in snmp_set_test_ok() argument
1198 LWIP_UNUSED_ARG(instance); in snmp_set_test_ok()
/lib/lwip/lwip/src/include/lwip/apps/
A Dsnmp_table.h75 …_table_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
76 …e_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
115 …simple_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
116 …e_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
124 s16_t snmp_table_extract_value_from_s32ref(struct snmp_node_instance* instance, void* value);
125 s16_t snmp_table_extract_value_from_u32ref(struct snmp_node_instance* instance, void* value);
126 s16_t snmp_table_extract_value_from_refconstptr(struct snmp_node_instance* instance, void* value);
A Dsnmp_threadsync.h91 struct snmp_threadsync_instance *instance; member
94 …adsync_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
95 …c_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
106 void snmp_threadsync_init(struct snmp_threadsync_instance *instance, snmp_threadsync_synchronizer_f…
A Dsnmp_scalar.h63 …scalar_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
64 …r_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
98 …_array_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
99 …y_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
A Dsnmp_core.h247 …r_t (*get_instance)(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
248 …*get_next_instance)(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
323 snmp_err_t snmp_set_test_ok(struct snmp_node_instance* instance, u16_t value_len, void* value); /* …
/lib/lwip/lwip/contrib/examples/snmp/snmp_private_mib/
A Dlwip_prvmib.c110 static s16_t sensor_count_get_value(struct snmp_node_instance* instance, void* value);
113 static s16_t sensor_table_get_value(struct snmp_node_instance* instance, void* value);
114 static snmp_err_t sensor_table_set_value(struct snmp_node_instance* instance, u16_t len, void *valu…
250 sensor_count_get_value(struct snmp_node_instance* instance, void* value) in sensor_count_get_value() argument
255 LWIP_UNUSED_ARG(instance); in sensor_count_get_value()
341 sensor_table_get_value(struct snmp_node_instance* instance, void* value) in sensor_table_get_value() argument
343 u32_t i = instance->reference.u32; in sensor_table_get_value()
346 switch (SNMP_TABLE_GET_COLUMN_FROM_OID(instance->instance_oid.id)) in sensor_table_get_value()
375 sensor_table_set_value(struct snmp_node_instance* instance, u16_t len, void *value) in sensor_table_set_value() argument
377 u32_t i = instance->reference.u32; in sensor_table_set_value()
/lib/mbedtls/external/mbedtls/scripts/
A Dgenerate_ssl_debug_helpers.py75 for instance in cls.extract(s, st, end):
79 yield instance.span()[0], instance
375 for start, instance in preprocess_c_source_code(source_code,
381 if isinstance(instance, EnumDefinition):
382 definition = instance.generate_translation_function()
384 definition = instance
A Dgenerate_driver_wrappers.py78 jsonschema.validate(instance=driverjson_data, schema=_schema)
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/Mibs/
A DSNMPv2-TC117 that an object instance having this syntax is to be
120 instance. If not, the management protocol set operation
124 zero; otherwise, the value held by the instance is
212 station wishing to create a new instance of a
218 station wishing to create a new instance of a
325 create such an instance when the corresponding
326 RowStatus instance does not exist, or
333 instance.
464 instance of this column.
510 a value for that particular columnar instance;
[all …]
A DIF-MIB535 recommended that this value point to an instance of a MIB
903 string. As and when a value is written into an instance of
905 agent must retain the supplied value in the ifAlias instance
1009 of the sub-layer identified by the corresponding instance of
1022 the sub-layer identified by the corresponding instance of
1053 value of any instance of ifStackStatus. If the interface
1220 corresponding instance of ifSpeed is less than or equal to
1237 corresponding instance of ifSpeed is less than or equal to
1252 corresponding instance of ifSpeed is greater than
1774 corresponding instance of ifSpeed is greater than
[all …]
A DUDP-MIB299 the value of the corresponding instance of the
305 corresponding instance of the
313 corresponding instance of the
386 "The instance of this tuple. This object is used to
A DINET-ADDRESS-MIB136 limit the number of potential instance sub-identifiers;
378 "A zone index identifies an instance of a zone of a
A DSNMPv2-MIB197 change in state or value of any instance of sysORID."
257 by the corresponding instance of sysORID."
/lib/mbedtls/external/mbedtls/programs/fuzz/
A DREADME.md6 …he fuzz target, and alert in case of an unwanted behavior (such as a buffer overflow for instance).
26 … targets without oss-fuzz, you first need to install one libFuzzingEngine (libFuzzer for instance).
52 * Extract tcp payloads, for instance with tshark : `tshark -Tfields -e tcp.dstport -e tcp.payload -…
/lib/lwip/lwip/doc/
A Dmdns.txt9 host/service instance names.
78 service instance, and service is the type of service, like _http
/lib/lwip/lwip/test/fuzz/
A DREADME24 parts of the code, and since you want to run one instance of afl-fuzz on each
/lib/mbedtls/external/mbedtls/
A D.pylintrc38 # [too-many-instance-attributes]
/lib/efi_loader/
A Defi_capsule.c174 efi_fmp_find(efi_guid_t *image_type, u8 image_index, u64 instance, in efi_fmp_find() argument
239 (!instance || in efi_fmp_find()
241 desc->hardware_instance == instance)) in efi_fmp_find()

Completed in 728 milliseconds

12