aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bofl.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2003-02-28 00:08:04 +0000
committerJörg Mayer <jmayer@loplof.de>2003-02-28 00:08:04 +0000
commit633f35344414ed33cc1b4eef9b56b4de81d83620 (patch)
tree884dc175e3dce2c9db31419e631e616e1b98cdb7 /packet-bofl.c
parentebde4baf76f5d09b90a1cefd77369c50842bad47 (diff)
downloadwireshark-633f35344414ed33cc1b4eef9b56b4de81d83620.tar.gz
wireshark-633f35344414ed33cc1b4eef9b56b4de81d83620.tar.bz2
wireshark-633f35344414ed33cc1b4eef9b56b4de81d83620.zip
Add comment about Packetformat (including URL).
Remove unused includes. svn path=/trunk/; revision=7215
Diffstat (limited to 'packet-bofl.c')
-rw-r--r--packet-bofl.c27
1 files changed, 18 insertions, 9 deletions
diff --git a/packet-bofl.c b/packet-bofl.c
index 6d74fc2351..4a20446a2c 100644
--- a/packet-bofl.c
+++ b/packet-bofl.c
@@ -2,7 +2,7 @@
* Routines for Wellfleet BOFL dissection
* Author: Endoh Akira (endoh@netmarks.co.jp)
*
- * $Id: packet-bofl.c,v 1.1 2003/02/27 02:45:42 guy Exp $
+ * $Id: packet-bofl.c,v 1.2 2003/02/28 00:08:04 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -21,22 +21,31 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * The following information was copied from
+ * http://www.protocols.com/pbook/bridge.htm#WellfleetBOFL
+ *
+ * The Wellfleet Breath of Life (BOFL) protocol is used as a line sensing
+ * protocol on:
+ *
+ * - Ethernet LANs to detect transmitter jams.
+ * - Synchronous lines running WFLT STD protocols to determine if the line
+ * is up.
+ * - Dial backup PPP lines.
+ *
+ * The frame format of Wellfleet BOFL is shown following the Ethernet header
+ * in the following illustration:
+ *
+ * Destination Source 8102 PDU Sequence Padding
+ * 6 6 2 4 4 n bytes
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
#include <glib.h>
-#ifdef NEED_SNPRINTF_H
-# include "snprintf.h"
-#endif
-
#include <epan/packet.h>
#define ETHER_TYPE_BOFL 0x8102