Lines Matching refs:weight
94 weight : Done
1055 /* `set weight WEIGHT' */
1057 /* Set weight. */
1062 u_int32_t *weight;
1068 weight = rule;
1071 /* Set weight value. */
1072 if (*weight)
1073 (bgp_attr_extra_get (bgp_info->attr))->weight = *weight;
1075 bgp_info->attr->extra->weight = 0;
1086 u_int32_t *weight;
1098 weight = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (u_int32_t));
1100 if (weight == NULL)
1101 return weight;
1103 *weight = tmp;
1105 return weight;
1118 "weight",
3112 "set weight <0-4294967295>",
3114 "BGP weight for routing table\n"
3117 return bgp_route_set_add (vty, vty->index, "weight", argv[0]);
3122 "no set weight",
3125 "BGP weight for routing table\n")
3128 return bgp_route_set_delete (vty, vty->index, "weight", NULL);
3130 return bgp_route_set_delete (vty, vty->index, "weight", argv[0]);
3135 "no set weight <0-4294967295>",
3138 "BGP weight for routing table\n"