1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
4 * Use is subject to license terms.
7 /* This file is part of Lustre, http://www.lustre.org/
9 * #defines shared between socknal implementation and utilities
12 #ifndef __UAPI_LNET_SOCKLND_H__
13 #define __UAPI_LNET_SOCKLND_H__
15 #define SOCKLND_CONN_NONE (-1)
16 #define SOCKLND_CONN_ANY 0
17 #define SOCKLND_CONN_CONTROL 1
18 #define SOCKLND_CONN_BULK_IN 2
19 #define SOCKLND_CONN_BULK_OUT 3
20 #define SOCKLND_CONN_NTYPES 4
22 #define SOCKLND_CONN_ACK SOCKLND_CONN_BULK_IN