aboutsummaryrefslogtreecommitdiffstats
path: root/packet-lmp.c
AgeCommit message (Collapse)AuthorFilesLines
2004-07-02From Carles Kishimoto: fix some bugs.Guy Harris1-11/+8
svn path=/trunk/; revision=11298
2004-05-24Have two strings in an enum_val_t - one that's a short string that isGuy Harris1-5/+5
convenient to put into a command line (no capital letters, no spaces to require quotes), and one that's a detailed description for use in the UI. Allow either of them in the preferences file or "-o" option; use the detailed description in the UI, and also use it when writing the preferences out, so that the preference will be readable by older versions of Ethereal (assuming the preference existed in that version). Update "README.developer" to give more detail about an enum_val_t (and to put the _t in), and to give a more detailed description of the "radio_buttons" argument to "prefs_register_enum_preference()". svn path=/trunk/; revision=10982
2004-05-20avoid using ushort (not available on all platforms), use guint16 insteadUlf Lamping1-2/+2
svn path=/trunk/; revision=10923
2004-05-19Fixes to LMP for draft-09 support.Ashok Narayanan1-32/+23
Minor fix to RSVP for G-UNI object number. svn path=/trunk/; revision=10920
2003-12-21Compiling with -pedantic:Jörg Mayer1-3/+3
warning: comma at end of enumerator list svn path=/trunk/; revision=9383
2003-10-23Added support for LMP draft version -09. Support for older draftAshok Narayanan1-147/+910
versions -02 and -03 is still present (since they are in use), selectable by a protocol preference. svn path=/trunk/; revision=8765
2003-10-06When registering a field, make sure its ID is -1 or 0 - if it's not,Guy Harris1-8/+1
that probably means you've registered two fields with the same field ID variable, which is an error. Fix the bugs doing so found. svn path=/trunk/; revision=8629
2003-01-28Panic if a preference starts with the name of the module to which itGuy Harris1-2/+2
belongs, as that's redundant. Fix a bunch of cases where that was done, and map the old name to the new name. Instead of marking "mtp3.mtp3_standard" as obsolete, map it to "mtp3.standard". svn path=/trunk/; revision=7030
2002-12-02Don't cast away constness, and fix variable and structure memberGuy Harris1-17/+17
qualifiers as necessary to ensure that we don't have to. "strcmp()", "strcasecmp()", and "memcmp()" don't return booleans; don't test their results as if they did. Use "guint8", not "guchar", for a pointer to (one or more) 8-bit bytes. Update Michael Tuexen's e-mail address. svn path=/trunk/; revision=6726
2002-10-17The Boolean field for EndVerifyAck messages was missing, causing a crashGuy Harris1-1/+5
if such a message (or something that happened to look enough like such a message) was ever seen. svn path=/trunk/; revision=6441
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-390/+390
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer1-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
2002-07-17From Joerg Mayer:Guy Harris1-5/+1
dftest.c: Remove #if-0-ed includes packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c, packet-wtp.c, ethereal_gen.py: Remove redundant include varargs (already in snprintf.h, and required only for snprintf.h) Remove unused include of snprintf.h from files not using "snprintf()". svn path=/trunk/; revision=5889
2002-06-16Return an error for an invalid class instead of dumping core.Gerald Combs1-2/+8
svn path=/trunk/; revision=5686
2002-06-02Require that the LMP and RSVP message types be greater than 0.Gerald Combs1-2/+3
svn path=/trunk/; revision=5612
2002-06-02Mark a frame invalid if its message type value exceedsGerald Combs1-2/+9
LMPF_MSG_CHANNEL_STATUS_RESP. svn path=/trunk/; revision=5611
2002-05-10- Added support for LMP draft versions -02 and -03 (selectable inAshok Narayanan1-49/+156
protocol preferences) - Added OSPF display filtering support, including OSPF/TE extensions svn path=/trunk/; revision=5437
2002-04-29Removal (or, at least, #ifdeffing out) of unused variables andGuy Harris1-5/+2
functions, from David Frascone. svn path=/trunk/; revision=5288
2002-04-25Use "%.10g", rather than "%f", for floating-point numbers. That willGuy Harris1-5/+5
display values that would fit in a 32-bit integer as integers, leaving out all trailing zeroes after the decimal point (and leaving out the decimal point if there are no digits left after the decimal point once trailing zeroes are removed), and will use scientific notation for small fractions or large numbers. svn path=/trunk/; revision=5248
2002-04-24Use "tvb_get_ntohieee_float()" to fetch floating-point numbers.Guy Harris1-10/+9
Display those numbers as floating-point. svn path=/trunk/; revision=5241
2002-04-14From Joerg Mayer:Guy Harris1-7/+2
Declares some variables static. Creates a new include file packet-rsvp.h, and make use of it (change some extern decls to #inlcude). Move the file packet-pgm.h into packet-pgm.c as it is not used by anything outside packet-pgm.c. svn path=/trunk/; revision=5162
2002-04-10Added support for the Link Management Protocol (LMP), used for opticalAshok Narayanan1-0/+1458
signalling and Generalized MPLS. This commit contains code for the protocol version described in draft-ietf-ccamp-lmp-03.txt. svn path=/trunk/; revision=5138