[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210930113844.1829373-4-razor@blackwall.org>
Date: Thu, 30 Sep 2021 14:38:35 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: netdev@...r.kernel.org
Cc: roopa@...dia.com, donaldsharp72@...il.com, dsahern@...il.com,
idosch@...sch.org, Nikolay Aleksandrov <nikolay@...dia.com>
Subject: [PATCH iproute2-next 03/12] ip: nexthop: add resilient group structure
From: Nikolay Aleksandrov <nikolay@...dia.com>
Add a structure which describes a resilient nexthop group. It will be
later used for parsing.
Signed-off-by: Nikolay Aleksandrov <nikolay@...dia.com>
---
ip/nh_common.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 ip/nh_common.h
diff --git a/ip/nh_common.h b/ip/nh_common.h
new file mode 100644
index 000000000000..f747244cbcd0
--- /dev/null
+++ b/ip/nh_common.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __NH_COMMON_H__
+#define __NH_COMMON_H__ 1
+
+struct nha_res_grp {
+ __u16 buckets;
+ __u32 idle_timer;
+ __u32 unbalanced_timer;
+ __u64 unbalanced_time;
+};
+
+#endif /* __NH_COMMON_H__ */
--
2.31.1
Powered by blists - more mailing lists