aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r--include/linux/socket.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h
index 20fc4bbfca42..421afb4d29b0 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -24,10 +24,12 @@ struct __kernel_sockaddr_storage {
24#include <linux/types.h> /* pid_t */ 24#include <linux/types.h> /* pid_t */
25#include <linux/compiler.h> /* __user */ 25#include <linux/compiler.h> /* __user */
26 26
27#ifdef CONFIG_PROC_FS 27#ifdef __KERNEL__
28# ifdef CONFIG_PROC_FS
28struct seq_file; 29struct seq_file;
29extern void socket_seq_show(struct seq_file *seq); 30extern void socket_seq_show(struct seq_file *seq);
30#endif 31# endif
32#endif /* __KERNEL__ */
31 33
32typedef unsigned short sa_family_t; 34typedef unsigned short sa_family_t;
33 35
@@ -179,6 +181,7 @@ struct ucred {
179#define AF_ASH 18 /* Ash */ 181#define AF_ASH 18 /* Ash */
180#define AF_ECONET 19 /* Acorn Econet */ 182#define AF_ECONET 19 /* Acorn Econet */
181#define AF_ATMSVC 20 /* ATM SVCs */ 183#define AF_ATMSVC 20 /* ATM SVCs */
184#define AF_RDS 21 /* RDS sockets */
182#define AF_SNA 22 /* Linux SNA Project (nutters!) */ 185#define AF_SNA 22 /* Linux SNA Project (nutters!) */
183#define AF_IRDA 23 /* IRDA sockets */ 186#define AF_IRDA 23 /* IRDA sockets */
184#define AF_PPPOX 24 /* PPPoX sockets */ 187#define AF_PPPOX 24 /* PPPoX sockets */
@@ -217,6 +220,7 @@ struct ucred {
217#define PF_ASH AF_ASH 220#define PF_ASH AF_ASH
218#define PF_ECONET AF_ECONET 221#define PF_ECONET AF_ECONET
219#define PF_ATMSVC AF_ATMSVC 222#define PF_ATMSVC AF_ATMSVC
223#define PF_RDS AF_RDS
220#define PF_SNA AF_SNA 224#define PF_SNA AF_SNA
221#define PF_IRDA AF_IRDA 225#define PF_IRDA AF_IRDA
222#define PF_PPPOX AF_PPPOX 226#define PF_PPPOX AF_PPPOX
@@ -298,6 +302,7 @@ struct ucred {
298#define SOL_PPPOL2TP 273 302#define SOL_PPPOL2TP 273
299#define SOL_BLUETOOTH 274 303#define SOL_BLUETOOTH 274
300#define SOL_PNPIPE 275 304#define SOL_PNPIPE 275
305#define SOL_RDS 276
301 306
302/* IPX options */ 307/* IPX options */
303#define IPX_TYPE 1 308#define IPX_TYPE 1