net: accept UFO datagrams from tuntap and packet
[linux-2.6/btrfs-unstable.git] / include / net / smc.h
blob8381d163fefad5b2dd299d5bbc1fd67900bd40e4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
5 * Definitions for the SMC module (socket related)
7 * Copyright IBM Corp. 2016
9 * Author(s): Ursula Braun <ubraun@linux.vnet.ibm.com>
11 #ifndef _SMC_H
12 #define _SMC_H
14 struct smc_hashinfo {
15 rwlock_t lock;
16 struct hlist_head ht;
19 int smc_hash_sk(struct sock *sk);
20 void smc_unhash_sk(struct sock *sk);
21 #endif /* _SMC_H */