Lines Matching +full:in +full:- +full:flight

3 .\" Redistribution and use in source and binary forms, with or without
8 .\" 2. Redistributions in binary form must reproduce the above copyright
9 .\" notice, this list of conditions and the following disclaimer in the
15 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
49 .Fn sctp:::state-change "void *" "csinfo_t *" "void *" "sctpsinfo_t *" \
54 provider allows users to trace events in the
67 probes track changes in the congestion window on a netp.
70 probes track changes in the receiver window for an assoc.
73 probe tracks changes in the flight size on a net or assoc and the
75 probe provides the total flight version.
102 .Dv flight ,
108 probe fires when a remotely-initiated active SCTP open succeeds.
109 At this point the new connection is in the ESTABLISHED state, and the probe
110 arguments expose the headers associated with the final ACK of the four-way
123 handled in the IP layer and are only visible to the
128 .Fn sctp:::state-change
132 Its last argument describes the from-state in the transition, and the to-state
134 .Dv args[3]->sctps_state .
137 .Bl -tag -width "/usr/lib/dtrace/sctp.d" -compact
144 A script that logs SCTP packets in real time:
145 .Bd -literal -offset indent
151 printf(" %3s %15s:%-5s %15s:%-5s\\n", "CPU",
157 printf(" %3d %16s:%-5d -> %16s:%-5d\\n", cpu,
158 args[2]->ip_saddr, args[4]->sctp_sport,
159 args[2]->ip_daddr, args[4]->sctp_dport);
164 printf(" %3d %16s:%-5d <- %16s:%-5d\\n", cpu,
165 args[2]->ip_daddr, args[4]->sctp_dport,
166 args[2]->ip_saddr, args[4]->sctp_sport);
170 .Bd -literal -offset indent
178 printf(" %3s %12s %-25s %-25s\\n",
182 sctp:::state-change
183 / last[args[1]->cs_cid] /
185 this->elapsed = (timestamp - last[args[1]->cs_cid]) / 1000;
186 printf(" %3d %12d %-25s -> %-25s\\n", cpu, this->elapsed,
187 sctp_state_string[args[5]->sctps_state],
188 sctp_state_string[args[3]->sctps_state]);
189 last[args[1]->cs_cid] = timestamp;
192 sctp:::state-change
193 / last[args[1]->cs_cid] == 0 /
195 printf(" %3d %12s %-25s -> %-25s\\n", cpu, "-",
196 sctp_state_string[args[5]->sctps_state],
197 sctp_state_string[args[3]->sctps_state]);
198 last[args[1]->cs_cid] = timestamp;
206 .Fn sctp:::state-change
209 provider in Solaris.
210 All other probes are only available in FreeBSD.
221 .\" provider first appeared in