From 8fd4bd90ae04cdac9e251a00426d13b0606c5458 Mon Sep 17 00:00:00 2001 From: Jaap Keuter Date: Thu, 6 Jan 2011 20:29:05 +0000 Subject: Add URL to Lua website. Whitespace cleanup. svn path=/trunk/; revision=35405 --- docbook/wsluarm.xml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'docbook/wsluarm.xml') diff --git a/docbook/wsluarm.xml b/docbook/wsluarm.xml index b8654d27db..2ac2420773 100644 --- a/docbook/wsluarm.xml +++ b/docbook/wsluarm.xml @@ -3,12 +3,13 @@ Lua Support in Wireshark
Introduction - - Wireshark has an embedded Lua interpreter. Lua is a powerful light-weight + + Wireshark has an embedded Lua interpreter. Lua is a powerful light-weight programming language designed for extending applications. Lua is designed and implemented by a team at PUC-Rio, the Pontifical Catholic University of Rio de Janeiro in Brazil. Lua was born and raised at Tecgraf, the - Computer Graphics Technology Group of PUC-Rio, and is now housed at Lua.org. + Computer Graphics Technology Group of PUC-Rio, and is now housed at + Lua.org. Both Tecgraf and Lua.org are laboratories of the Department of Computer Science. @@ -58,7 +59,7 @@ do local f_dir = ProtoField.uint8("multi.direction","Direction",base.DEC,{ [1] = "incoming", [0] = "outgoing"}) local f_text = ProtoField.string("multi.text","Text") - p_multi.fields = { f_proto, f_dir, f_text } + p_multi.fields = { f_proto, f_dir, f_text } local data_dis = Dissector.get("data") @@ -103,7 +104,7 @@ do wtap_encap_table:add(wtap.USER12,p_multi) udp_encap_table:add(7555,p_multi) end - +
Example of Listener written in Lua @@ -159,16 +160,16 @@ do -- to be called when the user selects the Tools->Test->Packets menu register_menu("Test/Packets", menuable_tap, MENU_TOOLS) end - +
Wireshark's Lua API Reference Manual - - This Part of the User Guide describes the Wireshark specific functions in the embedded Lua. + + This Part of the User Guide describes the Wireshark specific functions in the embedded Lua. - &WsLuaDumper; - &WsLuaField; - &WsLuaGui; + &WsLuaDumper; + &WsLuaField; + &WsLuaGui; &WsLuaListener; &WsLuaPinfo; &WsLuaProto; -- cgit v1.2.3