aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ncp.c
AgeCommit message (Collapse)AuthorFilesLines
1999-09-02Have the IPX code set "pi.len" and "pi.captured_len" based on the lengthGuy Harris1-3/+2
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". svn path=/trunk/; revision=627
1999-07-29Made the protocol (but not the fields) use the new proto_tree routine,Gilbert Ramirez1-3/+16
allowing users to filter on the existence of these protocols. I also added packet-clip.c to the Nmake makefile. svn path=/trunk/; revision=402
1999-07-13Added support for compiling on win32 with Visual C and 'nmake'. It compiles,Gilbert Ramirez1-2/+3
but does not link. Perhaps someone who understands the MS tools can help out. I made it link a few months ago, but with different version of glib/gtk+. I can't remember how I made it link. Most of the compatibility issues were resolved with adding #ifdef HAVE_UNISTD_H the the source code. Please be sure to add this to all future code. svn path=/trunk/; revision=359
1999-07-07Created a new protocol tree implementation and a new display filterGilbert Ramirez1-29/+27
mechanism that is built into ethereal. Wiretap is now used to read all file formats. Libpcap is used only for capturing. svn path=/trunk/; revision=342
1999-05-26Removed segfault if NCP completion code was decoded for an uknown NCP reply ↵Gilbert Ramirez1-4/+11
type. svn path=/trunk/; revision=296
1999-05-16Added more functionality to the completion-code parsing routine.Gilbert Ramirez1-18/+60
svn path=/trunk/; revision=291
1999-05-14Further refined NCP fix, and added translation of NCP Completion Code.Gilbert Ramirez1-52/+272
svn path=/trunk/; revision=288
1999-05-13Fixed some serious bugs in the NCP hash routines. I also simplifiedGilbert Ramirez1-43/+171
the NCP field table structure so that it is easier to add new request/reply types. I even added a new type myself. There's still more work to be done; so for now ignore the warnings that gcc emits. svn path=/trunk/; revision=287
1999-05-10Fixed the number of parameters for the other super-IPX protocols so thatGilbert Ramirez1-2/+3
the table of dissect functions that IPX needs only needs to store pointers to on type of function. Now all super-IPX protocols have an 'int max_data' argument. svn path=/trunk/; revision=267
1999-03-23Removed all references to gtk objects from packet*.[ch] files. They nowGilbert Ramirez1-22/+19
reference the protocol tree with struct proto_tree and struct proto_item objects. That way, the packet decoding source code file can be used with non-gtk packet decoders, like a curses-based ethereal, e.g. I also re-arranged some of the information in packet.h to more appropriate places (like other packet-*.[ch] files). svn path=/trunk/; revision=223
1999-03-20Re-wrote the NCP module in accordance with how NCP is really organized.Gilbert Ramirez1-163/+340
NCP is still not decoded much, but the infrastructure for doing so is now in place, including a hashtable to record the NCP type of each request so that we now how to parse the response. svn path=/trunk/; revision=215
1999-03-01Small fixes for alignment, and #include for gtk+-1.1.x/glib-1.1.xGilbert Ramirez1-2/+2
svn path=/trunk/; revision=197
1998-11-17* Added column formatting functionality.Gerald Combs1-5/+5
* Added check_col(), add_col_str() and add_col_fmt() to replace references to ft->win_info. * Added column prefs handling code. svn path=/trunk/; revision=97
1998-11-12A lengthy patch to add the wiretap library. Wiretap is not used by defaultGilbert Ramirez1-2/+1
because it is still in its infancy, but it can be compiled in optionally. The library exists in its own subdirectory ethereal/wiretap. This patch also edits all the packet-*.c files to remove the #include <pcap.h> line which is unnecessary in these files. In the ethereal code, file.c is the most heavily modified with #ifdef WITH_WIRETAP lines for the optional library. svn path=/trunk/; revision=82
1998-10-27Removed unused variable and fixed call to add_item_to_tree, as reportedGilbert Ramirez1-3/+3
by Guy Harris. svn path=/trunk/; revision=71
1998-10-22An NCP READ is now decoded. This is the first function to be decoded.Gilbert Ramirez1-79/+70
I expect much of the packet-ncp.c file to change. svn path=/trunk/; revision=69
1998-10-15I'm preparing ncp for expansion (i.e., cleaning up my old code). I alsoGilbert Ramirez1-24/+50
changed the summary line so that "Reply"/"Request" is printed. svn path=/trunk/; revision=60
1998-09-27Merged in a _huge_ patch from Guy Harris. It adds a time stap column,Gerald Combs1-4/+4
generalizes the column printing code, adds a "frame" tree item to the tree view, and fixes a bunch of miscellaneous coding bugs. svn path=/trunk/; revision=31
1998-09-23I removed the ncp code from packet-ipx.c and created packet-ncp.c. Now thatGilbert Ramirez1-0/+262
I've started concentrating on the NetWare modules again, packet-ncp.c is going to start to grow. I also added IPX RIP to packet-ipx.c. Additionally, I added the END_OF_FRAME macro to packet.h, which is useful for many dissect() routines. (and I already modified packet-bootp.c and packet-data.c to use this macro) svn path=/trunk/; revision=22