Home
last modified time | relevance | path

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

12345678910>>...91

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
66 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
75 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
82 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
87 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip()
97 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip()
105 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip()
114 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
121 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip()
132 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
[all …]
H A Dsnoop_sctp.c248 sumlen -= snprintf fmt; \
300 (void) snprintf(&buf[index * 3], 4, " %.2x", payload[index]); in dumphex()
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()
342 (void) snprintf(get_line(0, 0), get_line_remain(), " ASCONF CID = %u", in parse_asconfok_param()
353 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_asconferr_param()
358 (void) snprintf(get_line(0, 0), get_line_remain(), " ASCONF CID = %u", in parse_asconferr_param()
382 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_addip_param()
387 (void) snprintf(get_line(0, 0), get_line_remain(), " ASCONF CID = %u", in parse_addip_param()
402 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_ip4_param()
[all …]
H A Dsnoop_ip.c110 (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 Dsnoop_ospf.c121 snprintf(lsa_age, sizeof (lsa_age), "%u:%02u:%02u", in ospf_print_lsa_age()
124 snprintf(lsa_age, sizeof (lsa_age), "%u:%02u", mins, sec); in ospf_print_lsa_age()
126 snprintf(lsa_age, sizeof (lsa_age), "%u", sec); in ospf_print_lsa_age()
167 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello()
170 (void) snprintf(get_line(0, 0), get_line_remain(), "Mask = %s", in interpret_ospf_hello()
172 (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()
177 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello()
180 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello()
185 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello()
[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.c84 (void) snprintf(ripvers, sizeof (ripvers), "RIPv%d", in interpret_rip()
105 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rip()
112 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rip()
133 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rip()
139 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rip()
151 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rip()
154 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rip()
162 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_rip()
170 (void) snprintf(get_line in interpret_rip()
176 (void) snprintf(get_line in interpret_rip()
[all …]
H A Dsnoop_dhcpv6.c85 line += snprintf(line, MAXLINE, "DHCPv6 %s", in interpret_dhcpv6()
98 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
113 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
124 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
132 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
136 line += snprintf(line, in interpret_dhcpv6()
145 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
152 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6()
163 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6()
176 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6()
[all …]
H A Dsnoop_ospf6.c114 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello()
117 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello()
120 (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()
125 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello()
128 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello()
133 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello()
142 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf6_hello()
161 snprintf(scope, sizeof (scope), "linklocal"); in ospf6_print_ls_type()
164 snprintf(scope, sizeof (scope), "area"); in ospf6_print_ls_type()
[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()
72 (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()
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()
117 p += snprintf(p, tail-p, ci & ATP_FLG_XO ? " XO" : " ALO"); 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()
127 op += snprintf(op, otail-op, ":%.*s", p[0], &p[1]); in show_nbp_tuples()
132 (void) snprintf(op, otail-op, "@%.*s", p[0], &p[1]); 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.c116 (void) snprintf(line, MAXLINE, "ARP C Who is %s ?", in interpret_arp()
120 (void) snprintf(line, MAXLINE, "ARP R %s is %s", in interpret_arp()
125 (void) snprintf(line, MAXLINE, "RARP C Who 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()
[all …]
H A Dsnoop_igmp.c61 (void) snprintf(line, MAXLINE, "Malformed IGMP packet"); in interpret_igmp()
98 (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()
155 (void) snprintf(get_line(0, 0), get_line_remain(), " %s", in interpret_igmpv3qry()
[all …]
H A Dsnoop_dns.c156 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
158 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
163 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
166 (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()
174 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
178 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
194 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
209 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
[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()
163 (void) snprintf(buff, sizeof (buff), "(%s)", pname); 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()
[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()
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_fwlog.c111 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 …]
/titanic_50/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Ddebug.c190 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%s%s%s\n", in snmp_log_cmd()
197 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%sCMD=%#x\n", in snmp_log_cmd()
200 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%s%s\n", in snmp_log_cmd()
206 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%s %s.%d\n", in snmp_log_cmd()
235 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%s%s%s\n", in snmp_log_var()
241 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%snextvar = %#x\n", in snmp_log_var()
245 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%sname = %#x\n", in snmp_log_var()
249 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%sname_len = %u\n", in snmp_log_var()
253 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%sval.ptr = %#x\n", in snmp_log_var()
257 (void) snprintf(snmp_lbuf, SNMP_DMAX_LINE, "%*c%sval_len = %u\n", in snmp_log_var()
[all …]
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dmapping.c167 (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 …]
/titanic_50/usr/src/cmd/lp/lib/access/
H A Dbang.c91 (void) snprintf(sysname1, sizeof (sysname1), "%s", sp); in bangequ()
92 (void) snprintf(username1, sizeof (username1), "%s", user1p); in bangequ()
96 (void) snprintf(sysname1, sizeof (sysname1), "%s", user1p); in bangequ()
97 (void) snprintf(username1, sizeof (username1), "%s", sp); in bangequ()
100 (void) snprintf(sysname1, sizeof (sysname1), "%s", Nodenamep); in bangequ()
101 (void) snprintf(username1, sizeof (username1), "%s", user1p); in bangequ()
114 (void) snprintf(sysname2, sizeof (sysname2), "%s", sp); in bangequ()
115 (void) snprintf(username2, sizeof (username2), "%s", user2p); in bangequ()
119 (void) snprintf(sysname2, sizeof (sysname2), "%s", user2p); in bangequ()
120 (void) snprintf(username2, sizeof (username2), "%s", sp); in bangequ()
[all …]
/titanic_50/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 …]
/titanic_50/usr/src/cmd/devmgmt/cmds/
H A Dputdgrp.c242 (void) snprintf(msg, sizeof(msg), E_NODGRP, dgroup); in main()
253 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, _dgrptabpath()); 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()
327 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, _dgrptabpath()); in main()
343 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main()
345 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, p); in main()
[all …]
H A Dputdev.c293 else (void) snprintf(p=msg, sizeof(msg), E_INVALIAS, alias); in main()
304 (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()
403 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, _devtabpath()); 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()
498 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, _devtabpath()); in main()
[all …]
/titanic_50/usr/src/cmd/prstat/
H A Dprutil.c146 (void) snprintf(str, length, "%4d%c", (int)size, tag); in Format_size()
152 (void) snprintf(str, length, gettext("%3d:%2.2d:%2.2d"), /* hr:mm:ss */ in Format_time()
165 (void) snprintf(str, length, "%1.1f", val); in Format_pct()
167 (void) snprintf(str, length, "%.0f", val); in Format_pct()
174 (void) snprintf(str, length, ".%1dM", num/100000); in Format_num()
177 (void) snprintf(str, length, "%2dK", num/1000); in Format_num()
179 (void) snprintf(str, length, "%3d", num); in Format_num()
206 (void) snprintf(str, length, "cpu%-3d", (int)pr_id); in Format_state()
291 (void) snprintf(str, len, "%-6d", (int)projid); in getprojname()
295 (void) snprintf(str, len, "%-28s", "ERROR"); in getprojname()
[all …]

12345678910>>...91