aboutsummaryrefslogtreecommitdiffstats
path: root/packet-afs-macros.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2002-09-30 02:19:38 +0000
committerGerald Combs <gerald@wireshark.org>2002-09-30 02:19:38 +0000
commitefd65d42bf1c566fb55b61a1926d8522d7c90c55 (patch)
tree00110b8f3df4f8243b4ffff89efb72a001955ca9 /packet-afs-macros.h
parentc46d8e15b547f79349eedfdf503afbe52aa76d1a (diff)
Display AFS KAUTH information, from Loic Tortay
svn path=/trunk/; revision=6360
Diffstat (limited to 'packet-afs-macros.h')
-rw-r--r--packet-afs-macros.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/packet-afs-macros.h b/packet-afs-macros.h
index 8a3a90c691..0dd2ebfe53 100644
--- a/packet-afs-macros.h
+++ b/packet-afs-macros.h
@@ -8,7 +8,7 @@
* Portions based on information/specs retrieved from the OpenAFS sources at
* www.openafs.org, Copyright IBM.
*
- * $Id: packet-afs-macros.h,v 1.19 2002/08/28 21:00:07 jmayer Exp $
+ * $Id: packet-afs-macros.h,v 1.20 2002/09/30 02:19:37 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -506,3 +506,17 @@
sizeof(guint32),counter); \
tree = save; \
}
+
+/* Output a kauth getticket request */
+#define OUT_KAUTH_GetTicket() \
+ { \
+ int len = 0; \
+ OUT_UINT(hf_afs_kauth_kvno); \
+ OUT_RXString(hf_afs_kauth_domain); \
+ len = tvb_get_ntohl(tvb, offset); \
+ offset += 4; \
+ OUT_BYTES(hf_afs_kauth_data, len); \
+ OUT_RXString(hf_afs_kauth_princ); \
+ OUT_RXString(hf_afs_kauth_realm); \
+ }
+