From 11004a44dd80dc281f9e0a89e5b4ed2740aaa403 Mon Sep 17 00:00:00 2001 From: jmayer Date: Tue, 2 Mar 2004 01:39:35 +0000 Subject: Add a comment about PDU types git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10274 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-postgresql.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'packet-postgresql.c') diff --git a/packet-postgresql.c b/packet-postgresql.c index b3af5f3062..86ee8184f2 100644 --- a/packet-postgresql.c +++ b/packet-postgresql.c @@ -3,7 +3,7 @@ * * Copyright 2004, Edwin Calo * - * $Id: packet-postgresql.c,v 1.6 2004/02/19 08:56:50 guy Exp $ + * $Id: packet-postgresql.c,v 1.7 2004/03/02 01:39:35 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -60,6 +60,15 @@ static gint ett_postgresql = -1; * http://www.postgresql.org/docs/6.3/interactive/c50.htm * * for version 1.0 of the protocol. + * + * It looks like there are two types of PDUs: Old style and new style. + * New style PDUs start with a Length guint32, where the high byte is + * equal to 0. Old style PDUs start with a single Byte (different from 0) + * that contains the type of the PDU. + * + * The specific types can be found at: + * http://www.postgresql.org/docs/7.4/interactive/protocol-message-formats.html + * */ static void -- cgit v1.2.3