Home
last modified time | relevance | path

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

12

/freebsd/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c1150 return (string_get(value, sys_rootdelay, -1)); in op_ntpSystem()
1155 return (string_get(value, sys_rootdispersion, -1)); in op_ntpSystem()
1160 return (string_get(value, sys_refid, -1)); in op_ntpSystem()
1165 return (string_get(value, sys_reftime, 8)); in op_ntpSystem()
1182 return (string_get(value, sys_clock, 8)); in op_ntpSystem()
1187 return (string_get(value, sys_system, -1)); in op_ntpSystem()
1192 return (string_get(value, sys_processor, -1)); in op_ntpSystem()
1301 return (string_get(value, t->rootdelay, -1)); in op_ntpPeersVarTable()
1304 return (string_get(value, t->rootdispersion, -1)); in op_ntpPeersVarTable()
1307 return (string_get(value, t->refid, -1)); in op_ntpPeersVarTable()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_fs_tbl.c438 return (string_get(value, entry->mountPoint, -1)); in op_hrFSTable()
442 return (string_get(value, "", -1)); in op_hrFSTable()
444 return (string_get(value, entry->remoteMountPoint, -1)); in op_hrFSTable()
465 return (string_get(value, entry->lastFullBackupDate, 8)); in op_hrFSTable()
468 return (string_get(value, entry->lastPartialBackupDate, 8)); in op_hrFSTable()
H A Dhostres_swrun_tbl.c662 ret = string_get(value, entry->name, -1); in op_hrSWRunTable()
664 ret = string_get(value, "", -1); in op_hrSWRunTable()
674 ret = string_get(value, entry->path, -1); in op_hrSWRunTable()
676 ret = string_get(value, "", -1); in op_hrSWRunTable()
681 ret = string_get(value, entry->parameters, -1); in op_hrSWRunTable()
683 ret = string_get(value, "", -1); in op_hrSWRunTable()
H A Dhostres_scalars.c143 return (string_get(value, s_date_time, string_len)); in OS_getSystemDate()
373 return (string_get(value, str, -1)); in op_hrSystem()
H A Dhostres_swinstalled_tbl.c485 return (string_get(value, entry->name, -1)); in op_hrSWInstalledTable()
498 return (string_get(value, entry->date, entry->date_len)); in op_hrSWInstalledTable()
H A Dhostres_begemot.c72 return (string_get(value, pkg_dir, -1)); in op_begemot()
H A Dhostres_partition_tbl.c610 return (string_get(value, entry->label, -1)); in op_hrPartitionTable()
613 return(string_get(value, entry->id, -1)); in op_hrPartitionTable()
H A Dhostres_printer_tbl.c392 return (string_get(value, entry->detectedErrorState, in op_hrPrinterTable()
/freebsd/usr.sbin/bsnmpd/modules/snmp_hast/
H A Dhast_snmp.c380 return (string_get(value, cfgpath, -1)); in op_hastConfig()
458 ret = string_get(value, res->name, -1); in op_hastResourceTable()
464 ret = string_get(value, res->provname, -1); in op_hastResourceTable()
467 ret = string_get(value, res->localpath, -1); in op_hastResourceTable()
476 ret = string_get(value, res->remoteaddr, -1); in op_hastResourceTable()
479 ret = string_get(value, res->sourceaddr, -1); in op_hastResourceTable()
/freebsd/usr.sbin/bsnmpd/modules/snmp_lm75/
H A Dsnmp_lm75.c411 ret = string_get(value, sensor->desc, -1); in op_lm75SensorTable()
414 ret = string_get(value, sensor->location, -1); in op_lm75SensorTable()
417 ret = string_get(value, sensor->pnpinfo, -1); in op_lm75SensorTable()
420 ret = string_get(value, sensor->parent, -1); in op_lm75SensorTable()
/freebsd/contrib/bsnmp/snmpd/
H A Daction.c329 return (string_get(value, systemg.descr, -1)); in op_system_group()
336 return (string_get(value, systemg.contact, -1)); in op_system_group()
338 return (string_get(value, systemg.name, -1)); in op_system_group()
340 return (string_get(value, systemg.location, -1)); in op_system_group()
491 return (string_get(value, objres->descr, -1)); in op_or_table()
849 return (string_get(value, c->string, -1)); in op_community()
852 return (string_get(value, c->descr, -1)); in op_community()
1046 return (string_get(value, m->path, -1)); in op_modules()
1049 return (string_get(value, m->config->comment, -1)); in op_modules()
1177 return (string_get(value, snmpd_engine.engine_id, in op_snmp_engine()
H A Dexport.c108 string_get(struct snmp_value *value, const u_char *ptr, ssize_t len) in string_get() function
/freebsd/contrib/bsnmp/snmp_vacm/
H A Dvacm_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()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_interfaces.c257 ret = string_get(value, ifp->descr, -1); in op_ifentry()
273 ret = string_get(value, ifp->physaddr, in op_ifentry()
438 ret = string_get(value, ifp->name, -1); in op_ifxtable()
510 ret = string_get(value, ifp->alias, ifp->alias_size - 1); in op_ifxtable()
H A DmibII_nettomedia.c136 return (string_get(value, at->phys, at->physlen)); in op_nettomedia()
/freebsd/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c398 return (string_get(val, uuser->suser.sec_name, -1)); in op_usm_users()
420 return (string_get(val, (char *)uuser->suser.auth_key, 0)); in op_usm_users()
439 return (string_get(val, (char *)uuser->suser.priv_key, 0)); in op_usm_users()
441 return (string_get(val, uuser->user_public, in op_usm_users()
/freebsd/contrib/bsnmp/snmp_target/
H A Dtarget_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()
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c181 return (string_get(val, str, strlen(str))); in pf_status()
463 return (string_get(val, str, strlen(str))); in pf_logif()
583 return (string_get(val, e->pfi.pfik_name, -1)); in pf_iftable()
730 return (string_get(val, e->pft.pfrts_name, -1)); in pf_tbltable()
852 return (string_get(val, in pf_tbladdr()
855 return (string_get(val, in pf_tbladdr()
977 return (string_get(val, e->altq.qname, -1)); in pf_altqq()
979 return (string_get(val, e->altq.parent, -1)); in pf_altqq()
1066 return (string_get(val, e->name, -1)); in pf_lbltable()
/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_port.c551 return (string_get(val, bp->design_root, in op_dot1d_stp_port()
559 return (string_get(val, bp->design_bridge, in op_dot1d_stp_port()
563 return (string_get(val, bp->design_port, 2)); in op_dot1d_stp_port()
1315 return (string_get(val, bp->design_root, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp_port()
1322 return (string_get(val, bp->design_bridge, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp_port()
1325 return (string_get(val, bp->design_port, 2)); in op_begemot_stp_port()
H A Dbridge_if.c648 return (string_get(value, bif->br_addr.octet, in op_dot1d_base()
706 return (string_get(val, bif->design_root, in op_dot1d_stp()
1169 return (string_get(val, bif->bif_name, -1)); in op_begemot_base_bridge()
1172 return (string_get(val, bif->br_addr.octet, ETHER_ADDR_LEN)); in op_begemot_base_bridge()
1347 return (string_get(val, bif->design_root, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp()
H A Dbridge_addrs.c435 return (string_get(val, te->tp_addr, ETHER_ADDR_LEN)); in op_dot1d_tp_fdb()
580 return (string_get(val, te->tp_addr, ETHER_ADDR_LEN)); in op_begemot_tp_fdb()
H A Dbridge_snmp.c172 return (string_get(val, bridge_get_default_name(), -1)); in op_begemot_bridge_config()
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_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 …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c992 return (string_get(value, snmp_nodename, -1)); in op_ng_config()
1452 return (string_get(value, nodeinfo.name, -1)); in op_ng_node()
1454 return (string_get(value, nodeinfo.type, -1)); in op_ng_node()
1681 return (string_get(value, linkinfo.peerhook, -1)); in op_ng_hook()
1683 return (string_get(value, linkinfo.nodeinfo.type, -1)); in op_ng_hook()
/freebsd/usr.sbin/bsnmpd/bsnmpd/
H A DMakefile86 MLINKS+= snmpmod.3 string_get.3

12