Merge pull request #313 from sfd/master

Fix DAG Stream support in dag_create()
man: add documentation for pcap_set_tstamp_precision
man: add documentation for pcap_get_tstamp_precision
build-sys: add time stamp precision man pages
linux: remove dead code
linux: fix initialization of tstamp_precision_list

We should be using tstamp_precision_list to store time stamp precisions
which we support.
Merge pull request #316 from msekletar/master

Add documentation and fix SIGSEGV when using pcap_set_tstamp_precision
Fix (unlikely) memory leak.

If we were able to allocate the list of time stamp types, but were
unable to allocate the list of time stamp precisions, free the list of
time stamp types before freeing the handle.
Catch attempts to fetch information about non-activated pcap_t's.

The link-layer header type, and list of supported link-layer header
types, aren't set until the pcap_t is activated; return an error for
attempts to fetch them for a non-activated handle.
Just return PCAP_ERROR_NOT_ACTIVATED for some calls.

Return PCAP_ERROR_NOT_ACTIVATED, not PCAP_ERROR (-1), for calls to
pcap_datalink(), pcap_datalink_ext(), and pcap_list_datalinks() if
called on a non-activated pcap_t.  Pre-pcap_create() code will never see
PCAP_ERROR_NOT_ACTIVATED, and code using pcap_create() will either not
see it (if it's correct) or is already getting bogus results (if it's
not correct).

Document that while we're at it.
Add more "not activated" checks.

Add a missing semicolon from the previous checkin, and change some
return values to the standard style (enclosing the return value in
parentheses), while we're at it.
fix typo on manpage install
Sort generated man pages by name in various lists.

Also, re-generate the configure scripts.
Add the generated time stamp precision API man pages to the .gitignore list.
Fix for bluetooth adapters not showing up

when they are added to top of the list of devices
Merge pull request #322 from oxplot/bt-fix

Fix bt_findalldevs() to correctly add devices to the devices list.
More findalldevs fixes.
Fix fat builds on pre-Leopard and post-Lion versions of OS X.

Prior to Tiger, only 32-bit PowerPC was supported, so don't do fat
builds.  For 10.4 through 10.4.3, only 32-bit and 64-bit PPC were
supported; for 10.4.4 through 10.4.6, 32-bit x86 was also supported; for
all later versions of Tiger, 32-bit and 64-bit x86 were also supported.

For everything after Snow Leopard, not just for Lion, only 32-bit and
64-bit x86 are supported; don't just check for Lion, assume anything for
which we don't have specific cases is like that (unless and until Apple
drops support for 32-bit x86 applications).
Hammer into users' heads the idea that they must use pcap_datalink().

Note for pcap_loop()/pcap_dispatch(), and for
pcap_next()/pcap_next_ex(), that in order to interpret the packets you
have to know the link-layer header type for the pcap_t, as returned by
pcap_datalink().

Note in all the places we discuss the value returned by pcap_datalink()
that the program *MUST NOT ASSUME* that it will return a particular
value, and specifically note that the Linux "any" device has a
pcap_datalink() value of DLT_LINUX_SLL even if all the network
interfaces on the system happen to have some other link-layer header
type.
Added TPACKET_V3 support.