xref: /trueos/sys/ofed/include/rdma/sdp_socket.h (revision 9394ef331eb7d0ba7f22583970cc84b62ad9f19a)
1 /* Stuff that should go into include/linux/socket.h */
2 
3 #ifndef SDP_SOCKET_H
4 #define SDP_SOCKET_H
5 
6 #ifndef __FreeBSD__
7 #ifndef AF_INET_SDP
8 #define AF_INET_SDP 27
9 #define PF_INET_SDP AF_INET_SDP
10 #endif
11 #endif
12 
13 #ifndef SDP_ZCOPY_THRESH
14 #define SDP_ZCOPY_THRESH 80
15 #endif
16 
17 #ifndef SDP_LAST_BIND_ERR
18 #define SDP_LAST_BIND_ERR 81
19 #endif
20 
21 /* TODO: AF_INET6_SDP ? */
22 
23 #endif
24