xref: /dflybsd-src/crypto/libressl/apps/openssl/timeouts.h (revision f5b1c8a1e6dbe9333aed363dba27c2ff58be6174)
1*f5b1c8a1SJohn Marino /* $OpenBSD: timeouts.h,v 1.3 2014/06/12 15:49:27 deraadt Exp $ */
2*f5b1c8a1SJohn Marino /*
3*f5b1c8a1SJohn Marino  * DTLS implementation written by Nagendra Modadugu
4*f5b1c8a1SJohn Marino  * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
5*f5b1c8a1SJohn Marino  */
6*f5b1c8a1SJohn Marino /* ====================================================================
7*f5b1c8a1SJohn Marino  * Copyright (c) 1999-2005 The OpenSSL Project.  All rights reserved.
8*f5b1c8a1SJohn Marino  *
9*f5b1c8a1SJohn Marino  * Redistribution and use in source and binary forms, with or without
10*f5b1c8a1SJohn Marino  * modification, are permitted provided that the following conditions
11*f5b1c8a1SJohn Marino  * are met:
12*f5b1c8a1SJohn Marino  *
13*f5b1c8a1SJohn Marino  * 1. Redistributions of source code must retain the above copyright
14*f5b1c8a1SJohn Marino  *    notice, this list of conditions and the following disclaimer.
15*f5b1c8a1SJohn Marino  *
16*f5b1c8a1SJohn Marino  * 2. Redistributions in binary form must reproduce the above copyright
17*f5b1c8a1SJohn Marino  *    notice, this list of conditions and the following disclaimer in
18*f5b1c8a1SJohn Marino  *    the documentation and/or other materials provided with the
19*f5b1c8a1SJohn Marino  *    distribution.
20*f5b1c8a1SJohn Marino  *
21*f5b1c8a1SJohn Marino  * 3. All advertising materials mentioning features or use of this
22*f5b1c8a1SJohn Marino  *    software must display the following acknowledgment:
23*f5b1c8a1SJohn Marino  *    "This product includes software developed by the OpenSSL Project
24*f5b1c8a1SJohn Marino  *    for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
25*f5b1c8a1SJohn Marino  *
26*f5b1c8a1SJohn Marino  * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
27*f5b1c8a1SJohn Marino  *    endorse or promote products derived from this software without
28*f5b1c8a1SJohn Marino  *    prior written permission. For written permission, please contact
29*f5b1c8a1SJohn Marino  *    openssl-core@OpenSSL.org.
30*f5b1c8a1SJohn Marino  *
31*f5b1c8a1SJohn Marino  * 5. Products derived from this software may not be called "OpenSSL"
32*f5b1c8a1SJohn Marino  *    nor may "OpenSSL" appear in their names without prior written
33*f5b1c8a1SJohn Marino  *    permission of the OpenSSL Project.
34*f5b1c8a1SJohn Marino  *
35*f5b1c8a1SJohn Marino  * 6. Redistributions of any form whatsoever must retain the following
36*f5b1c8a1SJohn Marino  *    acknowledgment:
37*f5b1c8a1SJohn Marino  *    "This product includes software developed by the OpenSSL Project
38*f5b1c8a1SJohn Marino  *    for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
39*f5b1c8a1SJohn Marino  *
40*f5b1c8a1SJohn Marino  * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
41*f5b1c8a1SJohn Marino  * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
42*f5b1c8a1SJohn Marino  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
43*f5b1c8a1SJohn Marino  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
44*f5b1c8a1SJohn Marino  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
45*f5b1c8a1SJohn Marino  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
46*f5b1c8a1SJohn Marino  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
47*f5b1c8a1SJohn Marino  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
48*f5b1c8a1SJohn Marino  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
49*f5b1c8a1SJohn Marino  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
50*f5b1c8a1SJohn Marino  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51*f5b1c8a1SJohn Marino  * OF THE POSSIBILITY OF SUCH DAMAGE.
52*f5b1c8a1SJohn Marino  * ====================================================================
53*f5b1c8a1SJohn Marino  *
54*f5b1c8a1SJohn Marino  * This product includes cryptographic software written by Eric Young
55*f5b1c8a1SJohn Marino  * (eay@cryptsoft.com).  This product includes software written by Tim
56*f5b1c8a1SJohn Marino  * Hudson (tjh@cryptsoft.com).
57*f5b1c8a1SJohn Marino  *
58*f5b1c8a1SJohn Marino  */
59*f5b1c8a1SJohn Marino 
60*f5b1c8a1SJohn Marino #ifndef INCLUDED_TIMEOUTS_H
61*f5b1c8a1SJohn Marino #define INCLUDED_TIMEOUTS_H
62*f5b1c8a1SJohn Marino 
63*f5b1c8a1SJohn Marino /* numbers in us */
64*f5b1c8a1SJohn Marino #define DGRAM_RCV_TIMEOUT         250000
65*f5b1c8a1SJohn Marino #define DGRAM_SND_TIMEOUT         250000
66*f5b1c8a1SJohn Marino 
67*f5b1c8a1SJohn Marino #endif /* ! INCLUDED_TIMEOUTS_H */
68