Searched defs:var (Results 1 - 10 of 10) sorted by relevance

/solaris-userland/components/net-snmp-57/sun/sdk/demo/demo_module_2/
H A Ddemo_module_2.c261 netsnmp_variable_list *var; local
267 var = request->requestvb;
318 snmp_set_var_typed_value(var, ASN_UNSIGNED, (u_char *) &data->findex, sizeof(data->findex));
322 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->fileName, strlen(data->fileName));
326 snmp_set_var_typed_value(var, ASN_UNSIGNED, (u_char *) &data->fileSize, sizeof(data->fileSize));
330 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->filePerm, strlen(data->filePerm));
346 if (var->type != ASN_OCTET_STR) {
347 DEBUGMSGTL(("me1FileTable", "%x not octet string type", var->type));
351 if (!var->val.string) {
400 if (!ChangeItem(data->findex, (char *)var
[all...]
/solaris-userland/components/net-snmp-57/sun/sdk/demo/demo_module_3/
H A Ddemo_module_3.c195 netsnmp_variable_list *var; local
199 var = request->requestvb;
238 snmp_set_var_typed_value(var, ASN_INTEGER, (u_char *) &data->me1FloorNumber,sizeof(data->me1FloorNumber));
242 snmp_set_var_typed_value(var, ASN_INTEGER, (u_char *) &data->me1RoomNumber, sizeof(data->me1RoomNumber));
246 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->me1Name, strlen(data->me1Name));
250 snmp_set_var_typed_value(var, ASN_INTEGER, (u_char *) &data->me1Extension, sizeof(data->me1Extension));
/solaris-userland/components/net-snmp-57/sun/sdk/demo/demo_module_5/
H A Ddemo_module_5.c249 netsnmp_variable_list *var; local
259 var = request->requestvb;
311 snmp_set_var_typed_value(var, ASN_UNSIGNED,
317 snmp_set_var_typed_value(var, ASN_OCTET_STR,
323 snmp_set_var_typed_value(var, ASN_UNSIGNED,
329 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->filePerm,
347 if (var->type != ASN_OCTET_STR) {
349 DEBUGMSGTL(("me5FileTable", "%x not octet string type", var->type));
353 if (!var->val.string) {
407 len = var
[all...]
/solaris-userland/components/net-snmp-57/sun/agent/modules/entityMib/
H A DentAliasMappingTable.c235 netsnmp_variable_list *var; local
239 var = request->requestvb;
278 snmp_set_var_typed_value(var, ASN_OBJECT_ID, (u_char *) zAliasEntry->entAliasMapId, zAliasEntry->entAliasMapIdSize);
H A DentLPMappingTable.c245 netsnmp_variable_list *var; local
249 var = request->requestvb;
310 snmp_set_var_typed_value(var, ASN_INTEGER,
H A DentLogicalTable.c193 netsnmp_variable_list *var; local
197 var = request->requestvb;
237 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zLogicalEntry->entLogicalDescr, strlen(zLogicalEntry->entLogicalDescr));
241 snmp_set_var_typed_value(var, ASN_OBJECT_ID, (u_char *) zLogicalEntry->entLogicalType, zLogicalEntry->entLogicalTypeSize);
245 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zLogicalEntry->entLogicalCommunity, strlen(zLogicalEntry->entLogicalCommunity));
249 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zLogicalEntry->entLogicalTAddress, strlen(zLogicalEntry->entLogicalTAddress));
253 snmp_set_var_typed_value(var, ASN_OBJECT_ID, (u_char *) zLogicalEntry->entLogicalTDomain, zLogicalEntry->entLogicalTDomainSize);
257 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zLogicalEntry->entLogicalContextEngineId, strlen(zLogicalEntry->entLogicalContextEngineId));
261 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zLogicalEntry->entLogicalContextName, strlen(zLogicalEntry->entLogicalContextName));
H A DentPhysicalContainsTable.c241 netsnmp_variable_list *var; local
245 var = request->requestvb;
284 snmp_set_var_typed_value(var, ASN_INTEGER, (u_char *) idx, sizeof(idx));
H A DentPhysicalTable.c213 netsnmp_variable_list *var; local
219 var = request->requestvb;
258 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zPhysicalEntry->entPhysicalDescr, strlen(zPhysicalEntry->entPhysicalDescr));
262 snmp_set_var_typed_value(var, ASN_OBJECT_ID, (u_char *) zPhysicalEntry->entPhysicalVendorType, zPhysicalEntry->entPhysicalVendorTypeSize);
266 snmp_set_var_typed_value(var, ASN_INTEGER, (u_char *)&zPhysicalEntry->entPhysicalContainedIn, sizeof(zPhysicalEntry->entPhysicalContainedIn));
270 snmp_set_var_typed_value(var, ASN_INTEGER, (u_char *)&zPhysicalEntry->entPhysicalClass, sizeof(zPhysicalEntry->entPhysicalClass));
274 snmp_set_var_typed_value(var, ASN_INTEGER, (u_char *)&zPhysicalEntry->entPhysicalParentRelPos, sizeof(zPhysicalEntry->entPhysicalParentRelPos));
278 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zPhysicalEntry->entPhysicalName, strlen(zPhysicalEntry->entPhysicalName));
282 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) zPhysicalEntry->entPhysicalHardwareRev, strlen(zPhysicalEntry->entPhysicalHardwareRev));
286 snmp_set_var_typed_value(var, ASN_OCTET_ST
[all...]
/solaris-userland/components/net-snmp-57/sun/agent/modules/seaExtensions/
H A DsunProcesses.c799 netsnmp_variable_list *var; local
806 var = request->requestvb;
854 snmp_set_var_typed_value(var, ASN_INTEGER,
861 snmp_set_var_typed_value(var, ASN_INTEGER,
868 snmp_set_var_typed_value(var, ASN_INTEGER,
875 snmp_set_var_typed_value(var, ASN_INTEGER,
881 snmp_set_var_typed_value(var, ASN_OCTET_STR,
887 snmp_set_var_typed_value(var, ASN_OCTET_STR,
893 snmp_set_var_typed_value(var, ASN_OCTET_STR,
899 snmp_set_var_typed_value(var, ASN_OCTET_ST
[all...]
/solaris-userland/components/net-snmp-57/sun/agent/modules/healthMonitor/
H A DhealthMonitor.c1558 netsnmp_variable_list *var; local
1563 var = request->requestvb;
1608 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->hmDiskName, strlen(data->hmDiskName));
1612 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->hmDiskAliasName, strlen(data->hmDiskAliasName));
1616 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->hmAvgWaitTransactions, strlen(data->hmAvgWaitTransactions));
1620 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->hmDiskBusyPcnt, strlen(data->hmDiskBusyPcnt));
1624 snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) data->hmAvgDiskSvcTime, strlen(data->hmAvgDiskSvcTime));

Completed in 100 milliseconds