forked from osmocom/wireshark
![]() WSLUA improvement. The existing ProtoField.bool looks like the following: ProtoField.bool(abbr, [name], [desc]) But checking any protocol dissector with bool protofield, it can be seen that in C code we have more options than thru the WSLUA interface. E.g.: {&hf_gtp_qos_sig_ind,{"Signalling Indication", "gtp.sig_ind", FT_BOOLEAN, 8, TFS(>p_sig_ind), GTP_EXT_QOS_SIG_IND_MASK, NULL, HFILL}}, So I've extended ProtoField.bool to have more options like this: ProtoField.bool(abbr, [name], [bitfield], [true_false_string], [mask], [desc]) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4700 svn path=/trunk/; revision=32771 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Makefile.am | ||
Makefile.nmake | ||
console.lua | ||
dtd_gen.lua | ||
init_wslua.c | ||
init_wslua.h | ||
lua_bitop.c | ||
make-init-lua.pl | ||
make-reg.pl | ||
make-taps.pl | ||
taps | ||
template-init.lua | ||
wslua.h | ||
wslua_dumper.c | ||
wslua_field.c | ||
wslua_gui.c | ||
wslua_listener.c | ||
wslua_pinfo.c | ||
wslua_proto.c | ||
wslua_tree.c | ||
wslua_tvb.c | ||
wslua_util.c |