diff options
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 94de83c0f877..b29923006b11 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -42,6 +42,7 @@ | |||
42 | #define SYS_RECVMSG 17 /* sys_recvmsg(2) */ | 42 | #define SYS_RECVMSG 17 /* sys_recvmsg(2) */ |
43 | #define SYS_ACCEPT4 18 /* sys_accept4(2) */ | 43 | #define SYS_ACCEPT4 18 /* sys_accept4(2) */ |
44 | #define SYS_RECVMMSG 19 /* sys_recvmmsg(2) */ | 44 | #define SYS_RECVMMSG 19 /* sys_recvmmsg(2) */ |
45 | #define SYS_SENDMMSG 20 /* sys_sendmmsg(2) */ | ||
45 | 46 | ||
46 | typedef enum { | 47 | typedef enum { |
47 | SS_FREE = 0, /* not allocated */ | 48 | SS_FREE = 0, /* not allocated */ |
@@ -288,11 +289,5 @@ extern int kernel_sock_shutdown(struct socket *sock, | |||
288 | MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \ | 289 | MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \ |
289 | "-type-" __stringify(type)) | 290 | "-type-" __stringify(type)) |
290 | 291 | ||
291 | #ifdef CONFIG_SYSCTL | ||
292 | #include <linux/sysctl.h> | ||
293 | #include <linux/ratelimit.h> | ||
294 | extern struct ratelimit_state net_ratelimit_state; | ||
295 | #endif | ||
296 | |||
297 | #endif /* __KERNEL__ */ | 292 | #endif /* __KERNEL__ */ |
298 | #endif /* _LINUX_NET_H */ | 293 | #endif /* _LINUX_NET_H */ |