]> sjero.net Git - dccp2tcp/blobdiff - dccp2tcp.h
Update Changelog, Release Notes, and File Headers for release 1.5
[dccp2tcp] / dccp2tcp.h
index 2a1dbfa18458f2f8c71a3db423b07e975fb88cd3..c321f0bd7b4b03411871ac9160f2ff4fafbd8234 100644 (file)
@@ -1,7 +1,7 @@
 /******************************************************************************
 Author: Samuel Jero
 
-Date: 7/2011
+Date: 11/2011
 
 Description: Header file for program to convert a DCCP flow to a TCP flow for DCCP
                 analysis via tcptrace.
@@ -10,9 +10,8 @@ Notes:
        1)CCID2 ONLY
        2)DCCP MUST use 48 bit sequence numbers
        3)Checksums are not computed (they are zeroed)
-       4)Only implements those packet types normally used in a session
+       4)DCCP DATA packets are not implemented (Linux doesn't use them)
        5)DCCP Ack packets show up as TCP packets containing one byte
-       6)Very little error checking of packet headers
 ******************************************************************************/
 #ifndef _DCCP2TCP_H
 #define _DCCP2TCP_H
@@ -122,5 +121,6 @@ int do_encap(int link, struct packet *new, const struct const_packet *old);
 int get_host(uint32_t src_id, uint32_t dest_id, int src_port, int dest_port, struct host **fwd, struct host **rev);
 struct connection *add_connection(uint32_t src_id, uint32_t dest_id, int src_port, int dest_port);
 int update_state(struct host* hst, enum con_state st);
+void cleanup_connections();
 
 #endif