Commit 1c4f676a authored by David S. Miller's avatar David S. Miller

net: Define SCM_TIMESTAMPING_PKTINFO on all architectures.

A definition was only provided for asm-generic/socket.h
using platforms, define it for the others as well
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4ab68879
...@@ -105,4 +105,6 @@ ...@@ -105,4 +105,6 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _UAPI_ASM_SOCKET_H */ #endif /* _UAPI_ASM_SOCKET_H */
...@@ -98,5 +98,7 @@ ...@@ -98,5 +98,7 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _ASM_SOCKET_H */ #endif /* _ASM_SOCKET_H */
...@@ -107,4 +107,6 @@ ...@@ -107,4 +107,6 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _ASM_IA64_SOCKET_H */ #endif /* _ASM_IA64_SOCKET_H */
...@@ -98,4 +98,6 @@ ...@@ -98,4 +98,6 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _ASM_M32R_SOCKET_H */ #endif /* _ASM_M32R_SOCKET_H */
...@@ -116,4 +116,6 @@ ...@@ -116,4 +116,6 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _UAPI_ASM_SOCKET_H */ #endif /* _UAPI_ASM_SOCKET_H */
...@@ -98,4 +98,6 @@ ...@@ -98,4 +98,6 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _ASM_SOCKET_H */ #endif /* _ASM_SOCKET_H */
...@@ -97,4 +97,6 @@ ...@@ -97,4 +97,6 @@
#define SO_COOKIE 0x4032 #define SO_COOKIE 0x4032
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _UAPI_ASM_SOCKET_H */ #endif /* _UAPI_ASM_SOCKET_H */
...@@ -105,4 +105,6 @@ ...@@ -105,4 +105,6 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _ASM_POWERPC_SOCKET_H */ #endif /* _ASM_POWERPC_SOCKET_H */
...@@ -104,4 +104,6 @@ ...@@ -104,4 +104,6 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _ASM_SOCKET_H */ #endif /* _ASM_SOCKET_H */
...@@ -94,6 +94,8 @@ ...@@ -94,6 +94,8 @@
#define SO_COOKIE 0x003b #define SO_COOKIE 0x003b
#define SCM_TIMESTAMPING_PKTINFO 0x003c
/* Security levels - as per NRL IPv6 - don't actually do anything */ /* Security levels - as per NRL IPv6 - don't actually do anything */
#define SO_SECURITY_AUTHENTICATION 0x5001 #define SO_SECURITY_AUTHENTICATION 0x5001
#define SO_SECURITY_ENCRYPTION_TRANSPORT 0x5002 #define SO_SECURITY_ENCRYPTION_TRANSPORT 0x5002
......
...@@ -109,4 +109,6 @@ ...@@ -109,4 +109,6 @@
#define SO_COOKIE 57 #define SO_COOKIE 57
#define SCM_TIMESTAMPING_PKTINFO 58
#endif /* _XTENSA_SOCKET_H */ #endif /* _XTENSA_SOCKET_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment