4
* Copyright (C) 2009 iptelorg GmbH
6
* Permission to use, copy, modify, and distribute this software for any
7
* purpose with or without fee is hereby granted, provided that the above
8
* copyright notice and this permission notice appear in all copies.
10
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19
* sctp_sockopts.h - portability fixes / compatibility defines for some
25
* 2009-11-12 initial version (andrei)
28
#ifndef __sctp_sockopts_h
29
#define __sctp_sockopts_h
31
#include <netinet/sctp.h>
33
#ifndef SCTP_DELAYED_SACK
34
#ifdef SCTP_DELAYED_ACK
35
/* on linux lksctp/libsctp <= 1.0.11 (and possible future versions)
36
* SCTP_DELAYED_ACK is used instead of SCTP_DELAYED_SACK (typo?)
38
#define SCTP_DELAYED_SACK SCTP_DELAYED_ACK
39
#endif /* SCTP_DELAYED_ACK */
40
#endif /* SCTP_DELAYED_SACK */
42
#endif /*__sctp_sockopts_h*/
44
/* vi: set ts=4 sw=4 tw=79:ai:cindent: */