wireshark/test/lua
Martin Kaiser 178001e74d lua: add support for ethernet addresses to the Address class
The code for the Address class already contains commented-out code for a
number of additional address types.

Activate the draft constructor for ethernet addresses and complete it.
Use the newly-added function to parse a string that contains an ethernet
address.

Add a basic test tvb.lua. Read an ethernet address from a tvb and
compare it to a constant Address.ether object.

Change-Id: I9771dd6e7ade4b572a8b864b8986d641b4eba3e5
Reviewed-on: https://code.wireshark.org/review/30163
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-10-18 07:51:36 +00:00
..
acme_file.lua Use pcapng as the name of the file format. 2018-01-09 00:38:51 +00:00
common_sets.lua Remove executable file permission from lua test files 2018-07-23 09:31:48 +00:00
dir.lua Lua: ensure that DATA_DIR and USER_DIR have trailing slashes 2018-04-30 10:33:46 +00:00
dissectFPM.lua Lua: Expose tcp_dissect_pdus() to Lua 2015-01-27 15:14:12 +00:00
dissector.lua Lua: allow a Dissector object to be passed in for register_heuristic 2014-12-31 16:01:51 +00:00
field.lua Add support for protocol aliases. Switch BOOTP to DHCP. 2018-08-31 05:25:17 +00:00
glib_sets.lua Add GLib's regex library into Lua 2014-03-10 07:11:12 +00:00
globals_2.2.txt Lua: remove various logging functions (debug, warn, etc.) 2018-09-07 04:02:45 +00:00
gregex.lua Lua: regex test suite fails with UTF-8 locale 2015-01-02 13:09:16 +00:00
inspect.lua Fix spelling mistakes in Lua test scripts 2014-03-22 17:42:16 +00:00
int64.lua Remove executable bit from a few files 2014-02-24 22:34:26 +00:00
listener.lua Add support for protocol aliases. Switch BOOTP to DHCP. 2018-08-31 05:25:17 +00:00
luatest.lua Remove executable file permission from lua test files 2018-07-23 09:31:48 +00:00
nstime.lua Add support for protocol aliases. Switch BOOTP to DHCP. 2018-08-31 05:25:17 +00:00
pat2pcre.lua Remove executable file permission from lua test files 2018-07-23 09:31:48 +00:00
pcap_file.lua For now, call the finish routine in Lua file writers "close". 2015-11-16 19:18:15 +00:00
pcre_sets.lua Remove executable file permission from lua test files 2018-07-23 09:31:48 +00:00
pcre_sets2.lua Remove executable file permission from lua test files 2018-07-23 09:31:48 +00:00
pinfo.lua Add support for protocol aliases. Switch BOOTP to DHCP. 2018-08-31 05:25:17 +00:00
proto.lua Add support for protocol aliases. Switch BOOTP to DHCP. 2018-08-31 05:25:17 +00:00
protofield.lua New Lua function TreeItem:referenced(ProtoField | Dissector). 2017-05-05 08:38:40 +00:00
script_args.lua Remove executable bit from a few files 2014-02-24 22:34:26 +00:00
struct.lua Add Lua Struct.values() function, and prevent coercion in all Struct functions 2014-03-23 07:05:30 +00:00
tvb.lua lua: add support for ethernet addresses to the Address class 2018-10-18 07:51:36 +00:00
verify_dissector.lua Test: Add wslua. 2018-05-02 00:35:20 +00:00
verify_globals.lua Fix Bug 9870 'Lua: trying to call/get an invalid name results in a get-loop error' 2014-03-11 05:30:58 +00:00