diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-24 18:30:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-24 18:30:27 -0400 |
commit | 7a6adb92fe301c10ca4dbd0d9f2422f5880595e7 (patch) | |
tree | b2b82f828a6eeaa788ee1d378d45e612e4a6d527 /include/net/ip.h | |
parent | f2c4802b3fdfb0d9596d932ca2af0ef6f8d60491 (diff) |
[NETNS]: Add namespace parameter to ip_cmsg_send.
Pass the init_net there for now.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r-- | include/net/ip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index 531270dc48a6..6d7bcd5e62d4 100644 --- a/include/net/ip.h +++ b/include/net/ip.h | |||
@@ -362,7 +362,8 @@ extern int ip_options_rcv_srr(struct sk_buff *skb); | |||
362 | */ | 362 | */ |
363 | 363 | ||
364 | extern void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb); | 364 | extern void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb); |
365 | extern int ip_cmsg_send(struct msghdr *msg, struct ipcm_cookie *ipc); | 365 | extern int ip_cmsg_send(struct net *net, |
366 | struct msghdr *msg, struct ipcm_cookie *ipc); | ||
366 | extern int ip_setsockopt(struct sock *sk, int level, int optname, char __user *optval, int optlen); | 367 | extern int ip_setsockopt(struct sock *sk, int level, int optname, char __user *optval, int optlen); |
367 | extern int ip_getsockopt(struct sock *sk, int level, int optname, char __user *optval, int __user *optlen); | 368 | extern int ip_getsockopt(struct sock *sk, int level, int optname, char __user *optval, int __user *optlen); |
368 | extern int compat_ip_setsockopt(struct sock *sk, int level, | 369 | extern int compat_ip_setsockopt(struct sock *sk, int level, |