]> sjero.net Git - dccp2tcp/commitdiff
Update documentation to reflect -V and -h flags
authorSamuel Jero <sj323707@ohio.edu>
Sun, 3 Feb 2013 04:28:25 +0000 (23:28 -0500)
committerSamuel Jero <sj323707@ohio.edu>
Sun, 3 Feb 2013 04:28:25 +0000 (23:28 -0500)
Makefile
README
dccp2tcp.pod

index 4462725252bd4eacf6f5df3523e44f5f92cb5a1c..c48aa22390b07a009590c5301ac809a8e8f1176b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,8 @@ MANDIR = /usr/local/man
 
 all: dccp2tcp dccp2tcp.1
 
-dccp2tcp: dccp2tcp.o encap.o connections.o
-       gcc ${CFLAGS} ${LDLIBS} --std=gnu99 dccp2tcp.o encap.o connections.o -odccp2tcp
+dccp2tcp: dccp2tcp.o encap.o connections.o ccid2.o
+       gcc ${CFLAGS} ${LDLIBS} --std=gnu99 dccp2tcp.o encap.o connections.o ccid2.o -odccp2tcp
 
 dccp2tcp.o: dccp2tcp.h dccp2tcp.c
        gcc ${CFLAGS} ${LDLIBS} --std=gnu99 -c dccp2tcp.c -odccp2tcp.o
@@ -31,6 +31,9 @@ dccp2tcp.o: dccp2tcp.h dccp2tcp.c
 encap.o: encap.c dccp2tcp.h encap.h
        gcc ${CFLAGS} ${LDLIBS} --std=gnu99 -c encap.c -oencap.o
        
+ccid2.o: ccid2.c dccp2tcp.h
+       gcc ${CFLAGS} ${LDLIBS} --std=gnu99 -c ccid2.c -occid2.o
+       
 connections.o: dccp2tcp.h connections.c
        gcc ${CFLAGS} ${LDLIBS} --std=gnu99 -c connections.c -oconnections.o
 
diff --git a/README b/README
index 4ef844a480557fd1542e87cbda4b8157288689b8..f0fc8c2cd42104b194bda107e86b83d1b55f4836 100644 (file)
--- a/README
+++ b/README
@@ -16,8 +16,10 @@ from http://www.tcptrace.org and the version of xplot available from http://www.
 
 
 Usage is pretty simple:
-dccp2tcp dccp_file tcp_file [-d] [-y] [-g] [-s]
+dccp2tcp dccp_file tcp_file [-d] [-V] [h] [-y] [-g] [-s]
        -d is debug
+       -V is Version information
+       -h is help
        -y shifts the window line in tcptrace (yellow) to the highest received acknowledgment. Normally this line is just a constant amount more than the ack number(i.e. useless).
        -g shifts the ack line in tcptrace (green) to the highest received acknowledgment. Normally this line is the standard TCP ack number, which, for DCCP, translates to the highest contiguous acknowledgement in the ack vector.
        -s converts the DCCP ack vector to TCP SACKS. Specify -s twice to only see those Ack vectors with a loss interval in them. This is convenient way to see loss events.
@@ -53,7 +55,7 @@ You should have received a copy of the GNU General Public License
 along with dccp2tcp.  If not, see <http://www.gnu.org/licenses/>.
 
 
-Copyright 2011
+Copyright 2013
 Samuel Jero
 Computer Science student, Ohio University
 sj323707@ohio.edu
index 0ba5446ddbcede0996f0bc3d29189c6d65a42682..e5b4336858d08fdb2c31cbaf4805598fc96f305f 100644 (file)
@@ -4,7 +4,7 @@ dccp2tcp - convert DCCP packet captures to TCP captures for analysis with B<tcpt
 
 =head1 SYNOPSIS
 
-B<dccp2tcp> [-d] [-y] [-g] [-s] I<input_file> I<output_file> 
+B<dccp2tcp> [-d] [-V] [-h] [-y] [-g] [-s] I<input_file> I<output_file> 
 
 =head1 DESCRIPTION
 
@@ -26,6 +26,14 @@ not computed on the output packets---they are simply zeroed.
        
 Debug, repeat for additional verbosity
 
+=item B<-V>
+       
+Version information
+
+=item B<-h>
+       
+Help message
+
 =item B<-y>
 
 Shift the window line (yellow) in B<tcptrace> to the highest received acknowledgment.