Home
last modified time | relevance | path

Searched refs:get_line (Results 1 – 25 of 64) sorted by relevance

123

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_netbios.c104 sprintf(get_line(0, 0), " - Broadcast"); in print_flag_details()
106 sprintf(get_line(0, 0), " - Recursion Available"); in print_flag_details()
108 sprintf(get_line(0, 0), " - Recursion Desired"); in print_flag_details()
110 sprintf(get_line(0, 0), " - Truncation Flag"); in print_flag_details()
112 sprintf(get_line(0, 0), " - Authoritative Answer"); in print_flag_details()
189 sprintf(get_line(0, 0), "Type = %s %s", optype, resptype); in print_ns_type()
221 sprintf(get_line(0, 0), "Datagram Packet Type = 0x%.2x", in interpret_netbios_datagram()
223 sprintf(get_line(0, 0), "Datagram Flags = 0x%.2x", in interpret_netbios_datagram()
226 sprintf(get_line(0, 0), "Datagram ID = 0x%.4x", in interpret_netbios_datagram()
229 sprintf(get_line(0, 0), "Source IP = %d.%d.%d.%d", in interpret_netbios_datagram()
[all …]
H A Dsnoop_ppp.c340 (void) sprintf(get_line(0, 0), "Protocol = 0x%x (%s)", in interpret_ppp()
389 (void) sprintf(get_line(0, 0), "Code = %d %s", code, codestr); in interpret_ppp_cp()
390 (void) sprintf(get_line(0, 0), "Identifier = %d", id); in interpret_ppp_cp()
391 (void) sprintf(get_line(0, 0), "Length = %d", length); in interpret_ppp_cp()
410 (void) sprintf(get_line(0, 0), "Magic-Number = 0x%08x", in interpret_ppp_cp()
421 (void) sprintf(get_line(0, 0), "OUI = 0x%06x (%s)", in interpret_ppp_cp()
423 (void) sprintf(get_line(0, 0), "Kind = %d", kind); in interpret_ppp_cp()
445 (void) sprintf(get_line(0, 0), "Data = %.*s", in interpret_ppp_cp()
489 (void) sprintf(get_line(0, 0), "Magic-Number = 0x%08x", in interpret_ppp_cp()
507 (void) sprintf(get_line(0, 0), in interpret_ppp_cp()
[all …]
H A Dsnoop_sctp.c307 (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()
412 (void) snprintf(get_line(0, 0), get_line_remain(), " Addr = %s", ap); in parse_ip4_param()
423 (void) snprintf(get_line(0, 0), get_line_remain(), in parse_ip6_param()
[all …]
H A Dsnoop_ntp.c135 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp()
140 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp()
143 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp()
148 (void) sprintf(get_line((char *)(uintptr_t)ntp->stratum - in interpret_ntp()
155 (void) sprintf(get_line((char *)(uintptr_t)ntp->ppoll - in interpret_ntp()
157 (void) sprintf(get_line((char *)(uintptr_t)ntp->precision - in interpret_ntp()
161 (void) sprintf(get_line( in interpret_ntp()
168 (void) sprintf(get_line( in interpret_ntp()
175 (void) sprintf(get_line((char *)(uintptr_t)ntp->refid - in interpret_ntp()
179 (void) sprintf(get_line( in interpret_ntp()
[all …]
H A Dsnoop_dhcp.c157 (void) sprintf(get_line((char *)(uintptr_t)dp->htype - in interpret_dhcp()
161 (void) sprintf(get_line((char *)(uintptr_t)dp->hlen - in interpret_dhcp()
164 (void) sprintf(get_line((char *)(uintptr_t)dp->hops - in interpret_dhcp()
167 (void) sprintf(get_line((char *)(uintptr_t)dp->xid - in interpret_dhcp()
170 (void) sprintf(get_line((char *)(uintptr_t)dp->secs - in interpret_dhcp()
173 (void) sprintf(get_line((char *)(uintptr_t)dp->flags - in interpret_dhcp()
176 (void) sprintf(get_line((char *)&dp->ciaddr - dlc_header, 4), in interpret_dhcp()
178 (void) sprintf(get_line((char *)&dp->yiaddr - dlc_header, 4), in interpret_dhcp()
181 (void) sprintf(get_line((char *)&dp->siaddr - dlc_header, 4), in interpret_dhcp()
184 (void) sprintf(get_line((char *)&dp->giaddr - dlc_header, 4), in interpret_dhcp()
[all …]
H A Dsnoop_ospf.c167 (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()
194 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ospf_hello()
213 (void) snprintf(get_line(0, 0), get_line_remain(), in ospf_print_ls_type()
225 (void) snprintf(get_line(0, 0), get_line_remain(), in ospf_print_ls_type()
[all …]
H A Dsnoop_mip.c166 (void) sprintf(get_line((char *)payload-dlc_header, 1), msg, buf); in dumphex()
240 (void) sprintf(get_line((char *)exthdr-dlc_header, 1), in interpret_extensions()
246 (void) sprintf(get_line((char *)exthdr-dlc_header, 1), in interpret_extensions()
257 (void) sprintf(get_line((char *)&exthdr->length-dlc_header, 1), in interpret_extensions()
507 (void) sprintf(get_line((char *)&rreq - in interpret_mip_cntrlmsg()
510 (void) sprintf(get_line( in interpret_mip_cntrlmsg()
515 (void) sprintf(get_line( in interpret_mip_cntrlmsg()
520 (void) sprintf(get_line( in interpret_mip_cntrlmsg()
526 (void) sprintf(get_line( in interpret_mip_cntrlmsg()
531 (void) sprintf(get_line( in interpret_mip_cntrlmsg()
[all …]
H A Dsnoop_ip.c157 (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()
175 (void) snprintf(get_line(0, 0), get_line_remain(), " %s", in interpret_ip()
178 (void) snprintf(get_line(0, 0), get_line_remain(), " %s", in interpret_ip()
184 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ip()
[all …]
H A Dsnoop_nfs3.c377 (void) sprintf(get_line(0, 0), "Proc = %d (%s)",
429 (void) sprintf(get_line(0, 0), "Method = %s",
437 (void) sprintf(get_line(0, 0), "File type = %s",
456 (void) sprintf(get_line(0, 0), "Stable = %s",
519 (void) sprintf(get_line(0, 0), "Stable = %s",
540 (void) sprintf(get_line(0, 0),
564 (void) sprintf(get_line(0, 0), "Access = %s",
636 (void) sprintf(get_line(0, 0), " %s",
640 (void) sprintf(get_line(0, 0), " %s",
644 (void) sprintf(get_line(0, 0), " %s",
[all …]
H A Dsnoop_dhcpv6.c152 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6()
158 (void) strlcpy(get_line(0, 0), "Truncated", in interpret_dhcpv6()
163 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6()
171 (void) strlcpy(get_line(0, 0), "Truncated", in interpret_dhcpv6()
176 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dhcpv6()
507 (void) snprintf(get_line(0, 0), get_line_remain(), "%*s %c%s", in show_hex()
534 (void) snprintf(get_line(0, 0), get_line_remain(), in show_ascii()
552 (void) snprintf(get_line(0, 0), get_line_remain(), "%s = %s", in show_address()
555 (void) snprintf(get_line(0, 0), get_line_remain(), in show_address()
603 (void) snprintf(get_line(0, 0), get_line_remain(), in show_options()
[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()
176 (void) snprintf(get_line(0, 0), get_line_remain(), in ospf6_print_ls_type()
182 (void) snprintf(get_line(0, 0), get_line_remain(), in ospf6_print_ls_type()
[all …]
H A Dsnoop_zip.c97 (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()
143 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip()
176 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip()
180 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip()
183 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_ddp_zip()
187 (void) snprintf(get_line(0, 0), in interpret_ddp_zip()
[all …]
H A Dsnoop_rpcsec.c106 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred()
109 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred()
114 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred()
117 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred()
123 line = get_line(pos, getxdr_pos()); in print_rpcsec_gss_cred()
164 sprintf(get_line(0, 0), in rpcsec_gss_pre_proto()
188 sprintf(get_line(0, 0), in rpcsec_gss_pre_proto()
191 sprintf(get_line(0, 0), in rpcsec_gss_pre_proto()
239 sprintf(get_line(0, 0), in rpcsec_gss_post_proto()
241 sprintf(get_line(0, 0), "[%s]", checksum); in rpcsec_gss_post_proto()
[all …]
H A Dsnoop_slp.c273 sprintf(get_line(0, 0), " \"%s\"", p); in slp_prevresp()
444 sprintf(get_line(0, 0), "%s: length = -1: Use all NAs", tag); in slp_field()
448 sprintf(get_line(0, 0), "%s: length = %d", tag, length); in slp_field()
451 sprintf(get_line(0, 0), in slp_field()
475 sprintf(get_line(0, 0), " \"%s\"", buf); in slp_field()
511 sprintf(get_line(0, 0), in slpv2_url()
516 sprintf(get_line(0, 0), in slpv2_url()
523 sprintf(get_line(0, 0), in slpv2_url()
534 sprintf(get_line(0, 0), " \"%s\"", buf); in slpv2_url()
547 sprintf(get_line(0, 0), "%d Authentication Blocks", n); in slpv2_url()
[all …]
H A Dsnoop_icmp.c383 (void) sprintf(get_line(0, 0), "Type = %d (%s)", in interpret_icmp()
386 (void) sprintf(get_line(0, 0), "Code = %d (%s)", in interpret_icmp()
389 (void) sprintf(get_line(0, 0), "Code = %d", in interpret_icmp()
392 (void) sprintf(get_line(0, 0), "Checksum = %x", in interpret_icmp()
399 (void) sprintf(get_line(0, 0), in interpret_icmp()
410 (void) sprintf(get_line(0, 0), in interpret_icmp()
598 (void) sprintf(get_line(0, 0), "Type = %d (%s)",
601 (void) sprintf(get_line(0, 0), "Code = %d (%s)",
604 (void) sprintf(get_line(0, 0), "Code = %d",
606 (void) sprintf(get_line(0, 0), "Checksum = %x",
[all …]
H A Dsnoop_nfs4.c729 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nfs4_cb()
740 sprintf(get_line(0, 0), "Status = %d (%s)", in interpret_nfs4_cb()
800 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nfs4()
811 sprintf(get_line(0, 0), "Status = %d (%s)", in interpret_nfs4()
1062 (void) sprintf(get_line(0, 0), "Minor version = %u", in detail_nfs_argop4()
1066 (void) sprintf(get_line(0, 0), "Number of operations = %d", in detail_nfs_argop4()
1077 get_line(0, 0); /* blank line to separate ops */ in detail_nfs_argop4()
1078 sprintf(get_line(0, 0), "Op = %d (%s)", in detail_nfs_argop4()
1108 (void) sprintf(get_line(0, 0), "Minor version = %u", in detail_cb_argop4()
1113 (void) sprintf(get_line(0, 0), "Callback Ident = %u", in detail_cb_argop4()
[all …]
H A Dsnoop_nfs_acl.c277 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nfs_acl2()
352 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nfs_acl3()
416 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nfs_acl4()
448 (void) sprintf(get_line(pos, getxdr_pos()), "Status = %d (%s)", in detail_nfsstat4()
615 (void) sprintf(get_line(0, 0), " %s", in detail_access2()
617 (void) sprintf(get_line(0, 0), " %s", in detail_access2()
619 (void) sprintf(get_line(0, 0), " %s", in detail_access2()
621 (void) sprintf(get_line(0, 0), " %s", in detail_access2()
623 (void) sprintf(get_line(0, 0), " %s", in detail_access2()
625 (void) sprintf(get_line(0, 0), " %s", in detail_access2()
[all …]
H A Dsnoop_igmp.c104 (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()
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_aarp.c91 (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()
116 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
119 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
122 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
127 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_aarp()
H A Dsnoop_rip.c151 (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()
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()
256 (void) snprintf(get_line(0, 0), in interpret_rip()
[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()
188 rrp += print_question(get_line(0, 0), in interpret_dns()
194 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_dns()
[all …]
H A Dsnoop_rstat.c99 (void) sprintf(get_line(0, 0),
135 (void) sprintf(get_line(0, 0), "CPU Times:"); in detail_stats()
141 (void) sprintf(get_line(0, 0), "Disk Transfers:"); in detail_stats()
164 (void) sprintf(get_line(0, 0), "CPU Times:"); in detail_statsswtch()
170 (void) sprintf(get_line(0, 0), "Disk Transfers:"); in detail_statsswtch()
200 (void) sprintf(get_line(0, 0), "CPU Times:"); in detail_statstime()
206 (void) sprintf(get_line(0, 0), "Disk Transfers:"); in detail_statstime()
239 (void) sprintf(get_line(0, 0), "CPU Times:"); in detail_statsvar()
242 (void) sprintf(get_line(0, 0), in detail_statsvar()
246 (void) sprintf(get_line(0, 0), "Disk Transfers:"); in detail_statsvar()
[all …]
H A Dsnoop_tcp.c141 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_sport - in interpret_tcp()
155 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_dport - in interpret_tcp()
158 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_seq - in interpret_tcp()
161 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_ack - dlc_header, 4), in interpret_tcp()
164 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_ack - dlc_header) + in interpret_tcp()
166 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
168 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
172 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
175 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
179 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
[all …]
H A Dsnoop_ether.c268 (void) sprintf(get_line(0, 0), in interpret_ether()
273 (void) sprintf(get_line(0, 0), in interpret_ether()
277 (void) sprintf(get_line(0, 6), in interpret_ether()
281 (void) sprintf(get_line(6, 6), in interpret_ether()
286 (void) sprintf(get_line(0, 0), in interpret_ether()
288 (void) sprintf(get_line(0, 0), in interpret_ether()
292 (void) sprintf(get_line(12, 2), in interpret_ether()
296 (void) snprintf(get_line(0, 0), in interpret_ether()
303 (void) sprintf(get_line(12, 2), in interpret_ether()
925 (void) sprintf(get_line(0, 0), in interpret_tr()
[all …]
H A Dsnoop_nbp.c81 (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()
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()
143 (void) snprintf(get_line(0, 0), get_line_remain(), in show_nbp_tuples()

123