Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c1182 return (string_get(value, sys_clock, 8)); in op_ntpSystem()
1307 return (string_get(value, t->refid, -1)); in op_ntpPeersVarTable()
1310 return (string_get(value, t->reftime, 8)); in op_ntpPeersVarTable()
1313 return (string_get(value, t->orgtime, 8)); in op_ntpPeersVarTable()
1316 return (string_get(value, t->rcvtime, 8)); in op_ntpPeersVarTable()
1319 return (string_get(value, t->xmttime, 8)); in op_ntpPeersVarTable()
1330 return (string_get(value, t->offset, -1)); in op_ntpPeersVarTable()
1333 return (string_get(value, t->delay, -1)); in op_ntpPeersVarTable()
1454 return (string_get(value, t->offset, -1)); in op_ntpFilterRegisterTable()
1457 return (string_get(value, t->delay, -1)); in op_ntpFilterRegisterTable()
[all …]
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_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()
H A Dhostres_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()
H A Dhostres_scalars.c168 return (string_get(value, s_date_time, string_len)); in OS_getSystemDate()
398 return (string_get(value, str, -1)); in op_hrSystem()
H A Dhostres_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()
H A Dhostres_begemot.c74 return (string_get(value, pkg_dir, -1)); in op_begemot()
H A Dhostres_partition_tbl.c612 return (string_get(value, entry->label, -1)); in op_hrPartitionTable()
615 return(string_get(value, entry->id, -1)); in op_hrPartitionTable()
H A Dhostres_printer_tbl.c394 return (string_get(value, entry->detectedErrorState, in op_hrPrinterTable()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_hast/
H A Dhast_snmp.c383 return (string_get(value, cfgpath, -1)); in op_hastConfig()
461 ret = string_get(value, res->name, -1); in op_hastResourceTable()
467 ret = string_get(value, res->provname, -1); in op_hastResourceTable()
470 ret = string_get(value, res->localpath, -1); in op_hastResourceTable()
479 ret = string_get(value, res->remoteaddr, -1); in op_hastResourceTable()
482 ret = string_get(value, res->sourceaddr, -1); in op_hastResourceTable()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_lm75/
H A Dsnmp_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()
/freebsd-12.1/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()
/freebsd-12.1/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c135 return (string_get(val, vacm_ctx->ctxname, -1)); in op_vacm_context()
248 return (string_get(val, user->group->groupname, -1)); in op_vacm_security_to_group()
397 return (string_get(val, acl->ctx_prefix, -1)); in op_vacm_access()
400 return (string_get(val, acl->read_view->viewname, -1)); in op_vacm_access()
402 return (string_get(val, NULL, 0)); in op_vacm_access()
405 return (string_get(val, acl->write_view->viewname, -1)); in op_vacm_access()
407 return (string_get(val, NULL, 0)); in op_vacm_access()
410 return (string_get(val, acl->notify_view->viewname, -1)); in op_vacm_access()
412 return (string_get(val, NULL, 0)); in op_vacm_access()
592 return (string_get(val, view->mask, sizeof(view->mask))); in op_vacm_view()
/freebsd-12.1/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-12.1/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c399 return (string_get(val, uuser->suser.sec_name, -1)); in op_usm_users()
421 return (string_get(val, (char *)uuser->suser.auth_key, 0)); in op_usm_users()
440 return (string_get(val, (char *)uuser->suser.priv_key, 0)); in op_usm_users()
442 return (string_get(val, uuser->user_public, in op_usm_users()
/freebsd-12.1/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c315 return (string_get(val, addrs->address, SNMP_UDP_ADDR_SIZ)); in op_snmp_target_addrs()
323 return (string_get(val, addrs->taglist, -1)); in op_snmp_target_addrs()
325 return (string_get(val, addrs->paramname, -1)); in op_snmp_target_addrs()
504 return (string_get(val, param->secname, -1)); in op_snmp_target_params()
639 return (string_get(val, notify->taglist, -1)); in op_snmp_notify()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c182 return (string_get(val, str, strlen(str))); in pf_status()
466 return (string_get(val, str, strlen(str))); in pf_logif()
586 return (string_get(val, e->pfi.pfik_name, -1)); in pf_iftable()
733 return (string_get(val, e->pft.pfrts_name, -1)); in pf_tbltable()
855 return (string_get(val, in pf_tbladdr()
858 return (string_get(val, in pf_tbladdr()
980 return (string_get(val, e->altq.qname, -1)); in pf_altqq()
982 return (string_get(val, e->altq.parent, -1)); in pf_altqq()
1069 return (string_get(val, e->name, -1)); in pf_lbltable()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_port.c553 return (string_get(val, bp->design_root, in op_dot1d_stp_port()
561 return (string_get(val, bp->design_bridge, in op_dot1d_stp_port()
565 return (string_get(val, bp->design_port, 2)); in op_dot1d_stp_port()
1317 return (string_get(val, bp->design_root, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp_port()
1324 return (string_get(val, bp->design_bridge, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp_port()
1327 return (string_get(val, bp->design_port, 2)); in op_begemot_stp_port()
H A Dbridge_if.c650 return (string_get(value, bif->br_addr.octet, in op_dot1d_base()
708 return (string_get(val, bif->design_root, in op_dot1d_stp()
1171 return (string_get(val, bif->bif_name, -1)); in op_begemot_base_bridge()
1174 return (string_get(val, bif->br_addr.octet, ETHER_ADDR_LEN)); in op_begemot_base_bridge()
1349 return (string_get(val, bif->design_root, SNMP_BRIDGE_ID_LEN)); in op_begemot_stp()
H A Dbridge_addrs.c437 return (string_get(val, te->tp_addr, ETHER_ADDR_LEN)); in op_dot1d_tp_fdb()
582 return (string_get(val, te->tp_addr, ETHER_ADDR_LEN)); in op_begemot_tp_fdb()
H A Dbridge_snmp.c174 return (string_get(val, bridge_get_default_name(), -1)); in op_begemot_bridge_config()
/freebsd-12.1/contrib/ngatm/snmp_atm/
H A Dsnmp_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()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c422 return (string_get(val, wif->wname, -1)); in op_wlan_iface()
424 return (string_get(val, wif->pname, -1)); in op_wlan_iface()
434 return (string_get(val, wif->dlmac, IEEE80211_ADDR_LEN)); in op_wlan_iface()
722 return (string_get(val, wif->country_code, in op_wlan_iface_config()
728 return (string_get(val, wif->desired_ssid, -1)); in op_wlan_iface_config()
766 return (string_get(val, wif->desired_bssid, in op_wlan_iface_config()
923 return (string_get(val, wip->pmac, IEEE80211_ADDR_LEN)); in op_wlan_if_peer()
1326 return (string_get(val, sr->ssid, -1)); in op_wlan_scan_results()
2249 return (string_get(val, wif->desired_ssid, -1)); in op_wlan_mesh_iface()
2401 return (string_get(val, wmr->imroute.imr_dest, in op_wlan_mesh_route()
[all …]
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_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()
/freebsd-12.1/usr.sbin/bsnmpd/bsnmpd/
H A DMakefile87 MLINKS+= snmpmod.3 string_get.3

12