summaryrefslogtreecommitdiff
path: root/net/smc/smc.h
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2017-01-09 16:55:26 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-09 16:07:41 -0500
commitf16a7dd5cf27eeda187425c9c7d96802a549f9c4 (patch)
tree0f7b7f3986f6d5d17fdda7af266d09a8f7882e03 /net/smc/smc.h
parentb38d732477e4211351b2680e805d944f66bceec9 (diff)
smc: netlink interface for SMC sockets
Support for SMC socket monitoring via netlink sockets of protocol NETLINK_SOCK_DIAG. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc.h')
-rw-r--r--net/smc/smc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/smc/smc.h b/net/smc/smc.h
index 959a5d2014ab..ee5fbea24549 100644
--- a/net/smc/smc.h
+++ b/net/smc/smc.h
@@ -21,6 +21,8 @@
#define SMC_MAX_PORTS 2 /* Max # of ports */
+extern struct proto smc_proto;
+
#ifdef ATOMIC64_INIT
#define KERNEL_HAS_ATOMIC64
#endif