summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorhannes <hannes>2005-05-23 06:28:56 +0000
committerhannes <hannes>2005-05-23 06:28:56 +0000
commit8881095cc01c311335e8cc98365e5f71e06825b1 (patch)
tree47788d8b0d5af3c31b46697b2b04a286b5ba6ddc /interface.h
parent94e46babc871019d30240ee0d4279afc6bca1da8 (diff)
downloadtcpdump-8881095cc01c311335e8cc98365e5f71e06825b1.tar.gz
add basic support for DLT_JUNIPER_{GGSN,ES,MONITOR,SERVICES}, better boundary checking when parsing the juniper headers
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/interface.h b/interface.h
index 4ebbee96..29ce1276 100644
--- a/interface.h
+++ b/interface.h
@@ -18,7 +18,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.244.2.8 2005-05-20 21:15:45 hannes Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.244.2.9 2005-05-23 06:28:57 hannes Exp $ (LBL)
*/
#ifndef tcpdump_interface_h
@@ -256,6 +256,10 @@ extern u_int juniper_mlfr_print(const struct pcap_pkthdr *, const u_char *);
extern u_int juniper_mlppp_print(const struct pcap_pkthdr *, const u_char *);
extern u_int juniper_pppoe_print(const struct pcap_pkthdr *, const u_char *);
extern u_int juniper_pppoe_atm_print(const struct pcap_pkthdr *, const u_char *);
+extern u_int juniper_ggsn_print(const struct pcap_pkthdr *, const u_char *);
+extern u_int juniper_es_print(const struct pcap_pkthdr *, const u_char *);
+extern u_int juniper_monitor_print(const struct pcap_pkthdr *, const u_char *);
+extern u_int juniper_services_print(const struct pcap_pkthdr *, const u_char *);
extern u_int sll_if_print(const struct pcap_pkthdr *, const u_char *);
extern void snmp_print(const u_char *, u_int);
extern void sunrpcrequest_print(const u_char *, u_int, const u_char *);