wireshark/epan
Peter Wu 5c4458345c Change maxmind_db_lookup_ipv4 to look more like maxmind_db_lookup_ipv6
Both functions accept an address in network byte order, but
maxmind_db_lookup_ipv4 does not accept a pointer. Add an indirection and
remove unnecessary memcpy calls. This removes some confusion for me.

Change-Id: I291c54c8c55bc8048ca011b84918c8a5d3ed1398
Reviewed-on: https://code.wireshark.org/review/31951
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-11 05:13:37 +00:00
..
crypt Fix some spelling errors found by Lintian. 2018-12-05 18:58:19 +00:00
dfilter CMake: Fix DOCDIR on Unix 2019-02-02 16:53:49 +00:00
dissectors Change maxmind_db_lookup_ipv4 to look more like maxmind_db_lookup_ipv6 2019-02-11 05:13:37 +00:00
ftypes Fix crash when using the "matches" operator on non-UTF-8 data 2019-02-11 05:08:53 +00:00
wmem CMake: Fix DOCDIR on Unix 2019-02-02 16:53:49 +00:00
wslua wslua: do not partially disable the Lua API when run as root 2019-02-07 10:30:06 +00:00
.editorconfig
CMakeLists.txt CMake: Update FindLibXml2.cmake 2019-02-04 10:14:36 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Update tooltip for "Resolve network (IP) addresses" 2019-01-18 01:06:19 +00:00
addr_resolv.h addr_resolv: function to convert an eth address into raw bytes 2018-10-15 05:15:57 +00:00
address.h Make AT_VINES a built-in type 2018-08-29 19:36:43 +00:00
address_types.c Make AT_VINES a built-in type 2018-08-29 19:36:43 +00:00
address_types.h
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h Move the Linux ARPHRD_ types to epan/arptypes.h. 2018-11-13 06:18:22 +00:00
asn1.c
asn1.h IEEE1609dot2: generate automatically dissector from ASN.1 description 2018-10-30 15:33:44 +00:00
ax25_pids.h
bridged_pids.h
capture_dissectors.c Fix the type of the packet buffer argument to a capture dissector. 2018-09-30 21:25:22 +00:00
capture_dissectors.h Fix the type of the packet buffer argument to a capture dissector. 2018-09-30 21:25:22 +00:00
charsets.c epan: Add a boundary check to get_t61_string. 2019-01-08 00:32:45 +00:00
charsets.h add encoding windows 1251, cp855, cp866 2019-01-04 23:37:17 +00:00
chdlctypes.h
color_filters.c epan: remove return from functions returning void. 2019-01-04 05:07:58 +00:00
color_filters.h Qt: Add back pathLabel in some dialogs 2018-10-10 04:46:28 +00:00
column-info.h
column-utils.c column: set G_REGEX_RAW for the custom column filter 2019-02-10 16:12:59 +00:00
column-utils.h column-utils: replace TAB with SPACE in prototypes. 2019-01-29 21:49:02 +00:00
column.c column: set G_REGEX_RAW for the custom column filter 2019-02-10 16:12:59 +00:00
column.h
conv_id.h
conversation.c Re-balance DINDENT/DENDENT macros in conversation.c. 2018-12-01 14:53:42 +00:00
conversation.h Revert "Have find_or_create_conversation() use pinfo->conv_endpoint if present." 2018-08-01 02:55:18 +00:00
conversation_debug.h
conversation_table.c
conversation_table.h
crc6-tvb.c CRC6: Fixed CRC lookup table and functions 2019-01-04 06:04:07 +00:00
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
decode_as.c
decode_as.h
diam_dict.h
diam_dict.l diam_dict.l,wimaxasncp_dict.l: fix -Werror=stringop-truncation 2019-01-19 07:08:43 +00:00
disabled_protos.c Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
disabled_protos.h
dissector_filters.c
dissector_filters.h
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c
dvb_chartbl.h
eap.h
eapol_keydes_types.h
epan.c epan: add missing include. 2019-01-28 16:43:47 +00:00
epan.h epan: Add argument to epan_init() to disable plugins 2018-09-09 02:27:34 +00:00
epan_dissect.h
etypes.h GeoNetworking: Add ethertype 0x8947 2018-12-13 09:41:23 +00:00
ex-opt.c
ex-opt.h
except.c except: detect exception stack corruption 2018-10-10 04:08:17 +00:00
except.h
exceptions.h
exntest.c exntest: fix no previous prototype for ‘run_tests’ [-Wmissing-prototypes] 2018-09-06 04:13:40 +00:00
expert.c
expert.h
export_object.c
export_object.h Limit the maximum *file* name length for exported objects. 2019-01-01 21:36:58 +00:00
exported_pdu.c export_pdu.c: Fix a memory leak 2018-08-14 11:47:29 +00:00
exported_pdu.h
filter_expressions.c
filter_expressions.h
follow.c Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
follow.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
frame_data.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data.h Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data_sequence.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
frame_data_sequence.h
funnel.c funnel: Fix memleaks in funnel_remove_menu 2019-01-28 10:57:30 +00:00
funnel.h funnel: Fix memleaks in funnel_remove_menu 2019-01-28 10:57:30 +00:00
garrayfix.h
golay.c
golay.h
guid-utils.c
guid-utils.h
iana_charsets.c
iana_charsets.h
iax2_codec_type.h IAX: Improve decoding of IAX2 codec details 2018-10-27 06:52:37 +00:00
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h Fix some spelling errors found by Lintian. 2018-12-05 18:58:19 +00:00
ipv4.h
ipv6.h
lapd_sapi.h
llcsaps.h
maxmind_db.c Change maxmind_db_lookup_ipv4 to look more like maxmind_db_lookup_ipv6 2019-02-11 05:13:37 +00:00
maxmind_db.h Change maxmind_db_lookup_ipv4 to look more like maxmind_db_lookup_ipv6 2019-02-11 05:13:37 +00:00
media_params.c
media_params.h
next_tvb.c
next_tvb.h
nlpid.h
oids.c
oids.h
oids_test.c
osi-utils.c
osi-utils.h
oui.h Add Apple Wireless Direct Link (AWDL) dissector 2018-11-29 22:12:42 +00:00
packet.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
packet.h packet.h: fix wrong parameter doc for register_dissector_table_alias 2018-09-15 10:25:40 +00:00
packet_info.h
params.h
plugin_if.c
plugin_if.h
ppptypes.h
prefs-int.h
prefs.c Remove a no-longer-needed DIAG_OFF/DIAG_ON pair. 2019-01-04 02:28:19 +00:00
prefs.h Add ability to disable autocomplete suggestions for filter controls. 2018-10-22 04:45:59 +00:00
print.c print: fix parameter 'data' not found in the function declaration 2019-01-30 09:15:01 +00:00
print.h epan: use json_dumper for json outputs. 2019-01-03 14:33:48 +00:00
print.ps
print_stream.c
print_stream.h
proto.c Fixing some implicit coversations (-Wshorten-64-to-32) 2019-02-08 12:12:18 +00:00
proto.h proto.h: fix indentation and add modeline. 2019-01-13 07:12:31 +00:00
proto_data.c
proto_data.h
ps.h
ptvcursor.h
radius_dict.l
range.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
range.h
reassemble.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
reassemble.h tcp: add support for reassembling out-of-order segments 2018-06-28 06:10:35 +00:00
reassemble_test.c Try to squeeze some bytes out of the frame_data structure. 2018-12-27 04:34:29 +00:00
reedsolomon.c
reedsolomon.h
register-int.h epan: Remove unnecessary all protocols registration callback 2018-08-29 23:22:44 +00:00
register.c register(epan): fix no previous prototype for function 'register_all_protocols/register_all_protocol_handoffs/register_count' [-Wmissing-prototypes] 2018-09-05 04:10:07 +00:00
register.h epan: Remove unnecessary all protocols registration callback 2018-08-29 23:22:44 +00:00
req_resp_hdrs.c HTTP: ignore large Content-Length values 2018-08-13 07:57:21 +00:00
req_resp_hdrs.h
rtd_table.c
rtd_table.h
rtp_pt.h
sctpppids.h E1AP: add dissector based on v15.0.0 2018-07-06 13:40:50 +00:00
secrets.c secrets: add functions to query and validate pkcs11 tokens/key files 2019-01-29 23:33:51 +00:00
secrets.h Fix build without GnuTLS 2019-01-31 13:14:22 +00:00
sequence_analysis.c VOIP: Always use frame number when hashing sequence analysis. 2018-12-15 07:41:03 +00:00
sequence_analysis.h
show_exception.c Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
show_exception.h
slow_protocol_subtypes.h
sminmpec.h
srt_table.c
srt_table.h
stat_groups.h
stat_tap_ui.c Do not modify optarg with -zfollow,ssl,ascii,0 2018-10-05 13:19:32 +00:00
stat_tap_ui.h Do not modify optarg with -zfollow,ssl,ascii,0 2018-10-05 13:19:32 +00:00
stats_tree.c stats_tree: use the right modifier for int values. 2019-01-23 08:01:35 +00:00
stats_tree.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
stats_tree_priv.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
stream.c
stream.h
strutil.c epan: remove return from functions returning void. 2019-01-04 05:07:58 +00:00
strutil.h
t35.c
t35.h
tap-voip.h
tap.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
tap.h Add a "failed" return for tap packet routines. 2019-01-01 05:03:42 +00:00
tfs.c NAS-5GS: Dissect more IEs 2019-01-31 14:39:49 +00:00
tfs.h NAS-5GS: Dissect more IEs 2019-01-31 14:39:49 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c
timestats.h
to_str-int.h
to_str.c to_str: Fixed incorrect order of checks in bytestring_to_str. 2018-10-30 12:47:19 +00:00
to_str.h
tvbparse.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
tvbparse.h
tvbtest.c tvb: gracefully handle reading 0 bytes from an empty buffer 2018-09-27 04:32:54 +00:00
tvbuff-int.h
tvbuff.c tvbuff: Fix RFC 822 and 1123 date parsing with non-English locales 2019-01-24 09:19:51 +00:00
tvbuff.h Add tvb_get_token_len 2018-12-09 07:17:21 +00:00
tvbuff_base64.c epan: Use g_base64_decode_inplace() 2018-09-03 04:05:13 +00:00
tvbuff_composite.c tvbuff_composite: fix buffer overflow due to wrong offset adjustment 2018-10-12 05:07:08 +00:00
tvbuff_real.c
tvbuff_subset.c tvbuff_subset.c: handle a reported_length set to -1 in tvb_new_subset_length() 2018-09-05 19:54:34 +00:00
tvbuff_zlib.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
uat-int.h
uat.c epan: remove redundant casts. 2019-01-03 23:39:43 +00:00
uat.h Separate signed and unsigned decimal UAT fields. 2018-10-20 21:03:51 +00:00
uat_load.l Qt: Add copy from another profile in UAT dialogs 2018-10-05 12:38:32 +00:00
unit_strings.c Bluetooth: ATT: Implement one FTMS/FTMP characteristic: Machine Status 2018-10-06 12:08:01 +00:00
unit_strings.h Bluetooth: ATT: Implement one FTMS/FTMP characteristic: Machine Status 2018-10-06 12:08:01 +00:00
value_string.c Add support for extended 64 bit value to string matching 2018-10-27 05:34:59 +00:00
value_string.h Add support for extended 64 bit value to string matching 2018-10-27 05:34:59 +00:00
x264_prt_id.h
xdlc.c Fix the type of the packet data argument to get_xdlc_control(). 2018-09-30 21:28:18 +00:00
xdlc.h Fix the type of the packet data argument to get_xdlc_control(). 2018-09-30 21:28:18 +00:00