route_map_object_t type,
void *object)
{
- // u_int32_t *metric;
- // u_int32_t check;
+ // uint32_t *metric;
+ // uint32_t check;
// struct rip_info *rinfo;
// struct eigrp_nexthop_entry *te;
// struct eigrp_prefix_entry *pe;
/* Route map `match metric' match statement. `arg' is METRIC value */
static void *route_match_metric_compile(const char *arg)
{
- // u_int32_t *metric;
+ // uint32_t *metric;
//
- // metric = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (u_int32_t));
+ // metric = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (uint32_t));
// *metric = atoi (arg);
//
// if(*metric > 0)
static route_map_result_t route_match_tag(void *rule, struct prefix *prefix,
route_map_object_t type, void *object)
{
- // u_short *tag;
+ // unsigned short *tag;
// struct rip_info *rinfo;
//
// if (type == RMAP_EIGRP)
/* Route map `match tag' match statement. `arg' is TAG value */
static void *route_match_tag_compile(const char *arg)
{
- // u_short *tag;
+ // unsigned short *tag;
//
- // tag = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (u_short));
+ // tag = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (unsigned short));
// *tag = atoi (arg);
//
// return tag;
static route_map_result_t route_set_tag(void *rule, struct prefix *prefix,
route_map_object_t type, void *object)
{
- // u_short *tag;
+ // unsigned short *tag;
// struct rip_info *rinfo;
//
// if(type == RMAP_RIP)
}
/* Route map `tag' compile function. Given string is converted
- to u_short. */
+ to unsigned short. */
static void *route_set_tag_compile(const char *arg)
{
- // u_short *tag;
+ // unsigned short *tag;
//
- // tag = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (u_short));
+ // tag = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (unsigned short));
// *tag = atoi (arg);
//
// return tag;