wireshark/test/suite_dfilter
Dario Lombardo c3d198c401 dfilter: add string() function.
This function can convert non-string fields into strings. This allows the
user to apply string functions (like contains and matches) to non-string fields.

Examples:

string(frame.number) matches "[13579]$" => for odd frames
string(eth.dst) matches "aa\.bb\.cc\.dd\.ee\..." => to match a group of stations
string(snmp.name) matches "^1.2.3.4" => for all OIDs under a specific node

Change-Id: I18173f50ba5314ecdcd1e4b66c7e8ba5b44257ee
Reviewed-on: https://code.wireshark.org/review/31427
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-14 16:00:29 +00:00
..
__init__.py
dfiltertest.py test: print command output for dfiltertest failures 2019-01-03 20:59:56 +00:00
group_bytes_ether.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_bytes_ipv6.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_bytes_type.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_dfunction_string.py dfilter: add string() function. 2019-01-14 16:00:29 +00:00
group_double.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_integer.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_integer_1byte.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_ipv4.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_membership.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_range_method.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_scanner.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_string_type.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_stringz.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_time_relative.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_time_type.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_tvb.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_uint64.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00