nexthop_grp
static inline __u16 nexthop_grp_weight(const struct nexthop_grp *entry)
size_t sz = sizeof(struct nexthop_grp) * nhg->num_nh;
struct nexthop_grp *nhg;
if (!len || len & (sizeof(struct nexthop_grp) - 1)) {
struct nexthop_grp *nhg;
struct nexthop_grp *entry = nla_data(grps_attr);
struct nexthop_grp *p;
*p++ = (struct nexthop_grp) {