2 This software is available to you under a choice of one of two
3 licenses. You may choose to be licensed under the terms of the GNU
4 General Public License (GPL) Version 2, available at
5 <http://www.fsf.org/copyleft/gpl.html>, or the OpenIB.org BSD
6 license, available in the LICENSE.TXT file accompanying this
7 software. These details are also available at
8 <http://openib.org/license.html>.
10 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
11 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
12 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
13 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
14 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
15 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
16 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 Copyright (c) 2004 Topspin Communications. All rights reserved.
28 * constants shared between user and kernel space.
33 #include <sys/socket.h>
35 #define AF_INET_SDP 27 /* SDP socket protocol family */
36 #define AF_INET6_SDP 28 /* SDP socket protocol family */
39 #define AF_INET_SDP 31 /* This is an invalid family on native solaris
40 * and will only work using QuickTransit */
41 //TODO XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
42 #define AF_INET6_SDP 32 /* SDP socket protocol family */
45 #define AF_INET_STR "AF_INET_SDP" /* SDP enabled environment variable */
46 #define AF_INET6_STR "AF_INET6_SDP" /* SDP enabled environment variable */
48 #ifndef SDP_ZCOPY_THRESH
49 #define SDP_ZCOPY_THRESH 80
52 #ifndef SDP_LAST_BIND_ERR
53 #define SDP_LAST_BIND_ERR 81
56 #endif /* _SDP_INET_H */