• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI_LINUX_SOCKET_H
7 #define _UAPI_LINUX_SOCKET_H
8 #define _K_SS_MAXSIZE	128
9 #define _K_SS_ALIGNSIZE	(__alignof__ (struct sockaddr *))
10 
11 typedef unsigned short __kernel_sa_family_t;
12 struct sockaddr_storage {
13 	__kernel_sa_family_t	ss_family;
14 
15 	char		__data[_K_SS_MAXSIZE - sizeof(unsigned short)];
16 
17 
18 } __attribute__ ((aligned(_K_SS_ALIGNSIZE)));
19 #endif
20