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>
This commit is contained in:
committed by
David S. Miller
parent
b38d732477
commit
f16a7dd5cf
20
include/net/smc.h
Normal file
20
include/net/smc.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Shared Memory Communications over RDMA (SMC-R) and RoCE
|
||||
*
|
||||
* Definitions for the SMC module (socket related)
|
||||
*
|
||||
* Copyright IBM Corp. 2016
|
||||
*
|
||||
* Author(s): Ursula Braun <ubraun@linux.vnet.ibm.com>
|
||||
*/
|
||||
#ifndef _SMC_H
|
||||
#define _SMC_H
|
||||
|
||||
struct smc_hashinfo {
|
||||
rwlock_t lock;
|
||||
struct hlist_head ht;
|
||||
};
|
||||
|
||||
int smc_hash_sk(struct sock *sk);
|
||||
void smc_unhash_sk(struct sock *sk);
|
||||
#endif /* _SMC_H */
|
||||
Reference in New Issue
Block a user