version 1.1.1.2, 2012/10/09 09:22:28
|
version 1.1.1.3, 2016/11/02 10:09:10
|
Line 32 struct hash *ifrmaphash;
|
Line 32 struct hash *ifrmaphash;
|
/* Hook functions. */ |
/* Hook functions. */ |
static void (*if_rmap_add_hook) (struct if_rmap *) = NULL; |
static void (*if_rmap_add_hook) (struct if_rmap *) = NULL; |
static void (*if_rmap_delete_hook) (struct if_rmap *) = NULL; |
static void (*if_rmap_delete_hook) (struct if_rmap *) = NULL; |
| |
static struct if_rmap * |
static struct if_rmap * |
if_rmap_new (void) |
if_rmap_new (void) |
{ |
{ |
Line 122 if_rmap_hash_cmp (const void *arg1, const void* arg2)
|
Line 122 if_rmap_hash_cmp (const void *arg1, const void* arg2)
|
|
|
return strcmp (if_rmap1->ifname, if_rmap2->ifname) == 0; |
return strcmp (if_rmap1->ifname, if_rmap2->ifname) == 0; |
} |
} |
| |
static struct if_rmap * |
static struct if_rmap * |
if_rmap_set (const char *ifname, enum if_rmap_type type, |
if_rmap_set (const char *ifname, enum if_rmap_type type, |
const char *routemap_name) |
const char *routemap_name) |
Line 273 ALIAS (no_if_rmap,
|
Line 273 ALIAS (no_if_rmap,
|
"Route map for input filtering\n" |
"Route map for input filtering\n" |
"Route map for output filtering\n" |
"Route map for output filtering\n" |
"Route map interface name\n") |
"Route map interface name\n") |
| |
/* Configuration write function. */ |
/* Configuration write function. */ |
int |
int |
config_write_if_rmap (struct vty *vty) |
config_write_if_rmap (struct vty *vty) |