Lines Matching +full:nested +full:- +full:attributes
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
17 __u32 id; /* nexthop id - must exist */
25 return ((entry->weight_high << 8) | entry->weight) + 1; in nexthop_grp_weight()
29 NEXTHOP_GRP_TYPE_MPATH, /* hash-threshold nexthop group
36 #define NEXTHOP_GRP_TYPE_MAX (__NEXTHOP_GRP_TYPE_MAX - 1)
46 NHA_ID, /* u32; id for nexthop. id == 0 means auto-assign */
50 /* if NHA_GROUP attribute is added, no other attributes can be set */
69 /* nested; resilient nexthop group attributes */
71 /* nested; nexthop bucket attributes */
74 /* u32; operation-specific flags */
77 /* nested; nexthop group stats */
83 /* u32; read-only; whether any driver collects HW stats */
89 #define NHA_MAX (__NHA_MAX - 1)
93 /* Pad attribute for 64-bit alignment. */
98 /* clock_t as u32; nexthop bucket idle timer (per-group) */
108 #define NHA_RES_GROUP_MAX (__NHA_RES_GROUP_MAX - 1)
112 /* Pad attribute for 64-bit alignment. */
125 #define NHA_RES_BUCKET_MAX (__NHA_RES_BUCKET_MAX - 1)
130 /* nested; nexthop group entry stats */
136 #define NHA_GROUP_STATS_MAX (__NHA_GROUP_STATS_MAX - 1)
155 #define NHA_GROUP_STATS_ENTRY_MAX (__NHA_GROUP_STATS_ENTRY_MAX - 1)