Lines Matching refs:nexthop_grp
171 struct nexthop_grp *nhg; in nexthop_dup()
189 _cleanup_free_ struct nexthop_grp *g = NULL; in nexthop_dup()
191 g = newdup(struct nexthop_grp, nhg, 1); in nexthop_dup()
350 struct nexthop_grp *nhg; in log_nexthop_debug()
453 _cleanup_free_ struct nexthop_grp *group = NULL; in nexthop_configure()
454 struct nexthop_grp *p, *nhg; in nexthop_configure()
456 group = new(struct nexthop_grp, hashmap_size(nexthop->group)); in nexthop_configure()
464 …r = sd_netlink_message_append_data(m, NHA_GROUP, group, sizeof(struct nexthop_grp) * hashmap_size(… in nexthop_configure()
514 struct nexthop_grp *nhg; in nexthop_is_ready_to_configure()
888 struct nexthop_grp *group = raw_group; in manager_rtnl_process_nexthop()
891 if (raw_group_size == 0 || raw_group_size % sizeof(struct nexthop_grp) != 0) { in manager_rtnl_process_nexthop()
896 assert((uintptr_t) group % __alignof__(struct nexthop_grp) == 0); in manager_rtnl_process_nexthop()
898 n_group = raw_group_size / sizeof(struct nexthop_grp); in manager_rtnl_process_nexthop()
900 _cleanup_free_ struct nexthop_grp *nhg = NULL; in manager_rtnl_process_nexthop()
911 nhg = newdup(struct nexthop_grp, group + i, 1); in manager_rtnl_process_nexthop()
1336 _cleanup_free_ struct nexthop_grp *nhg = NULL; in config_parse_nexthop_group()
1352 nhg = new0(struct nexthop_grp, 1); in config_parse_nexthop_group()