[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120815162214.7598.44496.stgit@localhost.localdomain>
Date: Wed, 15 Aug 2012 20:22:14 +0400
From: Stanislav Kinsbursky <skinsbursky@...allels.com>
To: tglx@...utronix.de, mingo@...hat.com, davem@...emloft.net,
hpa@...or.com
Cc: thierry.reding@...onic-design.de, bfields@...hat.com,
eric.dumazet@...il.com, xemul@...allels.com, neilb@...e.de,
netdev@...r.kernel.org, x86@...nel.org,
linux-kernel@...r.kernel.org, paul.gortmaker@...driver.com,
viro@...iv.linux.org.uk, gorcunov@...nvz.org,
akpm@...ux-foundation.org, tim.c.chen@...ux.intel.com,
devel@...nvz.org, ebiederm@...ssion.com
Subject: [RFC PATCH 3/5] net: new protocol operation fbind() introduced
This operation is used to bind socket to specified file.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@...allels.com>
---
include/linux/net.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/net.h b/include/linux/net.h
index e9ac2df..843cb75 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -157,6 +157,7 @@ struct kiocb;
struct sockaddr;
struct msghdr;
struct module;
+struct path;
struct proto_ops {
int family;
@@ -165,6 +166,7 @@ struct proto_ops {
int (*bind) (struct socket *sock,
struct sockaddr *myaddr,
int sockaddr_len);
+ int (*fbind) (struct file *file, struct socket *sock);
int (*connect) (struct socket *sock,
struct sockaddr *vaddr,
int sockaddr_len, int flags);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists