wireshark/wsutil
Guy Harris b831f251ef Include <sys/socket.h>, too.
The Single UNIX Spec says AF_INET and AF_INET6 are defined by
<sys/socket.h>, which means you *should* include it if you want those
defines, and it doesn't look as if DragonFly BSD's <netinet/in.h>
includes it.

Do the includes in the order in whcih dumpcap does them.

Change-Id: I2ee611fc08a5487d5b8ed48396aa2a49447c881a
Reviewed-on: https://code.wireshark.org/review/15542
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-05-23 02:22:51 +00:00
..
.editorconfig Link version code statically again 2016-04-21 18:59:56 +00:00
CMakeLists.txt Add checkAPI calls to CMake. 2016-05-02 12:01:24 +00:00
Makefile.am Add more stuff to the release tarball. 2016-04-05 02:36:56 +00:00
Makefile.common Link version code statically again 2016-04-21 18:59:56 +00:00
Makefile.nmake Fix wsutil/Makefile.nmake rule for ws_version_info.obj 2016-05-01 23:53:16 +00:00
adler32.c Restore string.h as OS X misses it for strlen() 2014-12-28 23:47:16 +00:00
adler32.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
aes.c AES: Fix dereference of null pointer 2016-02-11 18:04:36 +00:00
aes.h Add AES-CMAC encryption support 2016-02-03 20:54:35 +00:00
airpdcap_wep.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
base64.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
base64.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
bits_count_ones.h [pedantic] Replace usage of 'long' and 'long long' 2014-11-19 16:31:42 +00:00
bits_ctz.h Set width of hex output according to bitmask 2016-01-24 00:03:18 +00:00
bitswap.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
bitswap.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
buffer.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
buffer.h Rename buffer_ routines to ws_buffer_ to avoid name collisions. 2014-08-02 11:01:29 +00:00
cfutils.c cfutils.c: Fix ISO C forbids an empty translation unit [-Wpedantic] 2015-11-29 21:54:34 +00:00
cfutils.h cfutils.c: Fix ISO C forbids an empty translation unit [-Wpedantic] 2015-11-29 21:54:34 +00:00
clopts_common.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
clopts_common.h Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
cmdarg_err.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
cmdarg_err.h Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
copyright_info.c Welcome in 2016 2016-01-01 14:08:30 +00:00
copyright_info.h Move get_copyright_info() to wsutil. 2014-06-21 17:33:05 +00:00
crash_info.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crash_info.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc6.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crc6.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc7.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crc7.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc8.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crc8.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc10.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crc10.h Clean up the CRC-10 code. 2014-08-08 18:09:02 +00:00
crc11.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
crc11.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc16-plain.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
crc16-plain.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
crc16.c add functions to calculate the CRC of an ISO14443-A message 2016-02-08 06:01:05 +00:00
crc16.h add functions to calculate the CRC of an ISO14443-A message 2016-02-08 06:01:05 +00:00
crc32.c The "MPEG-2" CRC-32 is also the ATM CRC-32. 2014-08-08 19:52:08 +00:00
crc32.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
des.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
des.h Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
eax.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
eax.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
file_util.c wsutil: Remove getenv_utf8(), replaced with g_getenv() 2016-04-03 16:30:33 +00:00
file_util.h Windows: Remove the need for _CRT_NONSTDC_NO_DEPRECATE. 2016-04-13 02:16:20 +00:00
filesystem.c Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
filesystem.h Make init_progfile_dir() take a function pointer [-Wpedantic] 2015-12-14 23:52:28 +00:00
frequency-utils.c Match what most source say are the actual Japanese 4.9 GHz channels. 2015-11-05 22:39:52 +00:00
frequency-utils.h Get rid of ws80211_frequency_to_channel(). 2015-11-05 22:56:07 +00:00
g711.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
g711.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
getopt_long.c Use AC_REPLACE_FUNCS and LTLIBOBJS 2016-04-04 23:58:41 +00:00
getopt_long.h Use AC_REPLACE_FUNCS and LTLIBOBJS 2016-04-04 23:58:41 +00:00
inet_addr-int.h Use AC_REPLACE_FUNCS and LTLIBOBJS 2016-04-04 23:58:41 +00:00
inet_addr.c Fix implicit conversion from 64 to 32 bits 2016-02-19 21:47:04 +00:00
inet_addr.h Move a declaration to wsutil 2016-04-09 23:36:30 +00:00
inet_aton.c Add inet_pton/inet_ntop interface to libwsutil 2016-02-19 15:55:09 +00:00
inet_aton.h Just #include wsutil/inet_aton.h 2016-02-13 23:51:53 +00:00
inet_ipv6.h Move IPv6 address utility functions to wsutil 2016-04-09 23:36:44 +00:00
inet_ntop.c Use AC_REPLACE_FUNCS and LTLIBOBJS 2016-04-04 23:58:41 +00:00
inet_pton.c Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
interface.c Include <sys/socket.h>, too. 2016-05-23 02:22:51 +00:00
interface.h extcap: add local_interfaces_to_list() to wsutil. 2016-03-04 05:53:56 +00:00
jsmn.c Fix modeline definitions 2016-03-29 09:45:27 +00:00
jsmn.h Clean up modelines and indentation. 2016-02-25 21:34:36 +00:00
md4.c Restore string.h to md4.c 2014-12-29 00:18:17 +00:00
md4.h Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
md5.c Add back string.h 2014-12-29 00:09:07 +00:00
md5.h Continue to remove $Id$ from top of file 2014-03-31 18:49:26 +00:00
mpeg-audio.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
mpeg-audio.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
nstime.c Fix up the compare chain in nstime_delta(). 2016-05-09 23:52:33 +00:00
nstime.h No need for "struct nstime_t", "nstime_t" by itself suffices. 2016-01-03 07:19:34 +00:00
os_version_info.c Next Windows Server version seems to be named Windows Server 2016 now 2015-07-07 16:30:36 +00:00
os_version_info.h Move get_os_major_version() to wsutil and rename it to get_windows_major_version(). 2014-06-21 21:33:11 +00:00
pint.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
plugins.c plugins: do not import symbols globally 2016-01-31 13:31:28 +00:00
plugins.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
popcount.c Move popcount() to an optionally built part of wsutil for systems that 2014-12-23 00:22:23 +00:00
popcount.h Move popcount() to an optionally built part of wsutil for systems that 2014-12-23 00:22:23 +00:00
privileges.c Removed duplicated #include lines 2014-12-28 00:02:39 +00:00
privileges.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
processes.h It's INVALID_HANDLE_VALUE, not INVALID_HANDLE. 2015-06-10 04:20:39 +00:00
rc4.c Add string.h back to rc4.c 2014-12-29 00:12:45 +00:00
rc4.h Continue to remove $Id$ from top of file 2014-03-31 18:46:57 +00:00
report_err.c Make failure_alert_box() be printf-like. 2016-03-27 02:06:28 +00:00
report_err.h Make failure_alert_box() be printf-like. 2016-03-27 02:06:28 +00:00
sha1.c Define the SHA-1 digest length in wsutil/sha1.h and use it. 2015-05-09 23:36:11 +00:00
sha1.h Define the SHA-1 digest length in wsutil/sha1.h and use it. 2015-05-09 23:36:11 +00:00
sha2.c Squelch warnings from compilers that don't know that (a%b) is always < b. 2016-02-03 21:51:30 +00:00
sha2.h Add functions for SHA256 and HMAC-SHA256 2016-02-03 20:53:03 +00:00
sign_ext.h No need to operate on full bit width (CID 1355344 / 1355348) 2016-03-16 01:08:27 +00:00
sober128.c sober: fix cannot optimize loops warning [-Wunsafe-loop-optimizations] 2016-02-20 14:27:42 +00:00
sober128.h Add casting and license info to fix buildbots 2014-06-19 23:55:47 +00:00
str_util.c Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
str_util.h Don't include "file.h" if you don't need it. 2015-11-04 08:46:30 +00:00
strnatcmp.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
strnatcmp.h Rename the strnatcmp.c routines and make them use the g_ascii_XXX() routines. 2014-10-29 17:54:51 +00:00
strptime.c Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00
strptime.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tempfile.c Windows: Remove the need for _CRT_NONSTDC_NO_DEPRECATE. 2016-04-13 02:16:20 +00:00
tempfile.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_util.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
time_util.h Move mktime_utc() from tvbuff.c to wsutil/time_util.c 2014-04-25 04:13:02 +00:00
type_util.c Keep everything unsigned there. 2015-05-09 01:27:17 +00:00
type_util.h Add some #includes to satisfy check-abi 2014-07-23 17:48:34 +00:00
unicode-utils.c Win32: Pass a mutable string to CreateProcess. 2016-04-28 23:50:28 +00:00
unicode-utils.h Win32: Pass a mutable string to CreateProcess. 2016-04-28 23:50:28 +00:00
utf8_entities.h TShark: Add a "-E bom=" option. 2016-05-11 17:30:33 +00:00
ws_cpuid.h "#else", not "#elif", for the last part of a chain of conditionals. 2014-12-31 21:26:10 +00:00
ws_mempbrk.c Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
ws_mempbrk.h Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
ws_mempbrk_int.h Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
ws_mempbrk_sse42.c The official #define for 32-bit and 64-bit Windows is _WIN32. 2015-09-02 22:59:10 +00:00
wsgcrypt.h Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
wsgetopt.h Eliminate include of <ctype.h>. 2014-10-17 07:02:37 +00:00