Lines Matching refs:ecommunity
54 struct ecommunity *
57 return (struct ecommunity *) XCALLOC (MTYPE_ECOMMUNITY,
58 sizeof (struct ecommunity));
63 ecommunity_free (struct ecommunity *ecom)
75 ecommunity_hash_alloc (struct ecommunity *val)
77 struct ecommunity *ecom;
88 struct ecommunity *
91 struct ecommunity tmp;
92 struct ecommunity *find;
100 find = (struct ecommunity *) hash_get (ecomhash, &tmp,
107 struct ecommunity *
108 ecommunity_dup (struct ecommunity *ecom)
110 struct ecommunity *new;
112 new = XMALLOC (MTYPE_ECOMMUNITY, sizeof (struct ecommunity));
113 memset (new, 0, sizeof (struct ecommunity));
125 struct ecommunity *
126 ecommunity_merge (struct ecommunity *ecom1, struct ecommunity *ecom2)
142 struct ecommunity *
143 ecommunity_intern (struct ecommunity *ecom)
145 struct ecommunity *find;
149 find = (struct ecommunity *) hash_get (ecomhash, ecom, hash_alloc_intern);
163 ecommunity_unintern (struct ecommunity *ecom)
170 struct ecommunity *ret;
172 ret = (struct ecommunity *) hash_release (ecomhash, ecom);
180 ecommunity_hash_make (struct ecommunity *ecom)
196 ecommunity_cmp (struct ecommunity *ecom1, struct ecommunity *ecom2)
205 ecommunity_add_val (struct ecommunity *ecom, struct bgp_rd *rd)
428 struct ecommunity *
431 struct ecommunity *ecom = NULL;
508 ecommunity_ecom2str (struct ecommunity *ecom, int format)
629 ecommunity_vty_out (struct vty *vty, struct ecommunity *ecom)