Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

hdr-ls.cc

Go to the documentation of this file.
00001 // Copyright (c) 2000 by the University of Southern California
00002 // All rights reserved.
00003 //
00004 // Permission to use, copy, modify, and distribute this software and its
00005 // documentation in source and binary forms for non-commercial purposes
00006 // and without fee is hereby granted, provided that the above copyright
00007 // notice appear in all copies and that both the copyright notice and
00008 // this permission notice appear in supporting documentation. and that
00009 // any documentation, advertising materials, and other materials related
00010 // to such distribution and use acknowledge that the software was
00011 // developed by the University of Southern California, Information
00012 // Sciences Institute.  The name of the University may not be used to
00013 // endorse or promote products derived from this software without
00014 // specific prior written permission.
00015 //
00016 // THE UNIVERSITY OF SOUTHERN CALIFORNIA makes no representations about
00017 // the suitability of this software for any purpose.  THIS SOFTWARE IS
00018 // PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,
00019 // INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
00020 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00021 //
00022 // Other copyrights might apply to parts of this software and are so
00023 // noted when applicable.
00024 //
00025 //  Copyright (C) 1998 by Mingzhou Sun. All rights reserved.
00026 //  This software is developed at Rensselaer Polytechnic Institute under 
00027 //  DARPA grant No. F30602-97-C-0274
00028 //  Redistribution and use in source and binary forms are permitted
00029 //  provided that the above copyright notice and this paragraph are
00030 //  duplicated in all such forms and that any documentation, advertising
00031 //  materials, and other materials related to such distribution and use
00032 //  acknowledge that the software was developed by Mingzhou Sun at the
00033 //  Rensselaer  Polytechnic Institute.  The name of the University may not 
00034 //  be used to endorse or promote products derived from this software 
00035 //  without specific prior written permission.
00036 //
00037 // $Header: /nfs/jade/vint/CVSROOT/ns-2/linkstate/hdr-ls.cc,v 1.1 2000/08/18 18:34:03 haoboy Exp $
00038 
00039 #include "packet.h"
00040 #include "hdr-ls.h"
00041 
00042 int hdr_LS::offset_;
00043 
00044 static class rtLSHeaderClass : public PacketHeaderClass {
00045 public:
00046         rtLSHeaderClass() : PacketHeaderClass("PacketHeader/rtProtoLS",
00047                                               sizeof(hdr_LS)) { 
00048                 bind_offset(&hdr_LS::offset_);
00049         } 
00050 } class_rtProtoLS_hdr;

Generated on Tue Apr 20 12:14:19 2004 for NS2.26SourcesOriginal by doxygen 1.3.3