Fix possible buffer overflow while doing sscanf()

MAXHOSTNAMELEN + 100 is only 164 which is less than 256 sscanf() buffer.
Fix it by increasing size of nambuf buffer.
Merge pull request #328 from darkjames/master

Fix possible buffer overflow while doing sscanf(); make the buffer the same size as the size in the %s format item.
Fix potential (but not actual) buffer overflow risk.

The line buffer is 256 bytes long, so the name subfield in the line
can't be bigger than 256 bytes, but

	1) somebody could make the line buffer bigger

and

	2) this way the format item and buffer size match

so we'll do it anyway.
IP packet information printing from NFLOG packet

Added nflog.h to Makefile.in

Alphabetical order in Makefile.in
Merge pull request #329 from PetarAlilovic/master

IP packet information printing from NFLOG packet
OpenFlow 1.0: add a test case for NEC PF5240

This capture was produced using a NEC PF5240 switch running OS-F3PA
V4.0.1.0 and configured for one OpenFlow instance with 8 ports. A short
exchange covers features not seen in previous OF1.0 captures. It
installs 8 flows that hit 3 of the 11 tables present on the device:
"normal 1", "expanded" and "emergency". This is correctly reflected in
subsequent flow/table stats reply messages. The queue
stats/configuration messages (typically absent from most other
implementations) cover 2 ports with 8 queues each. After the exchange
completes the controller shuts down.
Babel: sub-TLV 2 is Diversity, not ChanInfo
Added Test cases for DCB and EVB TLVs.
Added support for DCB and EVB TLVs

Added the support for ETS Configuration TLV, ETS Recommendation TLV, PFC Configuration TLV, Application Priority TLV, EVB TLV and CDCP TLV.
Test pcap files for DCB and EVB TLVs with their output
Merge pull request #331 from audaya/master

Support for DCB and EVB TLVs
Make some routines used outside print-lldp.c static.
LMP: add -T override and fix version 1 test(s)

The Link Management Protocol version 1 sample capture added to the tests
directory in commit 212eef2 was produced using non-standard UDP port
49998. Later assignment of port 701 reflected in commit 960aee5 made it
impossible to decode the capture.

This change adds a -T override for LMP, uses it to replace the broken
test with two working tests and dismisses the custom test script,
lmp.sh.
adjust order of elements in ndo_printers[]

DLT_EN10MB, the most commonly seen datalink type, used to be the first
element of ndo_printers[], which lookup_ndo_printer() iterates over, but
commit 20ad836 made DLT_NFLOG the first. Move DLT_NFLOG to the last
position to make the function spend the same time processing the
previously recognized datalink types as before.
SCTP: remove an unused variable (compiler warning)
OpenFlow 1.0: enable decoding of nested frames

The packet that may be contained in an OFPT_PACKET_IN or OFPT_PACKET_OUT
OpenFlow message is a plain Ethernet frame. Make it possible to have
ether_print() process that frame, with a controlled verbosity level (see
a comment in print-openflow-1.0.c for details). Update an existing test
case to employ the new feature.
LMP: fix some minor output issues

Fix a typo and suppress trailing spaces/tabs in a few cases.
NFLOG: remove header dependency, add a test case

This change removes detection of linux/netfilter/nfnetlink_log.h, which
was only used to provide two constants. The constants are now defined in
print-nflog.c, making it possible to compile (and test) the NFLOG
decoder on all systems, not only Linux.

There is now a test case for the decoder, it was produced on a Linux
host with:

iptables -A INPUT -p udp --source 74.82.42.42 -j NFLOG --nflog-group 20
dig @74.82.42.42 ...
add support for pcap_setdirection() (GH#252)

Adds -P in|out|inout option, includes man page and command line help
updates.
simplify pcap_setdirection() detection

AC_CHECK_FUNCS() already defines HAVE_xxx symbol, there is no need to
do this explicitly.