From 972a7841113f4623a7856b99d1f95a444d692be1 Mon Sep 17 00:00:00 2001 From: Jonathon Lynn Duerig <duerig@flux.utah.edu> Date: Mon, 18 Dec 2006 22:16:32 +0000 Subject: [PATCH] Informal description of new format for libnetmon --- pelab/libnetmon/libnetmon-format3.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pelab/libnetmon/libnetmon-format3.txt diff --git a/pelab/libnetmon/libnetmon-format3.txt b/pelab/libnetmon/libnetmon-format3.txt new file mode 100644 index 0000000000..f285c7469d --- /dev/null +++ b/pelab/libnetmon/libnetmon-format3.txt @@ -0,0 +1,24 @@ +Line format 3 for libnetmon: + +<Command>: <Key> <Timestamp> <Value> + +<Command> describes the kind of connection +<Key> is a unique key for the connection +<Timestamp> is a decimal number representing absolute time +<Value> is a command-dependent string + +Possible commands and their values: + +New (no value) +Protocol (value is 'TCP' or 'UDP') +DestIP (value is a dotted quadruplet describing destination IP address) +RemotePort (value is a number representing the remote port of the connection) +LocalPort (value is a number representing the local port of the connection) +TCP_NODELAY (int) +TCP_MAXSEG (int) +SO_RCVBUF (int) +SO_SNDBUF (int) +Connected (no value) +Write (value is the size of the write or sendto) +Closed (no value) + -- GitLab