X-Git-Url: http://sjero.net/git/?p=ltp2tcp;a=blobdiff_plain;f=encap.h;h=ab06eba37771124b7704f3ccf6a1db6dbd09f819;hp=5be34dfea2ace46e19f31a623786aa6a9c01c95c;hb=5a8bbcc78de4f63b7e22c9ea10e12748edca9d96;hpb=4ef2689dab73489e6f68794f7eae59dd0010385c diff --git a/encap.h b/encap.h index 5be34df..ab06eba 100644 --- 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 -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 . -******************************************************************************/ +Author: Samuel Jero +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