Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-netbios.h Makefile.am packet-nbipx.c
guy 1999/09/02 18:18:02 CDT
Modified files:
. Makefile.am packet-nbipx.c
packet-netbios.c packet-ipx.c
packet-ncp.c packet.h
Added files:
. packet-netbios.h
Log:
Have the IPX code set "pi.len" and "pi.captured_len" based on the length
in the IPX header, and have the dissectors it calls use it rather than
being passed the length as an argument.
Treat both packet type 20 ("WAN Broadcast") and 4 ("IPX", although 3 is
also "IPX", according to Network Monitor) as potentially being NetBIOS
packets.
The packet types for the IPX NetBIOS socket (0x0455) and the NWLink
sockets (0x0551 and 0x0553) are different (perhaps because there's one
socket for the 0x0455 NBIPX, so you have to do name service and datagram
service and have the packet types distinguish them, but NWLink has
separate sockets for name service and datagram service).
The packet type for name service and for datagram service are at
*different locations* in the packet, which is unfortunate if you want to
use the packet type to distinguish name service and datagram service
packets. Use the packet length, for now, to distinguish them, with
socket 0x0455.
Dissect datagram packets differently from name service packets.
Export "packet-netbios.c"'s "netbios_add_name()" routine, and use it
when dissecting NBIPX packets as well.
Label NBIPX packets as "NBIPX" rather than "NetBIOS".
Revision Changes Path
1.66 +1 -0 ethereal/Makefile.am
1.11 +158 -47 ethereal/packet-nbipx.c
1.4 +3 -2 ethereal/packet-netbios.c
1.26 +100 -60 ethereal/packet-ipx.c
1.19 +2 -3 ethereal/packet-ncp.c
1.92 +4 -4 ethereal/packet.h