aboutsummaryrefslogtreecommitdiffstats
path: root/packet-llc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-28 01:29:16 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-28 01:29:16 +0000
commit4059b02fe949c2cd6bd53441859416c210607355 (patch)
tree219d4c528010f1cbd47fefc791538485f168cf3d /packet-llc.h
parentfadeb72b2e21ad9a758dceb6a105eb286d3c5e2d (diff)
Add an API to let a dissector register a dissector table and field for a
given OUI; the field is used when the PID for that OUI is put into the protocol tree, and the dissector table is used to find a dissector for that PID. Not yet used, thus not yet tested; API is subject to change. (Eventually, several of the cases in the big switch statement in "dissect_llc()" should be handled by registering information for those OUIs.) svn path=/trunk/; revision=8291
Diffstat (limited to 'packet-llc.h')
-rw-r--r--packet-llc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/packet-llc.h b/packet-llc.h
index 5bb524324e..7cad2b5786 100644
--- a/packet-llc.h
+++ b/packet-llc.h
@@ -1,6 +1,6 @@
/* packet-llc.h
*
- * $Id: packet-llc.h,v 1.9 2002/11/05 22:50:42 guy Exp $
+ * $Id: packet-llc.h,v 1.10 2003/08/28 01:29:16 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,11 @@ void capture_llc(const guchar *, int, int, packet_counts *);
void dissect_snap(tvbuff_t *, int, packet_info *, proto_tree *,
proto_tree *, int, int, int, int, int);
+/*
+ * Add an entry for a new OID.
+ */
+void llc_add_oid(guint32, const char *, char *, int);
+
extern const value_string sap_vals[];
#endif