[openib-general] SDP socket address family
Yaron Haviv
yaronh at voltaire.com
Thu Oct 14 15:17:09 PDT 2004
There seems to be a conflict between the currently used SDP socket address family number (26) and the current linux kernel. Linux allocates this address family number (26) for 'LLC' protocol.
Any ideas if we should change it from 26, and to what ?
Below are some related header-file snippets:
SuSE-9.1 /usr/include/linux/socket.h:
-------------------------------------------------------------------
#define AF_IRDA 23 /* IRDA sockets */
#define AF_PPPOX 24 /* PPPoX sockets */
#define AF_WANPIPE 25 /* Wanpipe API Sockets */
#define AF_LLC 26 /* Linux LLC */
#define AF_BLUETOOTH 31 /* Bluetooth sockets */
#define AF_MAX 32 /* For now.. */
Voltaire's sdp/sdp-sockets/sdp-sockets.h:
-------------------------------------------------------------------
# define AF_IBT 26
TopSpin's infiniband/ulp/sdp/sdp_inet.h:
-------------------------------------------------------------------
/*
* constants shared between user and kernel space.
*/
#define AF_INET_SDP 26 /* SDP socket protocol family */
#define AF_INET_STR "AF_INET_SDP" /* SDP enabled enviroment variable */
Yaron
More information about the general
mailing list