/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_zip.c | 112 (void) snprintf(get_line(0, 0), in interpret_ddp_zip() 130 (void) snprintf(get_line(0, 0), in interpret_ddp_zip() 185 (void) snprintf(get_line(0, 0), in interpret_ddp_zip() 190 (void) snprintf(get_line(0, 0), in interpret_ddp_zip() 238 (void) snprintf(get_line(0, 0), in interpret_ddp_zip() 242 (void) snprintf(get_line(0, 0), in interpret_ddp_zip() 272 p += snprintf(p, tail-p, "IZ"); in zip_flags() 296 p += snprintf(p, tail-p, in zip_flags_long() 300 (void) snprintf(p, tail-p, in zip_flags_long() 362 (void) snprintf(get_line(0, 0), in interpret_atp_zip() [all …]
|
H A D | snoop_sctp.c | 246 sumlen -= snprintf fmt; \ 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() 351 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_asconferr_param() 578 (void) snprintf(get_line(0, 0), in interpret_params() 987 (void) snprintf(get_line(0, 0), in interpret_chunks() 997 (void) snprintf(get_line(0, 0), in interpret_chunks() 1006 (void) snprintf(get_line(0, 0), in interpret_chunks() 1187 (void) snprintf(get_sum_line(), MAXLINE, in interpret_protoid() 1193 (void) snprintf(pbuf, MAXLINE, "%s: ", in interpret_protoid() [all …]
|
H A D | snoop_ip.c | 620 (void) snprintf(line, remain, in print_ipoptions() 625 (void) snprintf(line, remain, in print_ipoptions() 639 (void) snprintf(line, remain, in print_ipoptions() 645 (void) snprintf(line, remain, in print_ipoptions() 650 (void) snprintf(line, remain, in print_ipoptions() 656 (void) snprintf(line, remain, in print_ipoptions() 663 (void) snprintf(line, remain, in print_ipoptions() 934 (void) snprintf(cp, remlen, in print_ip6opt_ls() 939 (void) snprintf(cp, remlen, in print_ip6opt_ls() 949 (void) snprintf(cp, remlen, in print_ip6opt_ls() [all …]
|
H A D | snoop_ospf.c | 368 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 374 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 377 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 384 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 388 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 395 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 398 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 405 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 413 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa() 510 snprintf(get_line(0, 0), in interpret_ospf_lsa() [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_rip.c | 168 (void) snprintf(get_line in interpret_rip() 174 (void) snprintf(get_line in interpret_rip() 183 (void) snprintf(get_line(0, 0), in interpret_rip() 203 (void) snprintf(get_line in interpret_rip() 214 (void) snprintf(get_line(0, 0), in interpret_rip() 220 (void) snprintf(get_line(0, 0), in interpret_rip() 242 (void) snprintf(addrstr + count, in interpret_rip() 247 (void) snprintf(addrstr + count, in interpret_rip() 254 (void) snprintf(get_line(0, 0), in interpret_rip() 340 (void) snprintf(cp, blen, in interpret_rip() [all …]
|
H A D | snoop_dhcpv6.c | 137 line += snprintf(line, in interpret_dhcpv6() 633 (void) snprintf(get_line(0, 0), in show_options() 647 (void) snprintf(get_line(0, 0), in show_options() 659 (void) snprintf(get_line(0, 0), in show_options() 739 (void) snprintf(get_line(0, 0), in show_options() 749 (void) snprintf(get_line(0, 0), in show_options() 760 (void) snprintf(get_line(0, 0), in show_options() 814 (void) snprintf(get_line(0, 0), in show_options() 862 (void) snprintf(get_line(0, 0), in show_options() 900 (void) snprintf(get_line(0, 0), in show_options() [all …]
|
H A D | snoop_ospf6.c | 159 snprintf(scope, sizeof (scope), "linklocal"); in ospf6_print_ls_type() 162 snprintf(scope, sizeof (scope), "area"); in ospf6_print_ls_type() 165 snprintf(scope, sizeof (scope), "AS"); in ospf6_print_ls_type() 168 snprintf(scope, sizeof (scope), ""); in ospf6_print_ls_type() 364 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa() 381 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa() 384 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa() 404 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa() 408 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa() 423 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa() [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() 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() 118 p += snprintf(p, tail-p, " EOM"); in atp_ci() 121 p += snprintf(p, tail-p, " STS"); 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() 133 (void) snprintf(get_line(0, 0), get_line_remain(), in show_nbp_tuples() 135 (void) snprintf(get_line(0, 0), get_line_remain(), in show_nbp_tuples() [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_arp.c | 118 (void) snprintf(line, MAXLINE, "ARP R %s 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() 154 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp() 176 (void) snprintf(get_sum_line(), MAXLINE, in interpret_arp() [all …]
|
H A D | snoop_igmp.c | 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() 184 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3rpt() 192 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3rpt() [all …]
|
H A D | snoop_dns.c | 154 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns() 374 line += snprintf(line, get_line_remain(), in print_question() 506 line += snprintf(line, get_line_remain(), in print_answer() 681 line += snprintf(line, get_line_remain(), in print_answer() 688 line += snprintf(line, get_line_remain(), in print_answer() 715 line += snprintf(line, get_line_remain(), in print_answer() 727 (void) snprintf(line, get_line_remain(), in print_answer() 733 line += snprintf(line, get_line_remain(), in print_answer() 737 line += snprintf(line, get_line_remain(), "%s", in print_answer() 747 line += snprintf(line, get_line_remain(), in print_answer() [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() 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() 173 (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 | 133 n = snprintf(buf, size_left, 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() 185 n = snprintf(buf, size_left, in pmcs_register_dump_int() 205 n = snprintf(buf, size_left, in pmcs_register_dump_int() 303 n += snprintf(&buf[n], (size_left - n), in pmcs_dump_ioqs() 305 n += snprintf(&buf[n], (size_left - n), in pmcs_dump_ioqs() 307 n += snprintf(&buf[n], (size_left - n), in pmcs_dump_ioqs() 309 n += snprintf(&buf[n], (size_left - n), in pmcs_dump_ioqs() 329 n += snprintf(&buf[n], (size_left - n), in pmcs_dump_ioqs() [all …]
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | mapping.c | 316 (void) snprintf(filter, filterlen, in set_filter_publickey() 331 (void) snprintf(filter, filterlen, in set_filter_publickey() 334 (void) snprintf(userdata, udatalen, in set_filter_publickey() 345 (void) snprintf(filter, filterlen, in set_filter_publickey() 357 (void) snprintf(userdata, udatalen, in set_filter_publickey() 444 (void) snprintf(filter, filterlen, in set_filter() 447 (void) snprintf(filter, filterlen, in set_filter() 450 (void) snprintf(filter, filterlen, in set_filter() 472 (void) snprintf(filter, filterlen, in set_filter() 475 (void) snprintf(filter, filterlen, in set_filter() [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/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/prstat/ |
H A D | prutil.c | 166 (void) snprintf(str, length, "%1.1f", val); in Format_pct() 168 (void) snprintf(str, length, "%.0f", val); in Format_pct() 178 (void) snprintf(str, length, "%2dK", num/1000); in Format_num() 180 (void) snprintf(str, length, "%3d", num); in Format_num() 292 (void) snprintf(str, len, "%-6d", (int)projid); in getprojname() 296 (void) snprintf(str, len, "%-28s", "ERROR"); in getprojname() 298 (void) snprintf(str, len, "%.*s%c", width - 1, in getprojname() 312 (void) snprintf(str, len, "%-6d", (int)zoneid); in getzonename() 316 (void) snprintf(str, len, "%-28s", "ERROR"); in getzonename() 318 (void) snprintf(str, len, "%.*s%c", width - 1, in getzonename() [all …]
|
/illumos-gate/usr/src/cmd/devmgmt/cmds/ |
H A D | putdgrp.c | 239 (void) snprintf(msg, sizeof(msg), E_NODGRP, dgroup); 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() 340 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main() 342 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, p); in main() 372 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, _dgrptabpath()); in main() 385 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main() [all …]
|
H A D | putdev.c | 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() 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() 511 (void) snprintf(msg, sizeof(msg), E_NOMKDTAB, p); in main() 513 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, p); in main() 551 (void) snprintf(msg, sizeof(msg), E_NOATTR, *plist); in main() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_hba_fru.c | 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() 426 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details() 430 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, in ql_populate_hba_fru_details() 432 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details() 441 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details() 459 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, in ql_populate_hba_fru_details() 461 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details() [all …]
|