4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library.
22 /* Copyright (c) 2021, UT-Battelle, LLC
24 * Author: James Simmons <jsimmons@infradead.org>
27 #ifndef __UAPI_LNET_NL_H__
28 #define __UAPI_LNET_NL_H__
30 #include <linux/types.h>
32 enum lnet_nl_key_format {
33 /* Is it FLOW or BLOCK */
35 /* Is it SEQUENCE or MAPPING */
40 enum lnet_nl_scalar_attrs {
41 LN_SCALAR_ATTR_UNSPEC = 0,
44 LN_SCALAR_ATTR_LIST_SIZE,
46 LN_SCALAR_ATTR_NLA_TYPE,
48 LN_SCALAR_ATTR_KEY_FORMAT,
50 __LN_SCALAR_ATTR_LAST,
53 #define LN_SCALAR_CNT (__LN_SCALAR_ATTR_LAST - 1)
63 struct ln_key_props lkl_list[];
66 #endif /* __UAPI_LNET_NL_H__ */