Home
last modified time | relevance | path

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

12

/NextBSD/contrib/bsnmp/snmp_ntp/
HDsnmp_ntp.c1148 return (string_get(value, sys_rootdelay, -1)); in op_ntpSystem()
1153 return (string_get(value, sys_rootdispersion, -1)); in op_ntpSystem()
1158 return (string_get(value, sys_refid, -1)); in op_ntpSystem()
1163 return (string_get(value, sys_reftime, 8)); in op_ntpSystem()
1180 return (string_get(value, sys_clock, 8)); in op_ntpSystem()
1185 return (string_get(value, sys_system, -1)); in op_ntpSystem()
1190 return (string_get(value, sys_processor, -1)); in op_ntpSystem()
1299 return (string_get(value, t->rootdelay, -1)); in op_ntpPeersVarTable()
1302 return (string_get(value, t->rootdispersion, -1)); in op_ntpPeersVarTable()
1305 return (string_get(value, t->refid, -1)); in op_ntpPeersVarTable()
[all …]
/NextBSD/usr.sbin/bsnmpd/modules/snmp_hostres/
HDhostres_fs_tbl.c440 return (string_get(value, entry->mountPoint, -1)); in op_hrFSTable()
444 return (string_get(value, "", -1)); in op_hrFSTable()
446 return (string_get(value, entry->remoteMountPoint, -1)); in op_hrFSTable()
467 return (string_get(value, entry->lastFullBackupDate, 8)); in op_hrFSTable()
470 return (string_get(value, entry->lastPartialBackupDate, 8)); in op_hrFSTable()
HDhostres_swrun_tbl.c664 ret = string_get(value, entry->name, -1); in op_hrSWRunTable()
666 ret = string_get(value, "", -1); in op_hrSWRunTable()
676 ret = string_get(value, entry->path, -1); in op_hrSWRunTable()
678 ret = string_get(value, "", -1); in op_hrSWRunTable()
683 ret = string_get(value, entry->parameters, -1); in op_hrSWRunTable()
685 ret = string_get(value, "", -1); in op_hrSWRunTable()
HDhostres_scalars.c168 return (string_get(value, s_date_time, string_len)); in OS_getSystemDate()
398 return (string_get(value, str, -1)); in op_hrSystem()
HDhostres_swinstalled_tbl.c487 return (string_get(value, entry->name, -1)); in op_hrSWInstalledTable()
500 return (string_get(value, entry->date, entry->date_len)); in op_hrSWInstalledTable()
HDhostres_begemot.c74 return (string_get(value, pkg_dir, -1)); in op_begemot()
HDhostres_partition_tbl.c616 return (string_get(value, entry->label, -1)); in op_hrPartitionTable()
619 return(string_get(value, entry->id, -1)); in op_hrPartitionTable()
HDhostres_printer_tbl.c394 return (string_get(value, entry->detectedErrorState, in op_hrPrinterTable()
/NextBSD/usr.sbin/bsnmpd/modules/snmp_atm/
HDatm_sys.c256 return (string_get(value, "unknown", -1)); in atm_sys_get_hw_vendor()
257 return (string_get(value, hwinfo[aif->pub.mib->device].vendor, -1)); in atm_sys_get_hw_vendor()
268 return (string_get(value, "unknown", -1)); in atm_sys_get_hw_device()
269 return (string_get(value, hwinfo[aif->pub.mib->device].device, -1)); in atm_sys_get_hw_device()
/NextBSD/usr.sbin/bsnmpd/modules/snmp_hast/
HDhast_snmp.c381 return (string_get(value, cfgpath, -1)); in op_hastConfig()
459 ret = string_get(value, res->name, -1); in op_hastResourceTable()
465 ret = string_get(value, res->provname, -1); in op_hastResourceTable()
468 ret = string_get(value, res->localpath, -1); in op_hastResourceTable()
477 ret = string_get(value, res->remoteaddr, -1); in op_hastResourceTable()
480 ret = string_get(value, res->sourceaddr, -1); in op_hastResourceTable()
/NextBSD/usr.sbin/bsnmpd/modules/snmp_lm75/
HDsnmp_lm75.c415 ret = string_get(value, sensor->desc, -1); in op_lm75SensorTable()
418 ret = string_get(value, sensor->location, -1); in op_lm75SensorTable()
421 ret = string_get(value, sensor->pnpinfo, -1); in op_lm75SensorTable()
424 ret = string_get(value, sensor->parent, -1); in op_lm75SensorTable()
/NextBSD/contrib/bsnmp/snmpd/
HDaction.c313 return (string_get(value, systemg.descr, -1)); in op_system_group()
320 return (string_get(value, systemg.contact, -1)); in op_system_group()
322 return (string_get(value, systemg.name, -1)); in op_system_group()
324 return (string_get(value, systemg.location, -1)); in op_system_group()
475 return (string_get(value, objres->descr, -1)); in op_or_table()
793 return (string_get(value, c->string, -1)); in op_community()
796 return (string_get(value, c->descr, -1)); in op_community()
984 return (string_get(value, m->path, -1)); in op_modules()
987 return (string_get(value, m->config->comment, -1)); in op_modules()
1115 return (string_get(value, snmpd_engine.engine_id, in op_snmp_engine()
/NextBSD/contrib/bsnmp/snmp_vacm/
HDvacm_snmp.c134 return (string_get(val, vacm_ctx->ctxname, -1)); in op_vacm_context()
247 return (string_get(val, user->group->groupname, -1)); in op_vacm_security_to_group()
396 return (string_get(val, acl->ctx_prefix, -1)); in op_vacm_access()
399 return (string_get(val, acl->read_view->viewname, -1)); in op_vacm_access()
401 return (string_get(val, NULL, 0)); in op_vacm_access()
404 return (string_get(val, acl->write_view->viewname, -1)); in op_vacm_access()
406 return (string_get(val, NULL, 0)); in op_vacm_access()
409 return (string_get(val, acl->notify_view->viewname, -1)); in op_vacm_access()
411 return (string_get(val, NULL, 0)); in op_vacm_access()
591 return (string_get(val, view->mask, sizeof(view->mask))); in op_vacm_view()
/NextBSD/contrib/bsnmp/snmp_mibII/
HDmibII_interfaces.c257 ret = string_get(value, ifp->descr, -1); in op_ifentry()
273 ret = string_get(value, ifp->physaddr, in op_ifentry()
443 ret = string_get(value, ifp->name, -1); in op_ifxtable()
531 ret = string_get(value, "", -1); in op_ifxtable()
HDmibII_nettomedia.c136 return (string_get(value, at->phys, at->physlen)); in op_nettomedia()
/NextBSD/contrib/bsnmp/snmp_usm/
HDusm_snmp.c394 return (string_get(val, uuser->suser.sec_name, -1)); in op_usm_users()
416 return (string_get(val, (char *)uuser->suser.auth_key, 0)); in op_usm_users()
435 return (string_get(val, (char *)uuser->suser.priv_key, 0)); in op_usm_users()
437 return (string_get(val, uuser->user_public, in op_usm_users()
/NextBSD/contrib/bsnmp/snmp_target/
HDtarget_snmp.c314 return (string_get(val, addrs->address, SNMP_UDP_ADDR_SIZ)); in op_snmp_target_addrs()
322 return (string_get(val, addrs->taglist, -1)); in op_snmp_target_addrs()
324 return (string_get(val, addrs->paramname, -1)); in op_snmp_target_addrs()
503 return (string_get(val, param->secname, -1)); in op_snmp_target_params()
638 return (string_get(val, notify->taglist, -1)); in op_snmp_notify()
/NextBSD/usr.sbin/bsnmpd/modules/snmp_pf/
HDpf_snmp.c177 return (string_get(val, str, strlen(str))); in pf_status()
461 return (string_get(val, str, strlen(str))); in pf_logif()
581 return (string_get(val, e->pfi.pfik_name, -1)); in pf_iftable()
728 return (string_get(val, e->pft.pfrts_name, -1)); in pf_tbltable()
850 return (string_get(val, in pf_tbladdr()
853 return (string_get(val, in pf_tbladdr()
975 return (string_get(val, e->altq.qname, -1)); in pf_altqq()
977 return (string_get(val, e->altq.parent, -1)); in pf_altqq()
1063 return (string_get(val, e->name, -1)); in pf_lbltable()
/NextBSD/usr.sbin/bsnmpd/modules/snmp_bridge/
HDbridge_port.c550 return (string_get(val, bp->design_root, in op_dot1d_stp_port()
558 return (string_get(val, bp->design_bridge, in op_dot1d_stp_port()
562 return (string_get(val, bp->design_port, 2)); in op_dot1d_stp_port()
1314 return (string_get(val, bp->design_root, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp_port()
1321 return (string_get(val, bp->design_bridge, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp_port()
1324 return (string_get(val, bp->design_port, 2)); in op_begemot_stp_port()
HDbridge_if.c647 return (string_get(value, bif->br_addr.octet, in op_dot1d_base()
705 return (string_get(val, bif->design_root, in op_dot1d_stp()
1168 return (string_get(val, bif->bif_name, -1)); in op_begemot_base_bridge()
1171 return (string_get(val, bif->br_addr.octet, ETHER_ADDR_LEN)); in op_begemot_base_bridge()
1346 return (string_get(val, bif->design_root, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp()
HDbridge_addrs.c434 return (string_get(val, te->tp_addr, ETHER_ADDR_LEN)); in op_dot1d_tp_fdb()
579 return (string_get(val, te->tp_addr, ETHER_ADDR_LEN)); in op_begemot_tp_fdb()
HDbridge_snmp.c171 return (string_get(val, bridge_get_default_name(), -1)); in op_begemot_bridge_config()
/NextBSD/contrib/ngatm/snmp_atm/
HDsnmp_atm.c476 return (string_get(value, aif->pub.ifp->name, -1)); in op_atmif()
503 return (string_get(value, aif->pub.mib->esi, 6)); in op_atmif()
/NextBSD/usr.sbin/bsnmpd/modules/snmp_wlan/
HDwlan_snmp.c419 return (string_get(val, wif->wname, -1)); in op_wlan_iface()
421 return (string_get(val, wif->pname, -1)); in op_wlan_iface()
429 return (string_get(val, wif->dbssid, IEEE80211_ADDR_LEN)); in op_wlan_iface()
431 return (string_get(val, wif->dlmac, IEEE80211_ADDR_LEN)); in op_wlan_iface()
719 return (string_get(val, wif->country_code, in op_wlan_iface_config()
725 return (string_get(val, wif->desired_ssid, -1)); in op_wlan_iface_config()
763 return (string_get(val, wif->desired_bssid, in op_wlan_iface_config()
920 return (string_get(val, wip->pmac, IEEE80211_ADDR_LEN)); in op_wlan_if_peer()
1323 return (string_get(val, sr->ssid, -1)); in op_wlan_scan_results()
1325 return (string_get(val, sr->bssid, IEEE80211_ADDR_LEN)); in op_wlan_scan_results()
[all …]
/NextBSD/usr.sbin/bsnmpd/modules/snmp_netgraph/
HDsnmp_netgraph.c994 return (string_get(value, snmp_nodename, -1)); in op_ng_config()
1454 return (string_get(value, nodeinfo.name, -1)); in op_ng_node()
1456 return (string_get(value, nodeinfo.type, -1)); in op_ng_node()
1683 return (string_get(value, linkinfo.peerhook, -1)); in op_ng_hook()
1685 return (string_get(value, linkinfo.nodeinfo.type, -1)); in op_ng_hook()

12