Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET.

Pointed out by:	ae@
This commit is contained in:
Dmitry Chagin 2016-03-27 10:09:10 +00:00
parent 9a8e308861
commit 7c5982000d
4 changed files with 0 additions and 5 deletions

View File

@ -404,7 +404,6 @@ struct l_ipc_perm {
#define LINUX_SOL_SOCKET 1
#define LINUX_SOL_IP 0
#define LINUX_SOL_IPV6 41
#define LINUX_SOL_IPX 256
#define LINUX_SOL_AX25 257
#define LINUX_SOL_TCP 6

View File

@ -494,7 +494,6 @@ struct l_ipc_perm {
*/
#define LINUX_SOL_SOCKET 1
#define LINUX_SOL_IP 0
#define LINUX_SOL_IPV6 41
#define LINUX_SOL_IPX 256
#define LINUX_SOL_AX25 257
#define LINUX_SOL_TCP 6

View File

@ -246,8 +246,6 @@ linux_to_bsd_sockopt_level(int level)
switch (level) {
case LINUX_SOL_SOCKET:
return (SOL_SOCKET);
case LINUX_SOL_IPV6:
return (IPPROTO_IPV6);
}
return (level);
}

View File

@ -473,7 +473,6 @@ struct l_ipc_perm {
*/
#define LINUX_SOL_SOCKET 1
#define LINUX_SOL_IP 0
#define LINUX_SOL_IPV6 41
#define LINUX_SOL_IPX 256
#define LINUX_SOL_AX25 257
#define LINUX_SOL_TCP 6