freebsd-nq/sys/ofed/include/rdma/sdp_socket.h
Jeff Roberson 863c7e4562 - Reserve a special AF for SDP. The one we were incorrectly using before
was taken by another AF.

Sponsored by:	EMC / Isilon Storage Division
2013-08-09 03:26:17 +00:00

24 lines
368 B
C

/* Stuff that should go into include/linux/socket.h */
#ifndef SDP_SOCKET_H
#define SDP_SOCKET_H
#ifndef __FreeBSD__
#ifndef AF_INET_SDP
#define AF_INET_SDP 27
#define PF_INET_SDP AF_INET_SDP
#endif
#endif
#ifndef SDP_ZCOPY_THRESH
#define SDP_ZCOPY_THRESH 80
#endif
#ifndef SDP_LAST_BIND_ERR
#define SDP_LAST_BIND_ERR 81
#endif
/* TODO: AF_INET6_SDP ? */
#endif