Add a bunch more NetBIOS name types.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 3 Sep 1999 00:24:40 +0000 (00:24 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 3 Sep 1999 00:24:40 +0000 (00:24 +0000)
commit68585540738f81a1f160fe8dc8a694c84e95671d
tree1c347671aee4355eb6a90cf5483f5c4f8518da63
parent3ceef727c4f4d419726d47c2f970e1de25e02f86
Add a bunch more NetBIOS name types.

That makes the space of name types even more sparse; use "val_to_str()"
to decode them, rather than an indexed table.

Make a "process_netbios_name()" routine that shows non-printable
characters in NetBIOS names as <XX>, where "XX" is the value of the
character in hex (the way Network Monitor does), and have
"get_netbios_name()" use it (NetBIOS-over-TCP will be made to use it in
the future).

When displaying NetBIOS names, include the name type character at the
end, in angle brackets, the way Network Monitor does (show it in hex
even if it *is* printable - 0x20 is 0x20, not "space", in that context).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@628 f5534014-38df-0310-8fa8-9805f1628bb7
packet-nbipx.c
packet-netbios.c
packet-netbios.h