13b4e3dcbSSimon L. B. Nielsen /* apps/timeouts.h */ 23b4e3dcbSSimon L. B. Nielsen /* 33b4e3dcbSSimon L. B. Nielsen * DTLS implementation written by Nagendra Modadugu 43b4e3dcbSSimon L. B. Nielsen * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 53b4e3dcbSSimon L. B. Nielsen */ 63b4e3dcbSSimon L. B. Nielsen /* ==================================================================== 73b4e3dcbSSimon L. B. Nielsen * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved. 83b4e3dcbSSimon L. B. Nielsen * 93b4e3dcbSSimon L. B. Nielsen * Redistribution and use in source and binary forms, with or without 103b4e3dcbSSimon L. B. Nielsen * modification, are permitted provided that the following conditions 113b4e3dcbSSimon L. B. Nielsen * are met: 123b4e3dcbSSimon L. B. Nielsen * 133b4e3dcbSSimon L. B. Nielsen * 1. Redistributions of source code must retain the above copyright 143b4e3dcbSSimon L. B. Nielsen * notice, this list of conditions and the following disclaimer. 153b4e3dcbSSimon L. B. Nielsen * 163b4e3dcbSSimon L. B. Nielsen * 2. Redistributions in binary form must reproduce the above copyright 173b4e3dcbSSimon L. B. Nielsen * notice, this list of conditions and the following disclaimer in 183b4e3dcbSSimon L. B. Nielsen * the documentation and/or other materials provided with the 193b4e3dcbSSimon L. B. Nielsen * distribution. 203b4e3dcbSSimon L. B. Nielsen * 213b4e3dcbSSimon L. B. Nielsen * 3. All advertising materials mentioning features or use of this 223b4e3dcbSSimon L. B. Nielsen * software must display the following acknowledgment: 233b4e3dcbSSimon L. B. Nielsen * "This product includes software developed by the OpenSSL Project 243b4e3dcbSSimon L. B. Nielsen * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 253b4e3dcbSSimon L. B. Nielsen * 263b4e3dcbSSimon L. B. Nielsen * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 273b4e3dcbSSimon L. B. Nielsen * endorse or promote products derived from this software without 283b4e3dcbSSimon L. B. Nielsen * prior written permission. For written permission, please contact 293b4e3dcbSSimon L. B. Nielsen * openssl-core@OpenSSL.org. 303b4e3dcbSSimon L. B. Nielsen * 313b4e3dcbSSimon L. B. Nielsen * 5. Products derived from this software may not be called "OpenSSL" 323b4e3dcbSSimon L. B. Nielsen * nor may "OpenSSL" appear in their names without prior written 333b4e3dcbSSimon L. B. Nielsen * permission of the OpenSSL Project. 343b4e3dcbSSimon L. B. Nielsen * 353b4e3dcbSSimon L. B. Nielsen * 6. Redistributions of any form whatsoever must retain the following 363b4e3dcbSSimon L. B. Nielsen * acknowledgment: 373b4e3dcbSSimon L. B. Nielsen * "This product includes software developed by the OpenSSL Project 383b4e3dcbSSimon L. B. Nielsen * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 393b4e3dcbSSimon L. B. Nielsen * 403b4e3dcbSSimon L. B. Nielsen * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 413b4e3dcbSSimon L. B. Nielsen * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 423b4e3dcbSSimon L. B. Nielsen * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 433b4e3dcbSSimon L. B. Nielsen * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 443b4e3dcbSSimon L. B. Nielsen * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 453b4e3dcbSSimon L. B. Nielsen * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 463b4e3dcbSSimon L. B. Nielsen * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 473b4e3dcbSSimon L. B. Nielsen * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 483b4e3dcbSSimon L. B. Nielsen * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 493b4e3dcbSSimon L. B. Nielsen * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 503b4e3dcbSSimon L. B. Nielsen * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 513b4e3dcbSSimon L. B. Nielsen * OF THE POSSIBILITY OF SUCH DAMAGE. 523b4e3dcbSSimon L. B. Nielsen * ==================================================================== 533b4e3dcbSSimon L. B. Nielsen * 543b4e3dcbSSimon L. B. Nielsen * This product includes cryptographic software written by Eric Young 553b4e3dcbSSimon L. B. Nielsen * (eay@cryptsoft.com). This product includes software written by Tim 563b4e3dcbSSimon L. B. Nielsen * Hudson (tjh@cryptsoft.com). 573b4e3dcbSSimon L. B. Nielsen * 583b4e3dcbSSimon L. B. Nielsen */ 593b4e3dcbSSimon L. B. Nielsen 603b4e3dcbSSimon L. B. Nielsen #ifndef INCLUDED_TIMEOUTS_H 613b4e3dcbSSimon L. B. Nielsen #define INCLUDED_TIMEOUTS_H 623b4e3dcbSSimon L. B. Nielsen 633b4e3dcbSSimon L. B. Nielsen /* numbers in us */ 643b4e3dcbSSimon L. B. Nielsen #define DGRAM_RCV_TIMEOUT 250000 653b4e3dcbSSimon L. B. Nielsen #define DGRAM_SND_TIMEOUT 250000 663b4e3dcbSSimon L. B. Nielsen 673b4e3dcbSSimon L. B. Nielsen #endif /* ! INCLUDED_TIMEOUTS_H */ 68