version 1.1.1.2, 2012/10/09 09:22:28
|
version 1.1.1.3, 2016/11/02 10:09:11
|
Line 34 struct hash *disthash;
|
Line 34 struct hash *disthash;
|
/* Hook functions. */ |
/* Hook functions. */ |
void (*distribute_add_hook) (struct distribute *); |
void (*distribute_add_hook) (struct distribute *); |
void (*distribute_delete_hook) (struct distribute *); |
void (*distribute_delete_hook) (struct distribute *); |
| |
static struct distribute * |
static struct distribute * |
distribute_new (void) |
distribute_new (void) |
{ |
{ |
Line 133 distribute_cmp (const struct distribute *dist1, const
|
Line 133 distribute_cmp (const struct distribute *dist1, const
|
return 1; |
return 1; |
return 0; |
return 0; |
} |
} |
| |
/* Set access-list name to the distribute list. */ |
/* Set access-list name to the distribute list. */ |
static struct distribute * |
static struct distribute * |
distribute_list_set (const char *ifname, enum distribute_type type, |
distribute_list_set (const char *ifname, enum distribute_type type, |