aboutsummaryrefslogtreecommitdiffstats
path: root/packet-arp.c
Commit message (Collapse)AuthorAgeFilesLines
* Add summary-vs-detail radio buttons to the print dialog box; detailGuy Harris1999-09-121-4/+13
| | | | | | | | | | | | | | | | | | | | | prints the protocol tree, and summary prints the fields in the summary clist, with a header line at the beginning of the printout. Print only packets selected by the current packet filter. Just have "ARP" and "RARP" in the "Protocol" field for ARP packets; whether it's a request or a reply can be seen in the "Info" field. Add to the "Frame" section of the protocol tree the time between the current packet and the previous displayed packet, and the packet number. Have FT_RELATIVE_TIME fields be a "struct timeval", and display them as seconds and fractional seconds (we didn't have any fields of that type, and that type of time fits the delta time above). Add an FT_DOUBLE field type (although we don't yet have anything using it). svn path=/trunk/; revision=666
* The protocol tree field created for a protocol itself is of typeGuy Harris1999-07-301-5/+5
| | | | | | | | | FT_NONE, so the first argument in the variable-length portion of the argument list to the "proto_tree_add_item()" or "proto_tree_add_item_format()" call to add the top-level protocol tree item for a protocol has to be a null pointer. svn path=/trunk/; revision=405
* Made the protocol (but not the fields) use the new proto_tree routine,Gilbert Ramirez1999-07-291-3/+17
| | | | | | | 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
* Created a new protocol tree implementation and a new display filterGilbert Ramirez1999-07-071-15/+14
| | | | | | | 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
* Turn "arpaddr_to_str()" into "bytes_to_str()", and make it public, so itGuy Harris1999-05-111-41/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be used by dissectors other than ARP to display byte arrays as strings of hex digits. Add a routine to extract a null-terminated Unicode string and turn it into an ISO 8859-1 string for display. (Ultimately, we should determine what character sets the X server or printer or whatever can handle, and turn it into the appropriate character set.) Display the challenge in "core-to-LANMAN-2.1" Negotiate Protocol responses as a string of hex digits - but only if the length is non-zero. (It's a counted array, not a null-terminated string.) Display some additional security mode bits in an NT LM 0.12 Negotiate Protocol response. Display some additional bits in the "capabilities" field of the Negotiate Protocol response. Display the challenge in an NT LM 0.12 Negotiate Protocol response as a string of hex digits (it's a counted array, not a null-terminated string). Display the domain name as Unicode in an NT LM 0.12 Negotiate Protocol response if the capabilities field has the "supports Unicode" bit set (no, not the "Unicode" bit in the "flags2" field - NT doesn't set that in the response, even though it sends the domain name over in Unicode!). Display some additional bits in the "flags2" field of an SMB. svn path=/trunk/; revision=275
* Removed all references to gtk objects from packet*.[ch] files. They nowGilbert Ramirez1999-03-231-25/+33
| | | | | | | | | | 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
* Added guy's time and DHCP patch.Gilbert Ramirez1999-01-281-29/+37
| | | | svn path=/trunk/; revision=177
* * Added column formatting functionality.Gerald Combs1998-11-171-14/+14
| | | | | | | | * 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
* A lengthy patch to add the wiretap library. Wiretap is not used by defaultGilbert Ramirez1998-11-121-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
* Add a routine to convert Ethernet packet types to strings.Guy Harris1998-11-031-75/+208
| | | | | | | | | | | | | | Use that routine in "ethertype()". Have "dissect_arp()" handle hardware addresses that aren't 6-byte Ethernet addresses and protocol addresses that aren't 4-byte IPv4 addresses - currently, it just prints the first 16 hex digits, but it could be made to handle other types specially just as it handles 6-byte Ethernet and 4-byte IPv4 addresses. Have it decode a more complete set of hardware address types. svn path=/trunk/; revision=78
* * Copied in the correct GNU license (I'm such a goober)Gerald Combs1998-10-161-4/+4
| | | | | | | | | * Hacks to the filter interface (Gerald) * About box (Laurent) * AppleTalk support (Simon) * Mods to the match_strval routine (Gerald) svn path=/trunk/; revision=61
* Make the "value_string" array in "dissect_arp()" static, so it can beGuy Harris1998-10-131-7/+8
| | | | | | | | | | initialized at compile time. Compute the number of elements in that array at compile time. Fix a typo ("Unkown" for "Unknown"). svn path=/trunk/; revision=44
* - Added match_strval function to packet.cGerald Combs1998-10-121-33/+36
| | | | | | | - Separated display and capture filters; rearranged some of the look and feel - Lots of other miscellaneous fixes and updates svn path=/trunk/; revision=38
* * OSPF alignment fixes (Gerald)Gerald Combs1998-10-101-5/+12
| | | | | | * FDDI support (Laurent, Guy) svn path=/trunk/; revision=36
* Merged in a _huge_ patch from Guy Harris. It adds a time stap column,Gerald Combs1998-09-271-14/+14
| | | | | | | 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
* Added ID tags to the beginning of each source file.Gerald Combs1998-09-161-0/+2
| | | | svn path=/trunk/; revision=7
* Initial revisionstartethereal-0.3.15ethereal-0-3-15backups/ethereal@18706etherealGerald Combs1998-09-161-0/+122
svn path=/trunk/; revision=2