ip: nexthop: add resilient group structure
Add a structure which describes a resilient nexthop group. It will be later used for parsing. Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David Ahern <dsahern@kernel.org>
This commit is contained in:
parent
371e889da7
commit
cfb0a8729e
|
|
@ -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__ */
|
||||
Loading…
Reference in New Issue