Skip to content

Commit

Permalink
net: Define SCM_TIMESTAMPING_PKTINFO on all architectures.
Browse files Browse the repository at this point in the history
A definition was only provided for asm-generic/socket.h
using platforms, define it for the others as well

Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed May 22, 2017
1 parent 4ab6887 commit 1c4f676
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/alpha/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,6 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _UAPI_ASM_SOCKET_H */
2 changes: 2 additions & 0 deletions arch/frv/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,7 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _ASM_SOCKET_H */

2 changes: 2 additions & 0 deletions arch/ia64/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,6 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _ASM_IA64_SOCKET_H */
2 changes: 2 additions & 0 deletions arch/m32r/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,6 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _ASM_M32R_SOCKET_H */
2 changes: 2 additions & 0 deletions arch/mips/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,6 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _UAPI_ASM_SOCKET_H */
2 changes: 2 additions & 0 deletions arch/mn10300/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,6 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _ASM_SOCKET_H */
2 changes: 2 additions & 0 deletions arch/parisc/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,6 @@

#define SO_COOKIE 0x4032

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _UAPI_ASM_SOCKET_H */
2 changes: 2 additions & 0 deletions arch/powerpc/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,6 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _ASM_POWERPC_SOCKET_H */
2 changes: 2 additions & 0 deletions arch/s390/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,6 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _ASM_SOCKET_H */
2 changes: 2 additions & 0 deletions arch/sparc/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@

#define SO_COOKIE 0x003b

#define SCM_TIMESTAMPING_PKTINFO 0x003c

/* Security levels - as per NRL IPv6 - don't actually do anything */
#define SO_SECURITY_AUTHENTICATION 0x5001
#define SO_SECURITY_ENCRYPTION_TRANSPORT 0x5002
Expand Down
2 changes: 2 additions & 0 deletions arch/xtensa/include/uapi/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,6 @@

#define SO_COOKIE 57

#define SCM_TIMESTAMPING_PKTINFO 58

#endif /* _XTENSA_SOCKET_H */

0 comments on commit 1c4f676

Please sign in to comment.