aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eapol.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-9/+9
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer2002-08-021-9/+1
| | | | | | | | equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
* Removal (or, at least, #ifdeffing out) of unused variables andGuy Harris2002-04-291-2/+1
| | | | | | functions, from David Frascone. svn path=/trunk/; revision=5288
* From Adam Sulmicki: use "proto_tree_add_uint()" rather thanGuy Harris2002-03-111-2/+2
| | | | | | | "proto_tree_add_boolean()" for the "hf_eapol_keydes_key_index_indexnum" field, as it's an FT_UINT8, not an FT_BOOLEAN. svn path=/trunk/; revision=4928
* Dissect the payload of EAPOL Key messages.Guy Harris2002-02-221-34/+132
| | | | | | | | | Put in a comment noting that the payload of EAPOL Encapsulated ASF Alert messages should perhaps be dissected as SNMP Trap messages. Put the type of the message into the Info column. svn path=/trunk/; revision=4789
* Get rid of an unnecessary "volatile".Guy Harris2002-02-221-19/+20
| | | | | | | | | | | | | | | | | | Give the type field a value_string array, and use that field when putting the type into the protocol tree. Display the data under the EAPOL tree, as it's part of the EAPOL PDU. Just use "next_tvb" as the tvbuff for the data; don't create a new one that, the different fourth argument to "tvb_new_subset()" nonwithstanding, refers to the same data as "next_tvb". Call the EAP dissector through a handle. Nobody directly calls the EAP dissector any more, they all call it through handles; make it static. svn path=/trunk/; revision=4787
* With the tvbuffication of all dissectors, the "packet_info" structure noGuy Harris2002-02-171-2/+2
| | | | | | | longer contains length fields, so there's no need to pass a "packet_info *" argument to "set_actual_length()". svn path=/trunk/; revision=4748
* Include files from the "epan" directory and subdirectories thereof withGuy Harris2002-01-211-2/+2
| | | | | | | | | | | | | "epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). svn path=/trunk/; revision=4586
* Move the pointer to the "column_info" structure in the "frame_data"Guy Harris2001-12-101-5/+5
| | | | | | | | | | | | | | | structure to the "packet_info" structure; only stuff that's permanently stored with each frame should be in the "frame_data" structure, and the "column_info" structure is not guaranteed to hold the column values for that frame at all times - it was only in the "frame_data" structure so that it could be passed to dissectors, and, as all dissectors are now passed a pointer to a "packet_info" structure, it could just as well be put in the "packet_info" structure. That saves memory, by shrinking the "frame_data" structure (there's one of those per frame), and also lets us clean up the code a bit. svn path=/trunk/; revision=4370
* Make "dissector_add()", "dissector_delete()", and "dissector_change()"Guy Harris2001-12-031-2/+5
| | | | | | | | take a dissector handle as an argument, rather than a pointer to a dissector function and a protocol ID. Associate dissector handles with dissector table entries. svn path=/trunk/; revision=4308
* Moved from using dissect_data() to using call_dissector()Ed Warnicke2001-11-261-2/+5
| | | | svn path=/trunk/; revision=4269
* IEEE 802.1x, a/k/a EAPOL, and PPP/EAPOL EAP support, from PekkaGuy Harris2001-11-061-0/+139
Nikander. svn path=/trunk/; revision=4170