tangled
alpha
login
or
join now
dekker.one
/
TCP-setup-uppaal
0
fork
atom
An Uppaal analysis of the connection setup of the TCP protocol.
0
fork
atom
overview
issues
pulls
pipelines
Stylistic changes
Jip J. Dekker
12 years ago
dfd29070
89c58716
+2
-2
1 changed file
expand all
collapse all
unified
split
Model
model.xml
+2
-2
Model/model.xml
···
26
26
TCP_packet transfer;
27
27
28
28
void set_target() {
29
29
-
target = target_address;
29
29
+
target = target_address;
30
30
}
31
31
32
32
void receive_packet(){
···
38
38
from_network := transfer;
39
39
}
40
40
</declaration><location id="id0" x="-5312" y="-1536"><committed/></location><location id="id1" x="-5152" y="-1664"><name x="-5160" y="-1696">PacketLost</name><committed/></location><location id="id2" x="-5312" y="-1664"><name x="-5360" y="-1696">PacketInTransit</name></location><location id="id3" x="-5312" y="-1408"><name x="-5360" y="-1384">ReadyToReceive</name></location><init ref="id3"/><transition><source ref="id0"/><target ref="id2"/><label kind="assignment" x="-5296" y="-1560">initialize(from_network)</label><nail x="-5280" y="-1592"/></transition><transition><source ref="id0"/><target ref="id3"/><label kind="synchronisation" x="-5400" y="-1480">Packet[target]!</label></transition><transition><source ref="id2"/><target ref="id0"/><label kind="assignment" x="-5400" y="-1608">send_packet()</label></transition><transition><source ref="id2"/><target ref="id1"/></transition><transition><source ref="id1"/><target ref="id3"/><nail x="-5152" y="-1408"/></transition><transition><source ref="id3"/><target ref="id2"/><label kind="synchronisation" x="-5432" y="-1560">Packet[network]?</label><label kind="assignment" x="-5432" y="-1544">set_target(),
41
41
-
receive_packet()</label><nail x="-5440" y="-1408"/><nail x="-5440" y="-1664"/><nail x="-5440" y="-1664"/></transition></template><template><name>Host_Handshake</name><parameter>const int local, const int remote, const int network</parameter><declaration>clock c;
41
41
+
receive_packet()</label><nail x="-5440" y="-1408"/><nail x="-5440" y="-1664"/></transition></template><template><name>Host_Handshake</name><parameter>const int local, const int remote, const int network</parameter><declaration>clock c;
42
42
int last_syn = 0;
43
43
int last_ack = 0;
44
44
int retrans_syn;