X-Git-Url: http://sjero.net/git/?p=ltp2tcp;a=blobdiff_plain;f=sll_encap.c;fp=sll_encap.c;h=104ec4d5c16c18eae501dc9323cf95cfa042bcd5;hp=c90d1ed4f21c0ecd3eeaf086f64e9cfbf659df18;hb=5a8bbcc78de4f63b7e22c9ea10e12748edca9d96;hpb=b66528a6e361a96274815ce8172612b7f170f293 diff --git a/sll_encap.c b/sll_encap.c index c90d1ed..104ec4d 100644 --- a/sll_encap.c +++ b/sll_encap.c @@ -1,10 +1,31 @@ /****************************************************************************** -Author: Samuel Jero +Utility to convert a LTP flow to a TCP flow for LTP analysis via tcptrace. + encapsulation functions -Date: 5/2011 +Copyright (C) 2013 Samuel Jero -Description: 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 . + +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) ******************************************************************************/ #include "ltp2tcp.h" #include