aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dhcpv6.c
AgeCommit message (Collapse)AuthorFilesLines
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-795/+0
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-02-25Use "tvb_get_string()" instead of allocating a (len+1)-sized buffer,Guy Harris1-7/+3
"tvb_memcpy()"ing to it, and putting in a null terminator; "tvb_get_string()" will check whether all bytes of the string are present before allocating the buffer, so that you don't leak memory if the copy throws an exception, and don't crash if the length is absurdly large. Use "tvb_memdup()" instead of allocating a buffer and "tvb_memcpy()"ing to it, so that an exception is thrown before you try to allocate the buffer (for the same reasons as listed above). Before allocating a buffer used when processing a chunk of data from a packet, get a pointer to the chunk with "tvb_get_ptr()", or check that the data is all there with "tvb_ensure_bytes_exist()", so that an exception is thrown before you try to allocate the buffer (for the same reasons as listed above). Fix up the lengths of the tvbuff used when dissecting ONC RPC opaque data with a particular dissector. svn path=/trunk/; revision=10236
2004-01-29From Shinsuke Suzuki:Guy Harris1-9/+9
- updated the IETF spec names - changed Prefix-Delegation related DHCPv6 option numbers from temporary one to the official one - fixed typo in DHCPv6 message type svn path=/trunk/; revision=9901
2003-10-17From Shinsuke Suzuki:Guy Harris1-20/+30
- support RFC3319 - update the RFC/i-d name - change the DHCPv6 option numbers to catch up with the latest IANA's assignment status svn path=/trunk/; revision=8727
2003-08-18From Tony Lindstrom: updates of DHCPV6 dissector toGuy Harris1-110/+264
draft-ietf-dhc-dhcpv6-28, draft-ietf-dhc-dhcpv6-opt-prefix-delegation-04, and draft-ietf-dhc-dhcpv6-opt-dnsconfig-03, and addition of NIS and time configuration option drafts draft-ietf-dhc-dhcpv6-opt-nisconfig-02 and draft-ietf-dhc-dhcpv6-opt-timeconfig-02. svn path=/trunk/; revision=8182
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-14/+14
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-5/+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-06-26From Tsutomu Mieno and Yasuhiro Shirasaki: update the DHCPv6 support toGuy Harris1-27/+398
match the following latest drafts: o draft-ietf-dhc-dhcpv6-26.txt o draft-troan-dhcpv6-opt-prefix-delegation-01.txt o draft-ietf-dhc-dhcpv6-opt-dnsconfig-02.txt svn path=/trunk/; revision=5765
2002-01-24Replace a bunch of "tvb_length()" and "tvb_length_remaining()" calls inGuy Harris1-3/+2
arguments to "proto_tree_add_text()", and to "proto_tree_add_XXX()" calls that add FT_NONE or FT_PROTO items to the protocol tree, with -1. Replace some calls to "tvb_length()" or "tvb_length_remaining()" with calls to "tvb_reported_length()" and "tvb_reported_length_remaining()", as those give the actual length of the data in the packet, not just the data that happened to be captured. svn path=/trunk/; revision=4605
2002-01-21Include files from the "epan" directory and subdirectories thereof withGuy Harris1-4/+4
"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
2002-01-11"void" values cannot be returned, even by a "void" function.Guy Harris1-4/+5
The "downstream" flag is a Boolean; treat it as such. svn path=/trunk/; revision=4528
2002-01-09DHCPv6 dissector, based on draft-ietf-dhc-dhcpv6-22.txt.Jun-ichiro itojun Hagino1-0/+268
note that protocol constants are subject to change. (packet format is also subject to change. but 22 draft should go to wg last call very soon, and I really hope it to be the final one...) svn path=/trunk/; revision=4504