Home
last modified time | relevance | path

Searched refs:kshm_magic (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
Dsocklnd.h54 __u32 kshm_magic; /* magic number of socklnd message */ member
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_cb.c1611 if (hello->kshm_magic == LNET_PROTO_MAGIC) in ksocknal_parse_proto_version()
1613 else if (hello->kshm_magic == __swab32(LNET_PROTO_MAGIC)) in ksocknal_parse_proto_version()
1634 if (hello->kshm_magic == le32_to_cpu(LNET_PROTO_TCP_MAGIC)) { in ksocknal_parse_proto_version()
1710 rc = libcfs_sock_read(sock, &hello->kshm_magic, sizeof (hello->kshm_magic), timeout); in ksocknal_recv_hello()
1718 if (hello->kshm_magic != LNET_PROTO_MAGIC && in ksocknal_recv_hello()
1719 hello->kshm_magic != __swab32(LNET_PROTO_MAGIC) && in ksocknal_recv_hello()
1720 hello->kshm_magic != le32_to_cpu (LNET_PROTO_TCP_MAGIC)) { in ksocknal_recv_hello()
1723 __cpu_to_le32 (hello->kshm_magic), in ksocknal_recv_hello()
Dsocklnd_proto.c534 hello->kshm_magic = LNET_PROTO_MAGIC; in ksocknal_send_hello_v2()
654 if (hello->kshm_magic == LNET_PROTO_MAGIC) in ksocknal_recv_hello_v2()