aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tftp.c
AgeCommit message (Collapse)AuthorFilesLines
1999-07-07Created a new protocol tree implementation and a new display filterGilbert Ramirez1-20/+19
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-13Get rid of the include of <arpa/tftp.h>; put the #defines for packetGuy Harris1-9/+12
types in "packet-tftp.c", and grab the opcode directly from the first 2 bytes of the packet, using "pntohs()" (which will also keep us from crashing, on processors that require strict alignment, if the UDP payload isn't aligned on a 2-byte boundary). Also use "pntohs()" to grab the block number in data and acknowledgment packets, for the same reason we use it to grab the opcode. svn path=/trunk/; revision=286
1999-03-23Removed all references to gtk objects from packet*.[ch] files. They nowGilbert Ramirez1-28/+24
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-02-15Added Richard Sharpe's TFTP support.Guy Harris1-0/+146
svn path=/trunk/; revision=190