/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_zip.c | 58 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 64 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 73 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 80 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 85 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 95 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip() 103 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip() 112 (void) snprintf(get_line(0, 0), in interpret_ddp_zip() 119 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip() 130 (void) snprintf(get_line(0, 0), in interpret_ddp_zip() [all …]
|
H A D | snoop_sctp.c | 246 sumlen -= snprintf fmt; \ 298 (void) snprintf(&buf[index * 3], 4, " %.2x", payload[index]); in dumphex() 305 (void) snprintf(get_line(0, 0), BUFLEN, msg, buf); in dumphex() 335 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_asconfok_param() 340 (void) snprintf(get_line(0, 0), get_line_remain(), " ASCONF CID = %u", in parse_asconfok_param() 351 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_asconferr_param() 356 (void) snprintf(get_line(0, 0), get_line_remain(), " ASCONF CID = %u", in parse_asconferr_param() 380 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_addip_param() 385 (void) snprintf(get_line(0, 0), get_line_remain(), " ASCONF CID = %u", in parse_addip_param() 400 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_ip4_param() [all …]
|
H A D | snoop_ip.c | 110 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ip() 129 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ip() 142 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ip() 157 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ip() 159 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ip() 161 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ip() 163 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ip() 166 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ip() 169 (void) snprintf(get_line(0, 0), get_line_remain(), " %s", in interpret_ip() 172 (void) snprintf(get_line(0, 0), get_line_remain(), " %s", in interpret_ip() [all …]
|
H A D | snoop_ospf.c | 119 snprintf(lsa_age, sizeof (lsa_age), "%u:%02u:%02u", in ospf_print_lsa_age() 122 snprintf(lsa_age, sizeof (lsa_age), "%u:%02u", mins, sec); in ospf_print_lsa_age() 124 snprintf(lsa_age, sizeof (lsa_age), "%u", sec); in ospf_print_lsa_age() 165 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello() 168 (void) snprintf(get_line(0, 0), get_line_remain(), "Mask = %s", in interpret_ospf_hello() 170 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello() 173 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello() 175 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello() 178 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello() 183 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello() [all …]
|
H A D | snoop_rip.c | 82 (void) snprintf(ripvers, sizeof (ripvers), "RIPv%d", in interpret_rip() 103 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rip() 110 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rip() 131 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rip() 137 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rip() 149 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rip() 152 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rip() 160 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rip() 168 (void) snprintf(get_line in interpret_rip() 174 (void) snprintf(get_line in interpret_rip() [all …]
|
H A D | snoop_aarp.c | 58 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 65 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 70 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 77 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 89 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp() 94 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp() 97 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp() 101 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp() 104 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp() 107 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp() [all …]
|
H A D | snoop_dhcpv6.c | 86 line += snprintf(line, MAXLINE, "DHCPv6 %s", in interpret_dhcpv6() 99 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 114 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 125 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 133 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 137 line += snprintf(line, in interpret_dhcpv6() 146 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 153 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6() 164 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6() 177 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6() [all …]
|
H A D | snoop_ospf6.c | 112 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello() 115 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello() 118 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello() 121 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello() 123 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello() 126 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello() 131 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello() 140 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello() 159 snprintf(scope, sizeof (scope), "linklocal"); in ospf6_print_ls_type() 162 snprintf(scope, sizeof (scope), "area"); in ospf6_print_ls_type() [all …]
|
H A D | snoop_atp.c | 54 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp() 58 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp() 70 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_atp() 74 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_atp() 76 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_atp() 81 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_atp() 104 p += snprintf(p, tail-p, "TReq"); in atp_ci() 108 p += snprintf(p, tail-p, "TResp"); in atp_ci() 111 p += snprintf(p, tail-p, "TRel"); in atp_ci() 115 p += snprintf(p, tail-p, ci & ATP_FLG_XO ? " XO" : " ALO"); in atp_ci() [all …]
|
H A D | snoop_nbp.c | 65 (void) snprintf(get_sum_line(), MAXLINE, in interpret_nbp() 69 (void) snprintf(get_sum_line(), MAXLINE, in interpret_nbp() 79 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_nbp() 83 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_nbp() 86 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_nbp() 89 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_nbp() 91 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_nbp() 120 op += snprintf(op, otail-op, "%.*s", p[0], &p[1]); in show_nbp_tuples() 125 op += snprintf(op, otail-op, ":%.*s", p[0], &p[1]); in show_nbp_tuples() 130 (void) snprintf(op, otail-op, "@%.*s", p[0], &p[1]); in show_nbp_tuples() [all …]
|
H A D | snoop_arp.c | 114 (void) snprintf(line, MAXLINE, "ARP C Who is %s ?", in interpret_arp() 118 (void) snprintf(line, MAXLINE, "ARP R %s is %s", in interpret_arp() 123 (void) snprintf(line, MAXLINE, "RARP C Who is %s ?", in interpret_arp() 127 (void) snprintf(line, MAXLINE, "RARP R %s is %s", in interpret_arp() 137 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp() 140 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp() 143 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp() 145 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp() 147 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp() 152 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp() [all …]
|
H A D | snoop_adsp.c | 42 (void) snprintf(get_sum_line(), MAXLINE, in interpret_adsp() 46 (void) snprintf(get_sum_line(), MAXLINE, in interpret_adsp() 58 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp() 63 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp() 69 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp() 82 (void) snprintf(get_line(0, 0), in interpret_adsp() 87 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp() 95 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp() 124 p += snprintf(p, tail-p, "AckReq"); in adsp_ctrl() 127 p += snprintf(p, tail-p, p == buf ? "EOM" : " EOM"); in adsp_ctrl() [all …]
|
H A D | snoop_dns.c | 154 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 156 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 161 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 164 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 168 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 170 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 172 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 176 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 192 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 207 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() [all …]
|
H A D | snoop_igmp.c | 59 (void) snprintf(line, MAXLINE, "Malformed IGMP packet"); in interpret_igmp() 96 (void) snprintf(line, MAXLINE, "IGMP %s", pt); in interpret_igmp() 102 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmp() 104 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmp() 106 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmp() 115 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmp() 135 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3qry() 143 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3qry() 146 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3qry() 153 (void) snprintf(get_line(0, 0), get_line_remain(), " %s", in interpret_igmpv3qry() [all …]
|
H A D | snoop_trill.c | 48 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 60 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_trill() 63 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_trill() 66 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_trill() 68 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_trill() 70 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_trill() 78 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 86 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 93 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 103 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill()
|
H A D | snoop_apple.c | 99 p += snprintf(p, sizeof (buf) - (p - buf), in print_macaddr() 120 (void) snprintf(src_buf, sizeof (src_buf), in interpret_at() 124 (void) snprintf(dst_buf, sizeof (dst_buf), in interpret_at() 132 (void) snprintf(get_sum_line(), MAXLINE, in interpret_at() 150 (void) snprintf(buff, sizeof (buff), "(%s)", pname); in interpret_at() 154 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at() 161 (void) snprintf(buff, sizeof (buff), "(%s)", pname); in interpret_at() 164 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at() 167 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at() 170 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at() [all …]
|
H A D | snoop_rtmp.c | 87 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp() 96 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rtmp() 116 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp() 125 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rtmp() 128 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rtmp() 142 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp() 150 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rtmp() 162 (void) snprintf(get_line(0, 0), in show_rtmp_tuples() 171 (void) snprintf(get_line(0, 0), in show_rtmp_tuples()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_fwlog.c | 111 n = snprintf(buf, size_left, "\nDump AAP1 register: \n" in pmcs_register_dump_int() 127 n = snprintf(buf, size_left, "AAP1: Content of " in pmcs_register_dump_int() 133 n = snprintf(buf, size_left, in pmcs_register_dump_int() 142 n = snprintf(buf, size_left, "\nDump IOP register: \n" in pmcs_register_dump_int() 158 n = snprintf(buf, size_left, in pmcs_register_dump_int() 164 n = snprintf(buf, size_left, in pmcs_register_dump_int() 173 n = snprintf(buf, size_left, "\nDump AAP1 event log: \n" in pmcs_register_dump_int() 185 n = snprintf(buf, size_left, in pmcs_register_dump_int() 193 n = snprintf(buf, size_left, "\nDump IOP event log: \n" in pmcs_register_dump_int() 205 n = snprintf(buf, size_left, in pmcs_register_dump_int() [all …]
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | mapping.c | 167 (void) snprintf(keyfilter, totlen, "(|"); in set_keys() 192 (void) snprintf(keyfilter + len, totlen - len, in set_keys() 195 (void) snprintf(keyfilter + len, totlen - len, in set_keys() 263 (void) snprintf(pre_filter + len, totlen - len, in set_keys_publickey() 266 (void) snprintf(pre_filter + len, totlen - len, in set_keys_publickey() 279 (void) snprintf(keyfilter, len, "(|%s)", pre_filter); in set_keys_publickey() 316 (void) snprintf(filter, filterlen, in set_filter_publickey() 319 (void) snprintf(userdata, udatalen, "%%s"); in set_filter_publickey() 331 (void) snprintf(filter, filterlen, in set_filter_publickey() 334 (void) snprintf(userdata, udatalen, in set_filter_publickey() [all …]
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | events.c | 76 (void) snprintf((char *)(event->offender_name), in pt_events_walk() 78 (void) snprintf((char *)(event->offense_name), in pt_events_walk() 85 (void) snprintf((char *)(event->offender_name), in pt_events_walk() 112 (void) snprintf((char *)(event->offense_name), in pt_events_walk() 116 (void) snprintf((char *)(event->offense_name), in pt_events_walk() 125 (void) snprintf((char *)(event->offender_name), in pt_events_walk() 127 (void) snprintf((char *)(event->offense_name), in pt_events_walk() 135 (void) snprintf((char *)(event->offender_name), in pt_events_walk() 156 (void) snprintf((char *)(event->offense_name), in pt_events_walk() 160 (void) snprintf((char *)(event->offense_name), in pt_events_walk() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/access/ |
H A D | bang.c | 90 (void) snprintf(sysname1, sizeof (sysname1), "%s", sp); in bangequ() 91 (void) snprintf(username1, sizeof (username1), "%s", user1p); in bangequ() 95 (void) snprintf(sysname1, sizeof (sysname1), "%s", user1p); in bangequ() 96 (void) snprintf(username1, sizeof (username1), "%s", sp); in bangequ() 99 (void) snprintf(sysname1, sizeof (sysname1), "%s", Nodenamep); in bangequ() 100 (void) snprintf(username1, sizeof (username1), "%s", user1p); in bangequ() 113 (void) snprintf(sysname2, sizeof (sysname2), "%s", sp); in bangequ() 114 (void) snprintf(username2, sizeof (username2), "%s", user2p); in bangequ() 118 (void) snprintf(sysname2, sizeof (sysname2), "%s", user2p); in bangequ() 119 (void) snprintf(username2, sizeof (username2), "%s", sp); in bangequ() [all …]
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prutil.c | 147 (void) snprintf(str, length, "%4d%c", (int)size, tag); in Format_size() 153 (void) snprintf(str, length, gettext("%3d:%2.2d:%2.2d"), /* hr:mm:ss */ in Format_time() 166 (void) snprintf(str, length, "%1.1f", val); in Format_pct() 168 (void) snprintf(str, length, "%.0f", val); in Format_pct() 175 (void) snprintf(str, length, ".%1dM", num/100000); in Format_num() 178 (void) snprintf(str, length, "%2dK", num/1000); in Format_num() 180 (void) snprintf(str, length, "%3d", num); in Format_num() 207 (void) snprintf(str, length, "cpu%-3d", (int)pr_id); in Format_state() 292 (void) snprintf(str, len, "%-6d", (int)projid); in getprojname() 296 (void) snprintf(str, len, "%-28s", "ERROR"); in getprojname() [all …]
|
/illumos-gate/usr/src/cmd/devmgmt/cmds/ |
H A D | putdgrp.c | 239 (void) snprintf(msg, sizeof(msg), E_NODGRP, dgroup); in main() 250 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, _dgrptabpath()); in main() 266 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main() 268 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, p); in main() 278 (void) snprintf(msg, sizeof(msg), E_INTERNAL, errno); in main() 302 (void) snprintf(msg, sizeof(msg), E_NOTAMEM, *plist); in main() 313 (void) snprintf(msg, sizeof(msg), E_NODGRP, dgroup); in main() 324 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, _dgrptabpath()); in main() 340 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main() 342 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, p); in main() [all …]
|
H A D | putdev.c | 290 else (void) snprintf(p=msg, sizeof(msg), E_INVALIAS, alias); in main() 301 (void) snprintf(msg, sizeof(msg), E_ALIASIS, alias); in main() 315 (void) snprintf(msg, sizeof(msg), E_NOMKDTAB, p); in main() 317 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, p); in main() 390 (void) snprintf(msg, sizeof(msg), E_NODEV, device); in main() 400 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, _devtabpath()); in main() 416 (void) snprintf(msg, sizeof(msg), E_NOMKDTAB, p); in main() 418 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, p); in main() 484 (void) snprintf(msg, sizeof(msg), E_NODEV, device); in main() 495 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, _devtabpath()); in main() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_hba_fru.c | 245 (void) snprintf(attrs->manufacturer, FCHBA_MANUFACTURER_LEN, in ql_populate_hba_fru_details() 247 (void) snprintf(attrs->driver_name, FCHBA_DRIVER_NAME_LEN, in ql_populate_hba_fru_details() 249 (void) snprintf(attrs->driver_version, FCHBA_DRIVER_VERSION_LEN, in ql_populate_hba_fru_details() 259 (void) snprintf(attrs->firmware_version, FCHBA_FIRMWARE_VERSION_LEN, in ql_populate_hba_fru_details() 275 (void) snprintf(orv, in ql_populate_hba_fru_details() 280 (void) snprintf(orv, in ql_populate_hba_fru_details() 285 (void) snprintf(orv, in ql_populate_hba_fru_details() 311 (void) snprintf(attrs->option_rom_version, in ql_populate_hba_fru_details() 424 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, "%s", in ql_populate_hba_fru_details() 426 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details() [all …]
|