]> sjero.net Git - ltp2tcp/blobdiff - dccp_encap.c
Update headers in all files with GPL message
[ltp2tcp] / dccp_encap.c
index 1e0ec9fa0fb27fea42a099cb6a3de8ae5dbd85e2..0dcd17ad74975f2c928d7c066afeebd8e8fe2d8d 100644 (file)
@@ -1,10 +1,31 @@
 /******************************************************************************
-Author: Samuel Jero
+Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace.
+<ETH, IPv4, DCCP> encapsulation functions
 
-Date: 12/2010
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Description:  <ETH, IPv4, DCCP> encapsulation functions
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
 
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+Author: Samuel Jero <sj323707@ohio.edu>
+Date: 06/2013
+
+Notes:
+       1)Only handles one LTP "connection". There isn't a good way to separate
+               different LTP "connections" from new sessions of the same "connection".
+               Use Tcpdump filters to separate connections. Libpcap filtering could also
+               be added in ltp2tcp.
+       2)Uses some special types from Linux (u_char, u_int32_t)
 ******************************************************************************/
 #include "ltp2tcp.h"
 #include <linux/dccp.h>