00001 /* 00002 * Copyright (c) 2001 University of Southern California. 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms are permitted 00006 * provided that the above copyright notice and this paragraph are 00007 * duplicated in all such forms and that any documentation, advertising 00008 * materials, and other materials related to such distribution and use 00009 * acknowledge that the software was developed by the University of 00010 * Southern California, Information Sciences Institute. The name of the 00011 * University may not be used to endorse or promote products derived from 00012 * this software without specific prior written permission. 00013 * 00014 * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED 00015 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 00016 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00017 * 00018 ** 00019 * Quick Start for TCP and IP. 00020 * A scheme for transport protocols to dynamically determine initial 00021 * congestion window size. 00022 * 00023 * http://www.ietf.org/internet-drafts/draft-amit-quick-start-02.ps 00024 * 00025 * Packet header definition for Quick Start implementation 00026 * hdr_qs.h 00027 * 00028 * Srikanth Sundarrajan, 2002 00029 * sundarra@usc.edu 00030 */ 00031 00032 #include <stdio.h> 00033 #include "hdr_qs.h" 00034 00035 int hdr_qs::offset_; 00036 00037 static class QSHeaderClass : public PacketHeaderClass { 00038 public: 00039 QSHeaderClass() : PacketHeaderClass("PacketHeader/TCP_QS", sizeof(hdr_qs)) { 00040 bind_offset(&hdr_qs::offset_); 00041 } 00042 00043 } class_QShdr;
1.3.3