Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 1753) sorted by relevance

12345678910>>...71

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c114 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
132 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
187 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
192 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
240 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
244 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
274 p += snprintf(p, tail-p, "IZ"); in zip_flags()
298 p += snprintf(p, tail-p, in zip_flags_long()
302 (void) snprintf(p, tail-p, in zip_flags_long()
364 (void) snprintf(get_line(0, 0), in interpret_atp_zip()
[all …]
H A Dsnoop_sctp.c248 sumlen -= snprintf fmt; \
307 (void) snprintf(get_line(0, 0), BUFLEN, msg, buf); in dumphex()
337 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_asconfok_param()
353 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_asconferr_param()
580 (void) snprintf(get_line(0, 0), in interpret_params()
989 (void) snprintf(get_line(0, 0), in interpret_chunks()
999 (void) snprintf(get_line(0, 0), in interpret_chunks()
1008 (void) snprintf(get_line(0, 0), in interpret_chunks()
1189 (void) snprintf(get_sum_line(), MAXLINE, in interpret_protoid()
1195 (void) snprintf(pbuf, MAXLINE, "%s: ", in interpret_protoid()
[all …]
H A Dsnoop_ip.c620 (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 Dsnoop_ospf.c370 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
376 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
379 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
386 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
390 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
397 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
400 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
407 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
415 (void) snprintf(get_line(0, 0), in interpret_ospf_lsa()
512 snprintf(get_line(0, 0), in interpret_ospf_lsa()
[all …]
H A Dsnoop_aarp.c60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
67 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
72 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
79 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
91 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
96 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
99 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
103 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
106 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
109 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
[all …]
H A Dsnoop_rip.c170 (void) snprintf(get_line in interpret_rip()
176 (void) snprintf(get_line in interpret_rip()
185 (void) snprintf(get_line(0, 0), in interpret_rip()
205 (void) snprintf(get_line in interpret_rip()
216 (void) snprintf(get_line(0, 0), in interpret_rip()
222 (void) snprintf(get_line(0, 0), in interpret_rip()
244 (void) snprintf(addrstr + count, in interpret_rip()
249 (void) snprintf(addrstr + count, in interpret_rip()
256 (void) snprintf(get_line(0, 0), in interpret_rip()
342 (void) snprintf(cp, blen, in interpret_rip()
[all …]
H A Dsnoop_dhcpv6.c137 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 Dsnoop_ospf6.c161 snprintf(scope, sizeof (scope), "linklocal"); in ospf6_print_ls_type()
164 snprintf(scope, sizeof (scope), "area"); in ospf6_print_ls_type()
167 snprintf(scope, sizeof (scope), "AS"); in ospf6_print_ls_type()
170 snprintf(scope, sizeof (scope), ""); in ospf6_print_ls_type()
366 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa()
383 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa()
386 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa()
406 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa()
410 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa()
425 (void) snprintf(get_line(0, 0), in interpret_ospf6_lsa()
[all …]
H A Dsnoop_atp.c56 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp()
60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp()
76 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_atp()
78 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_atp()
83 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_atp()
106 p += snprintf(p, tail-p, "TReq"); in atp_ci()
110 p += snprintf(p, tail-p, "TResp"); in atp_ci()
113 p += snprintf(p, tail-p, "TRel"); in atp_ci()
120 p += snprintf(p, tail-p, " EOM"); in atp_ci()
123 p += snprintf(p, tail-p, " STS"); in atp_ci()
[all …]
H A Dsnoop_nbp.c67 (void) snprintf(get_sum_line(), MAXLINE, in interpret_nbp()
71 (void) snprintf(get_sum_line(), MAXLINE, in interpret_nbp()
81 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_nbp()
85 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_nbp()
88 (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()
93 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_nbp()
122 op += snprintf(op, otail-op, "%.*s", p[0], &p[1]); in show_nbp_tuples()
135 (void) snprintf(get_line(0, 0), get_line_remain(), in show_nbp_tuples()
137 (void) snprintf(get_line(0, 0), get_line_remain(), in show_nbp_tuples()
[all …]
H A Dsnoop_adsp.c44 (void) snprintf(get_sum_line(), MAXLINE, in interpret_adsp()
48 (void) snprintf(get_sum_line(), MAXLINE, in interpret_adsp()
60 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp()
65 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp()
71 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp()
84 (void) snprintf(get_line(0, 0), in interpret_adsp()
89 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp()
97 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_adsp()
126 p += snprintf(p, tail-p, "AckReq"); in adsp_ctrl()
129 p += snprintf(p, tail-p, p == buf ? "EOM" : " EOM"); in adsp_ctrl()
[all …]
H A Dsnoop_arp.c120 (void) snprintf(line, MAXLINE, "ARP R %s is %s", in interpret_arp()
129 (void) snprintf(line, MAXLINE, "RARP R %s is %s", in interpret_arp()
139 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp()
142 (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()
149 (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()
156 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_arp()
178 (void) snprintf(get_sum_line(), MAXLINE, in interpret_arp()
[all …]
H A Dsnoop_igmp.c98 (void) snprintf(line, MAXLINE, "IGMP %s", pt); 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()
108 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmp()
117 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmp()
137 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3qry()
145 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3qry()
148 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3qry()
186 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3rpt()
194 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_igmpv3rpt()
[all …]
H A Dsnoop_dns.c156 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
342 line += snprintf(line, get_line_remain(), in print_question()
474 line += snprintf(line, get_line_remain(), in print_answer()
649 line += snprintf(line, get_line_remain(), in print_answer()
656 line += snprintf(line, get_line_remain(), in print_answer()
683 line += snprintf(line, get_line_remain(), in print_answer()
695 (void) snprintf(line, get_line_remain(), in print_answer()
701 line += snprintf(line, get_line_remain(), in print_answer()
705 line += snprintf(line, get_line_remain(), "%s", in print_answer()
715 line += snprintf(line, get_line_remain(), in print_answer()
[all …]
H A Dsnoop_trill.c48 (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 Dsnoop_apple.c101 p += snprintf(p, sizeof (buf) - (p - buf), in print_macaddr()
122 (void) snprintf(src_buf, sizeof (src_buf), in interpret_at()
126 (void) snprintf(dst_buf, sizeof (dst_buf), in interpret_at()
134 (void) snprintf(get_sum_line(), MAXLINE, in interpret_at()
152 (void) snprintf(buff, sizeof (buff), "(%s)", pname); in interpret_at()
156 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at()
166 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at()
169 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at()
172 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at()
175 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_at()
[all …]
H A Dsnoop_rtmp.c89 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp()
98 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rtmp()
118 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp()
127 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rtmp()
130 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rtmp()
144 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp()
152 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rtmp()
164 (void) snprintf(get_line(0, 0), in show_rtmp_tuples()
173 (void) snprintf(get_line(0, 0), in show_rtmp_tuples()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_fwlog.c133 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 Dmapping.c316 (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 Dbang.c92 (void) snprintf(sysname1, sizeof (sysname1), "%s", sp); in bangequ()
93 (void) snprintf(username1, sizeof (username1), "%s", user1p); in bangequ()
97 (void) snprintf(sysname1, sizeof (sysname1), "%s", user1p); in bangequ()
98 (void) snprintf(username1, sizeof (username1), "%s", sp); in bangequ()
101 (void) snprintf(sysname1, sizeof (sysname1), "%s", Nodenamep); in bangequ()
102 (void) snprintf(username1, sizeof (username1), "%s", user1p); in bangequ()
115 (void) snprintf(sysname2, sizeof (sysname2), "%s", sp); in bangequ()
116 (void) snprintf(username2, sizeof (username2), "%s", user2p); in bangequ()
120 (void) snprintf(sysname2, sizeof (sysname2), "%s", user2p); in bangequ()
121 (void) snprintf(username2, sizeof (username2), "%s", sp); in bangequ()
[all …]
/illumos-gate/usr/src/cmd/powertop/common/
H A Devents.c76 (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 Dprutil.c166 (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 Dputdgrp.c242 (void) snprintf(msg, sizeof(msg), E_NODGRP, dgroup); in main()
269 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main()
271 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, p); in main()
281 (void) snprintf(msg, sizeof(msg), E_INTERNAL, errno); in main()
305 (void) snprintf(msg, sizeof(msg), E_NOTAMEM, *plist); in main()
316 (void) snprintf(msg, sizeof(msg), E_NODGRP, dgroup); in main()
343 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main()
345 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, p); in main()
375 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, _dgrptabpath()); in main()
388 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main()
[all …]
H A Dputdev.c304 (void) snprintf(msg, sizeof(msg), E_ALIASIS, alias); in main()
318 (void) snprintf(msg, sizeof(msg), E_NOMKDTAB, p); in main()
320 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, p); in main()
393 (void) snprintf(msg, sizeof(msg), E_NODEV, device); in main()
419 (void) snprintf(msg, sizeof(msg), E_NOMKDTAB, p); in main()
421 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, p); in main()
487 (void) snprintf(msg, sizeof(msg), E_NODEV, device); in main()
514 (void) snprintf(msg, sizeof(msg), E_NOMKDTAB, p); in main()
516 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, p); in main()
554 (void) snprintf(msg, sizeof(msg), E_NOATTR, *plist); in main()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c279 (void) snprintf(orv, in ql_populate_hba_fru_details()
284 (void) snprintf(orv, in ql_populate_hba_fru_details()
289 (void) snprintf(orv, in ql_populate_hba_fru_details()
317 (void) snprintf(attrs->option_rom_version, in ql_populate_hba_fru_details()
431 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details()
435 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, in ql_populate_hba_fru_details()
437 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details()
446 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details()
464 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, in ql_populate_hba_fru_details()
466 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details()
[all …]

12345678910>>...71