/illumos-gate/usr/src/cmd/hal/probing/network-printer/ |
H A D | probe-network-printer.c | 41 *community; local 51 extern int snmp_printer_info(char *hostname, char *community, 65 community = getenv("HAL_PROP_NETWORK_DEVICE_SNMP_COMMUNITY"); 66 if (community == NULL) 67 community = "public"; 82 ret = snmp_printer_info(printer_address, community, &manufacturer,
|
H A D | probe-snmp.c | 53 snmp_get_item(char *host, char *community, char *mib_item) argument 64 session.community = (uchar_t *)community; 65 session.community_len = strlen((const char *)session.community); 88 snmp_get_string(char *host, char *community, char *mib_item) argument 93 response = snmp_get_item(host, community, mib_item); 104 HAL_DEBUG(("snmp_get_string(%s, %s, %s): %s", host, community, mib_item, 114 snmp_brother_printer_info(char *hostname, char *community, char **manufacturer, argument 126 tmp = snmp_get_string(hostname, community, 134 *serial_no = snmp_get_string(hostname, community, 142 snmp_ricoh_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 170 snmp_lexmark_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 198 snmp_xerox_phaser_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument 260 snmp_qms_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument 297 snmp_oki_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 325 snmp_hp_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 353 snmp_ppm_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 376 snmp_prt_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 407 snmp_host_resource_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument 426 snmp_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument [all...] |
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | snmp.c | 32 add_snmp_device(LibHalContext *ctx, char *parent, char *name, char *community) argument 40 add_network_printer(ctx, parent, name, device, community); 66 scan_for_devices_using_snmp(LibHalContext *ctx, char *parent, char *community, argument 76 ctx, NP(parent), NP(community), NP(network))); 84 session.community = (uchar_t *)community; 85 session.community_len = strlen((const char *)session.community); 124 add_snmp_device(ctx, parent, (char *)elem->data, community);
|
H A D | addon-network-discovery.c | 39 char *community; member in struct:__anon607 46 nds_snmp_scan(LibHalContext *ctx, char *parent, char *community, char *network) argument 51 ctx, NP(parent), NP(community), NP(network))); 60 scan_for_devices_using_snmp(ctx, parent, community, 66 scan_for_devices_using_snmp(ctx, parent, community, network); 83 if (args->community) free(args->community); 89 nds_snmp_scan(args->ctx, args->parent, args->community, args->network); 96 char *community, char *network) 99 ctx, NP(parent), interval, NP(community), N 95 nds_EnablePrinterScanningViaSNMP(LibHalContext *ctx, char *parent, int interval, char *community, char *network) argument 137 nds_ScanForPrintersViaSNMP(LibHalContext *ctx, char *parent, char *community, char *network) argument 167 char *community = "public"; local 185 char *community = "public"; local [all...] |
H A D | common.c | 30 extern int snmp_printer_info(char *hostname, char *community, 168 char *device, char *community) 193 snmp_printer_info(hostaddr, community, &manufacturer, &model, 210 if ((community != NULL) && (strcasecmp(community, "public") != 0)) 212 "network_device.snmp_community", community, &error); 167 add_network_printer(LibHalContext *ctx, char *base, char *hostaddr, char *device, char *community) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | pdu.h | 60 uchar_t *community; member in struct:snmp_pdu
|