Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 338a57d5cb034172d28de34bd7d122bfcd90bff2 20 lines 401 B view raw
1/* 2 * Shared Memory Communications over RDMA (SMC-R) and RoCE 3 * 4 * Definitions for the SMC module (socket related) 5 * 6 * Copyright IBM Corp. 2016 7 * 8 * Author(s): Ursula Braun <ubraun@linux.vnet.ibm.com> 9 */ 10#ifndef _SMC_H 11#define _SMC_H 12 13struct smc_hashinfo { 14 rwlock_t lock; 15 struct hlist_head ht; 16}; 17 18int smc_hash_sk(struct sock *sk); 19void smc_unhash_sk(struct sock *sk); 20#endif /* _SMC_H */