summaryrefslogtreecommitdiff
path: root/include/net/smc.h
blob: 12d26358ad9fb07cdd07c173e7d10ca7b43738cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 */
et-next.git/commit/net/atm?id=c1b0789271b13dd7561f78370122c3183cd74ab0'>c1b0789271b13dd7561f78370122c3183cd74ab0 (patch) treef4eda3db7bd1b059de81cd4bec7fbb871661dbe2 /net/atm parent69973b830859bc6529a7a0468ba0d80ee5117826 (diff)parent618c808968852609d2d9f0e5cfc351a4807ef8d0 (diff)
Merge remote-tracking branch 'regulator/fix/axp20x' into regulator-linus
Diffstat (limited to 'net/atm')