<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/wireshark/extcap/etwdump.c, branch master</title>
<subtitle>WIP Patches to add a samsung-ipc dissector to Wireshark 
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/'/>
<entry>
<title>Replace g_strdup_printf() with ws_strdup_printf()</title>
<updated>2021-12-19T21:21:58+00:00</updated>
<author>
<name>João Valverde</name>
<email>j@v6e.pt</email>
</author>
<published>2021-12-18T18:48:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=0ccd69e530ed18ac19a4484c76bdbef94d1ab2b1'/>
<id>0ccd69e530ed18ac19a4484c76bdbef94d1ab2b1</id>
<content type='text'>
Use macros from inttypes.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use macros from inttypes.h.
</pre>
</div>
</content>
</entry>
<entry>
<title>Define more log domains for extcaps</title>
<updated>2021-12-05T00:28:26+00:00</updated>
<author>
<name>João Valverde</name>
<email>j@v6e.pt</email>
</author>
<published>2021-12-04T22:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=cef5e81146d8f48bbd00725becd1fd0af7f5ce9e'/>
<id>cef5e81146d8f48bbd00725becd1fd0af7f5ce9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix logging with extcaps</title>
<updated>2021-12-03T12:30:53+00:00</updated>
<author>
<name>João Valverde</name>
<email>j@v6e.pt</email>
</author>
<published>2021-12-02T16:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=e921b804d0174b2bb5a118df8b454c0dc2e69369'/>
<id>e921b804d0174b2bb5a118df8b454c0dc2e69369</id>
<content type='text'>
Extcaps require a log file when invoked in child mode. It also has
a specific flag to enable debugging, other that the wslog options.

Fix the logging to:
  1. Enable debug log level if --debug is used.
  2. Do not emit messages to the stderr if debug is enabled.

This brings extcap logging to the same feature level it had before
wslog replaced GLib logging.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extcaps require a log file when invoked in child mode. It also has
a specific flag to enable debugging, other that the wslog options.

Fix the logging to:
  1. Enable debug log level if --debug is used.
  2. Do not emit messages to the stderr if debug is enabled.

This brings extcap logging to the same feature level it had before
wslog replaced GLib logging.
</pre>
</div>
</content>
</entry>
<entry>
<title>extcap: reword error message referencing captype</title>
<updated>2021-10-13T05:03:31+00:00</updated>
<author>
<name>Chuck Craft</name>
<email>bubbasnmp@gmail.com</email>
</author>
<published>2021-10-13T02:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=a3625ec9f6132102e32aeba4ec18e43f7c16c071'/>
<id>a3625ec9f6132102e32aeba4ec18e43f7c16c071</id>
<content type='text'>
There exists a program called "captype" but it's not used here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There exists a program called "captype" but it's not used here.
</pre>
</div>
</content>
</entry>
<entry>
<title>ws_getopt: Rename struct and macros</title>
<updated>2021-09-30T13:59:28+00:00</updated>
<author>
<name>João Valverde</name>
<email>j@v6e.pt</email>
</author>
<published>2021-09-29T17:32:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=5362d0c31b83fd7eb812f3215918504496c2f56a'/>
<id>5362d0c31b83fd7eb812f3215918504496c2f56a</id>
<content type='text'>
This is part of the API and should also be renamed to avoid conflicts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is part of the API and should also be renamed to avoid conflicts.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some spelling errors.</title>
<updated>2021-09-28T09:50:58+00:00</updated>
<author>
<name>Martin Mathieson</name>
<email>martin.r.mathieson@googlemail.com</email>
</author>
<published>2021-09-27T08:17:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=a156d7d05d9247d05fa10094c2bd0f68d29116db'/>
<id>a156d7d05d9247d05fa10094c2bd0f68d29116db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the musl in-tree getopt_long() everywhere</title>
<updated>2021-09-16T23:43:54+00:00</updated>
<author>
<name>João Valverde</name>
<email>j@v6e.pt</email>
</author>
<published>2021-07-26T16:22:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=8df2a73594fbcc812f4ea22a72ab7a79bfb63dc3'/>
<id>8df2a73594fbcc812f4ea22a72ab7a79bfb63dc3</id>
<content type='text'>
Besides the obvious limitation of being unavailable on Windows,
the standard is vague about getopt() and getopt_long() has many
non-portable pitfalls and buggy implementations, that increase
the maintainance cost a lot. Also the GNU libc code currently
in the tree is not suited for embedding and is unmaintainable.

Own maintainership for getopt_long() and use the musl implementation
everywhere. This way we don't need to worry if optreset is available,
or if the $OPERATING_SYSTEM version behaves in subtly different ways.

The API is under the Wireshark namespace to avoid conflicts with
system headers.

Side-note, the Mingw-w64 9.0 getopt_long() implementation is buggy
with opterr and known to crash. In my experience it's a headache to
use the embedded getopt implementation if the system provides one.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Besides the obvious limitation of being unavailable on Windows,
the standard is vague about getopt() and getopt_long() has many
non-portable pitfalls and buggy implementations, that increase
the maintainance cost a lot. Also the GNU libc code currently
in the tree is not suited for embedding and is unmaintainable.

Own maintainership for getopt_long() and use the musl implementation
everywhere. This way we don't need to worry if optreset is available,
or if the $OPERATING_SYSTEM version behaves in subtly different ways.

The API is under the Wireshark namespace to avoid conflicts with
system headers.

Side-note, the Mingw-w64 9.0 getopt_long() implementation is buggy
with opterr and known to crash. In my experience it's a headache to
use the embedded getopt implementation if the system provides one.
</pre>
</div>
</content>
</entry>
<entry>
<title>wslog: Check environment initialization for errors</title>
<updated>2021-06-25T23:18:26+00:00</updated>
<author>
<name>João Valverde</name>
<email>j@v6e.pt</email>
</author>
<published>2021-06-24T20:20:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=c6a920686ce59ea8b29f7a61f8197077baedf304'/>
<id>c6a920686ce59ea8b29f7a61f8197077baedf304</id>
<content type='text'>
Initialiaze the cmdarg error stream earlier.

Dumpcap also needs to know earlier if it is running in capture
child mode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initialiaze the cmdarg error stream earlier.

Dumpcap also needs to know earlier if it is running in capture
child mode.
</pre>
</div>
</content>
</entry>
<entry>
<title>wslog: Check if we are initialized and add missing inits</title>
<updated>2021-06-21T16:03:29+00:00</updated>
<author>
<name>João Valverde</name>
<email>j@v6e.pt</email>
</author>
<published>2021-06-19T18:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=759bb234d0eb4d36947213fca2bc14e386c1cc8f'/>
<id>759bb234d0eb4d36947213fca2bc14e386c1cc8f</id>
<content type='text'>
Instead of receiving the program name from GLib, pass it explicitly
to ws_log_init() instead  and use that to initialize the GLib program
name.

ws_log_parse_args() will now exit the program when it encounters an
argument error if exit_failure &gt;= 0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of receiving the program name from GLib, pass it explicitly
to ws_log_init() instead  and use that to initialize the GLib program
name.

ws_log_parse_args() will now exit the program when it encounters an
argument error if exit_failure &gt;= 0.
</pre>
</div>
</content>
</entry>
<entry>
<title>dissectors: Replace g_log() with ws_log()</title>
<updated>2021-06-16T12:50:28+00:00</updated>
<author>
<name>João Valverde</name>
<email>joao.valverde@tecnico.ulisboa.pt</email>
</author>
<published>2021-06-15T15:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/tools/wireshark/commit/?id=dcc02b1003fb923a9eac439f28ae7c5329ea2580'/>
<id>dcc02b1003fb923a9eac439f28ae7c5329ea2580</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
