Lines Matching +defs:version +defs:h
22 #include <linux/module.h>
23 #include <linux/socket.h>
24 #include <linux/workqueue.h>
25 #include <linux/in.h>
26 #include <linux/sched/signal.h>
27 #include <linux/if_vlan.h>
28 #include <linux/rcupdate_wait.h>
29 #include <linux/ctype.h>
30 #include <linux/splice.h>
32 #include <net/sock.h>
33 #include <net/inet_common.h>
35 #include <net/ipv6.h>
37 #include <net/tcp.h>
38 #include <net/smc.h>
39 #include <asm/ioctls.h>
41 #include <net/net_namespace.h>
42 #include <net/netns/generic.h>
43 #include "smc_netns.h"
45 #include "smc.h"
46 #include "smc_clc.h"
47 #include "smc_llc.h"
48 #include "smc_cdc.h"
49 #include "smc_core.h"
50 #include "smc_ib.h"
51 #include "smc_ism.h"
52 #include "smc_pnet.h"
53 #include "smc_netlink.h"
54 #include "smc_tx.h"
55 #include "smc_rx.h"
56 #include "smc_close.h"
57 #include "smc_stats.h"
58 #include "smc_tracepoint.h"
59 #include "smc_sysctl.h"
60 #include "smc_inet.h"
187 struct smc_hashinfo *h = sk->sk_prot->h.smc_hash;
190 head = &h->ht;
192 write_lock_bh(&h->lock);
194 write_unlock_bh(&h->lock);
202 struct smc_hashinfo *h = sk->sk_prot->h.smc_hash;
204 write_lock_bh(&h->lock);
207 write_unlock_bh(&h->lock);
232 .h.smc_hash = &smc_v4_hashinfo,
245 .h.smc_hash = &smc_v6_hashinfo,
692 if (clc->hdr.version == SMC_V1 ||
971 u8 version)
983 rc = smc_clc_send_decline(smc, reason_code, version);
1226 if (!ini->first_contact_peer || aclc->hdr.version == SMC_V1)
1294 (aclc->hdr.version > SMC_V1 ||
1343 if (aclc->hdr.version > SMC_V1) {
1351 aclc->hdr.version, eid, ini);
1411 if (aclc->hdr.version == SMC_V2) {
1460 if (aclc->hdr.version > SMC_V1)
1464 aclc->hdr.version, eid, ini);
1483 /* check if received accept type and version matches a proposed one */
1487 if (aclc->hdr.version >= SMC_V2) {
1507 u8 version = smc_ism_is_v2_capable() ? SMC_V2 : SMC_V1;
1523 version);
1528 version);
1566 version = aclc->hdr.version == SMC_V1 ? SMC_V1 : SMC_V2;
1572 ini->smcr_version = version;
1575 ini->smcd_version = version;
1592 return smc_connect_decline_fallback(smc, rc, version);
1963 int local_first, u8 version)
1974 if (smc_clc_send_decline(new_smc, reason_code, version) < 0) {
1982 /* listen worker: version checking */
1995 if (pclc->hdr.version > SMC_V1) {
2484 if (pclc->hdr.version > SMC_V1)
2499 /* initial version checking */
2546 /* fce smc release version is needed in smc_listen_rdma_finish,