Blame view

include/net/smc.h 440 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
f16a7dd5c   Ursula Braun   smc: netlink inte...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  /*
   *  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 */