Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-netbios.c packet-netbios.h pa

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 2 Sep 1999 19:24:45 -0500 (CDT)
guy         1999/09/02 19:24:43 CDT

  Modified files:
    .                    packet-netbios.c packet-netbios.h 
                         packet-nbipx.c 
  Log:
  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).
  
  Revision  Changes    Path
  1.5       +89 -84    ethereal/packet-netbios.c
  1.2       +8 -1      ethereal/packet-netbios.h
  1.12      +35 -45    ethereal/packet-nbipx.c