• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/bgpd/

Lines Matching refs:community

28 /* Hash of community attribute. */
32 struct community *
35 return (struct community *) XCALLOC (MTYPE_COMMUNITY,
36 sizeof (struct community));
41 community_free (struct community *com)
50 /* Add one community value to the community. */
52 community_add_val (struct community *com, u_int32_t val)
64 /* Delete one community. */
66 community_del_val (struct community *com, u_int32_t *val)
100 struct community *
101 community_delete (struct community *com1, struct community *com2)
134 community_include (struct community *com, u_int32_t val)
148 community_val_get (struct community *com, int i)
161 /* Sort and uniq given community. */
162 struct community *
163 community_uniq_sort (struct community *com)
166 struct community *new;
198 community_com2str (struct community *com)
293 struct community *
294 community_intern (struct community *com)
296 struct community *find;
298 /* Assert this community structure is not interned. */
301 /* Lookup community hash. */
302 find = (struct community *) hash_get (comhash, com, hash_alloc_intern);
319 /* Free community attribute. */
321 community_unintern (struct community *com)
323 struct community *ret;
332 ret = (struct community *) hash_release (comhash, com);
339 /* Create new community attribute. */
340 struct community *
343 struct community tmp;
344 struct community *new;
350 /* Make temporary community for hash look up. */
359 struct community *
360 community_dup (struct community *com)
362 struct community *new;
364 new = XCALLOC (MTYPE_COMMUNITY, sizeof (struct community));
378 community_str (struct community *com)
385 /* Make hash value of community attribute. This function is used by
388 community_hash_make (struct community *com)
404 community_match (struct community *com1, struct community *com2)
418 /* Every community on com2 needs to be on com1 for this to match */
435 community_cmp (struct community *com1, struct community *com2)
449 struct community *
450 community_merge (struct community *com1, struct community *com2)
474 /* Get next community token from string. */
488 /* Well known community string check. */
571 /* convert string to community structure */
572 struct community *
575 struct community *com = NULL;
576 struct community *com_sort = NULL;