]> sjero.net Git - ltp2tcp/commitdiff
Update headers in all files with GPL message
authorSamuel Jero <sj323707@ohio.edu>
Fri, 28 Jun 2013 17:54:48 +0000 (13:54 -0400)
committerSamuel Jero <sj323707@ohio.edu>
Fri, 28 Jun 2013 17:54:48 +0000 (13:54 -0400)
.cproject
.project
dccp_encap.c
encap.c
encap.h
ltp.c
ltp.h
ltp2tcp.c
ltp2tcp.h
sll_encap.c
udp_encap.c

index 8b7e15fced4eaac094f09314eaaf16efe4112711..4a33b84faa48afea474cdf1ff56c3235a2d04cb0 100644 (file)
--- a/.cproject
+++ b/.cproject
                                        <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                                </extensions>
                        </storageModule>
-                       <storageModule moduleId="scannerConfiguration">
-                               <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
-                               <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
-                                       <buildOutputProvider>
-                                               <openAction enabled="true" filePath=""/>
-                                               <parser enabled="true"/>
-                                       </buildOutputProvider>
-                                       <scannerInfoProvider id="specsFile">
-                                               <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
-                                               <parser enabled="true"/>
-                                       </scannerInfoProvider>
-                               </profile>
-                               <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
-                                       <buildOutputProvider>
-                                               <openAction enabled="true" filePath=""/>
-                                               <parser enabled="true"/>
-                                       </buildOutputProvider>
-                                       <scannerInfoProvider id="makefileGenerator">
-                                               <runAction arguments="-E -P -v -dD" command="" useDefault="true"/>
-                                               <parser enabled="true"/>
-                                       </scannerInfoProvider>
-                               </profile>
-                               <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
-                                       <buildOutputProvider>
-                                               <openAction enabled="true" filePath=""/>
-                                               <parser enabled="true"/>
-                                       </buildOutputProvider>
-                                       <scannerInfoProvider id="specsFile">
-                                               <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
-                                               <parser enabled="true"/>
-                                       </scannerInfoProvider>
-                               </profile>
-                               <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
-                                       <buildOutputProvider>
-                                               <openAction enabled="true" filePath=""/>
-                                               <parser enabled="true"/>
-                                       </buildOutputProvider>
-                                       <scannerInfoProvider id="specsFile">
-                                               <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
-                                               <parser enabled="true"/>
-                                       </scannerInfoProvider>
-                               </profile>
-                               <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
-                                       <buildOutputProvider>
-                                               <openAction enabled="true" filePath=""/>
-                                               <parser enabled="true"/>
-                                       </buildOutputProvider>
-                                       <scannerInfoProvider id="specsFile">
-                                               <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
-                                               <parser enabled="true"/>
-                                       </scannerInfoProvider>
-                               </profile>
-                               <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
-                                       <buildOutputProvider>
-                                               <openAction enabled="true" filePath=""/>
-                                               <parser enabled="true"/>
-                                       </buildOutputProvider>
-                                       <scannerInfoProvider id="specsFile">
-                                               <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;'" command="sh" useDefault="true"/>
-                                               <parser enabled="true"/>
-                                       </scannerInfoProvider>
-                               </profile>
-                               <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
-                                       <buildOutputProvider>
-                                               <openAction enabled="true" filePath=""/>
-                                               <parser enabled="true"/>
-                                       </buildOutputProvider>
-                                       <scannerInfoProvider id="specsFile">
-                                               <runAction arguments="-c 'g++ -E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;'" command="sh" useDefault="true"/>
-                                               <parser enabled="true"/>
-                                       </scannerInfoProvider>
-                               </profile>
-                               <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
-                                       <buildOutputProvider>
-                                               <openAction enabled="true" filePath=""/>
-                                               <parser enabled="true"/>
-                                       </buildOutputProvider>
-                                       <scannerInfoProvider id="specsFile">
-                                               <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;'" command="sh" useDefault="true"/>
-                                               <parser enabled="true"/>
-                                       </scannerInfoProvider>
-                               </profile>
-                       </storageModule>
                        <storageModule moduleId="cdtBuildSystem" version="4.0.0">
-                               <configuration buildProperties="" id="cdt.managedbuild.toolchain.gnu.base.1966700308" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
+                               <configuration buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1966700308" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
                                        <folderInfo id="cdt.managedbuild.toolchain.gnu.base.1966700308.801907047" name="/" resourcePath="">
                                                <toolChain id="cdt.managedbuild.toolchain.gnu.base.1075975217" name="cdt.managedbuild.toolchain.gnu.base" superClass="cdt.managedbuild.toolchain.gnu.base">
                                                        <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.base.883051863" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
-                                                       <builder id="cdt.managedbuild.target.gnu.builder.base.969101194" managedBuildOn="false" name="Gnu Make Builder.Default" superClass="cdt.managedbuild.target.gnu.builder.base"/>
+                                                       <builder id="cdt.managedbuild.target.gnu.builder.base.969101194" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
                                                        <tool id="cdt.managedbuild.tool.gnu.archiver.base.1531162657" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
-                                                       <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1223899910" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base"/>
-                                                       <tool id="cdt.managedbuild.tool.gnu.c.compiler.base.2040224232" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base"/>
+                                                       <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1223899910" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
+                                                               <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.102344940" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+                                                       </tool>
+                                                       <tool id="cdt.managedbuild.tool.gnu.c.compiler.base.2040224232" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
+                                                               <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.103047072" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+                                                       </tool>
                                                        <tool id="cdt.managedbuild.tool.gnu.c.linker.base.51055088" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
-                                                       <tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.57871697" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base"/>
-                                                       <tool id="cdt.managedbuild.tool.gnu.assembler.base.184808408" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base"/>
+                                                       <tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.57871697" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">
+                                                               <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.542241346" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+                                                                       <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+                                                                       <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+                                                               </inputType>
+                                                       </tool>
+                                                       <tool id="cdt.managedbuild.tool.gnu.assembler.base.184808408" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
+                                                               <inputType id="cdt.managedbuild.tool.gnu.assembler.input.787221610" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+                                                       </tool>
                                                </toolChain>
                                        </folderInfo>
                                </configuration>
        <storageModule moduleId="cdtBuildSystem" version="4.0.0">
                <project id="ltp-tcp convert.null.1554396986" name="ltp-tcp convert"/>
        </storageModule>
+       <storageModule moduleId="scannerConfiguration">
+               <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+               <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
+                       <buildOutputProvider>
+                               <openAction enabled="true" filePath=""/>
+                               <parser enabled="true"/>
+                       </buildOutputProvider>
+                       <scannerInfoProvider id="specsFile">
+                               <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+                               <parser enabled="true"/>
+                       </scannerInfoProvider>
+               </profile>
+               <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
+                       <buildOutputProvider>
+                               <openAction enabled="true" filePath=""/>
+                               <parser enabled="true"/>
+                       </buildOutputProvider>
+                       <scannerInfoProvider id="makefileGenerator">
+                               <runAction arguments="-E -P -v -dD" command="" useDefault="true"/>
+                               <parser enabled="true"/>
+                       </scannerInfoProvider>
+               </profile>
+               <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
+                       <buildOutputProvider>
+                               <openAction enabled="true" filePath=""/>
+                               <parser enabled="true"/>
+                       </buildOutputProvider>
+                       <scannerInfoProvider id="specsFile">
+                               <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
+                               <parser enabled="true"/>
+                       </scannerInfoProvider>
+               </profile>
+               <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
+                       <buildOutputProvider>
+                               <openAction enabled="true" filePath=""/>
+                               <parser enabled="true"/>
+                       </buildOutputProvider>
+                       <scannerInfoProvider id="specsFile">
+                               <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
+                               <parser enabled="true"/>
+                       </scannerInfoProvider>
+               </profile>
+               <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
+                       <buildOutputProvider>
+                               <openAction enabled="true" filePath=""/>
+                               <parser enabled="true"/>
+                       </buildOutputProvider>
+                       <scannerInfoProvider id="specsFile">
+                               <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
+                               <parser enabled="true"/>
+                       </scannerInfoProvider>
+               </profile>
+               <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
+                       <buildOutputProvider>
+                               <openAction enabled="true" filePath=""/>
+                               <parser enabled="true"/>
+                       </buildOutputProvider>
+                       <scannerInfoProvider id="specsFile">
+                               <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;'" command="sh" useDefault="true"/>
+                               <parser enabled="true"/>
+                       </scannerInfoProvider>
+               </profile>
+               <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
+                       <buildOutputProvider>
+                               <openAction enabled="true" filePath=""/>
+                               <parser enabled="true"/>
+                       </buildOutputProvider>
+                       <scannerInfoProvider id="specsFile">
+                               <runAction arguments="-c 'g++ -E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;'" command="sh" useDefault="true"/>
+                               <parser enabled="true"/>
+                       </scannerInfoProvider>
+               </profile>
+               <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
+                       <buildOutputProvider>
+                               <openAction enabled="true" filePath=""/>
+                               <parser enabled="true"/>
+                       </buildOutputProvider>
+                       <scannerInfoProvider id="specsFile">
+                               <runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;'" command="sh" useDefault="true"/>
+                               <parser enabled="true"/>
+                       </scannerInfoProvider>
+               </profile>
+       </storageModule>
+       <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
 </cproject>
index 7e63dec07b34e2e0cc789170fca7d40809097c78..3572e091c5568808024c66f6e7e11d84a0f11e66 100644 (file)
--- a/.project
+++ b/.project
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-       <name>ltp-tcp convert</name>
+       <name>ltptrace</name>
        <comment></comment>
        <projects>
        </projects>
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>
diff --git a/encap.c b/encap.c
index 51d236784a59af47e758d8c91861ecbac33b6f7c..2f08235931d94854adc8663a8859d3a8b83def2d 100644 (file)
--- a/encap.c
+++ b/encap.c
@@ -1,10 +1,31 @@
 /******************************************************************************
-Author: Samuel Jero
+Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace.
+Utility Functions for Encapsulation
 
-Date: 12/2010
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Description:  Utility Functions for Encapsulation
+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"
 
diff --git a/encap.h b/encap.h
index 5be34dfea2ace46e19f31a623786aa6a9c01c95c..ab06eba37771124b7704f3ccf6a1db6dbd09f819 100644 (file)
--- a/encap.h
+++ b/encap.h
@@ -1,15 +1,32 @@
 /******************************************************************************
+Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace.
+Declarations of encapsulation functions for ltp2tcp
 
-File: encap.h
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Author: Samuel Jero
+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.
 
-Date: 12/2010
+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.
 
-Description:  Declarations of encapsulation functions for ltp2tcp
+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)
+******************************************************************************/
 #ifndef ENCAP_H_
 #define ENCAP_H_
 #include <netinet/if_ether.h>
diff --git a/ltp.c b/ltp.c
index 551fb3dafa370e5d90c3407477e19f4eb6fe21fe..d6856578a0682a9d6fac4a5036a90ec95244e00a 100644 (file)
--- a/ltp.c
+++ b/ltp.c
@@ -1,10 +1,31 @@
 /******************************************************************************
-Author: Samuel Jero
+Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace.
+LTP Header manipulation functions
 
-Date: 12/2010
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Description:  LTP Header manipulation 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 "ltp.h"
 
diff --git a/ltp.h b/ltp.h
index dec5be98ea2e2b524b30fcbcbe9cd69dfa09fcf9..6233e38ae01c8e2757dfb07c1b8c3dbed63ebebb 100644 (file)
--- a/ltp.h
+++ b/ltp.h
@@ -1,13 +1,31 @@
 /******************************************************************************
+Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace.
+LTP Header information
 
-File: ltp.h
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Author: Samuel Jero
+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.
 
-Date: 12/2010
+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.
 
-Description:  LTP Header information
+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)
 ******************************************************************************/
 
 #ifndef LTP_H_
index 59a3f8d2ef5dbf66baa81e8b8df65ee20015d614..e0a63f08cb127259f8a96117b296fce5b2219443 100644 (file)
--- a/ltp2tcp.c
+++ b/ltp2tcp.c
@@ -1,10 +1,23 @@
 /******************************************************************************
-Author: Samuel Jero
+Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace.
 
-Date: 01/2011
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Description: Program to convert a LTP flow to a TCP flow for LTP analysis via
-               tcptrace.
+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
index f3d7cb75077176b3a47962052cc700d8acb5079a..5df92b6b59bdf56bc3155630ca53811c168fc26e 100644 (file)
--- a/ltp2tcp.h
+++ b/ltp2tcp.h
@@ -1,17 +1,30 @@
 /******************************************************************************
+Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace.
 
-file: ltp2tcp.h
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Author: Samuel Jero
+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.
 
-Date: 12/2010
+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.
 
-Description:  Header file for LTP 2 TCP Conversion
+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
 
-Special Types Used:
-       1)u_char
-       2)u_int32_t
+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)
 ******************************************************************************/
 #ifndef _LTP2TCP_H_
 #define _LTP2TCP_H_
index c90d1ed4f21c0ecd3eeaf086f64e9cfbf659df18..104ec4d5c16c18eae501dc9323cf95cfa042bcd5 100644 (file)
@@ -1,10 +1,31 @@
 /******************************************************************************
-Author: Samuel Jero
+Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace.
+<SLL, IPv4, UDP> encapsulation functions
 
-Date: 5/2011
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Description:  <SLL, IPv4, UDP> 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 <pcap/sll.h>
index b14ede83d9b1aba22a18479f09252168f5849346..833150479e87e5c16892b5c2e6c3c1e325b79c4d 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, UDP> encapsulation functions
 
-Date: 12/2010
+Copyright (C) 2013  Samuel Jero <sj323707@ohio.edu>
 
-Description:  <ETH, IPv4, UDP> 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 <netinet/udp.h>