• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/zebra/bgpd/

Lines Matching refs:style

38 community_list_master_lookup (struct community_list_handler *ch, int style)
41 switch (style)
71 switch (entry->style)
115 char *name, int style)
125 cm = community_list_master_lookup (ch, style);
209 char *name, int style)
217 cm = community_list_master_lookup (ch, style);
232 community_list_get (struct community_list_handler *ch, char *name, int style)
236 list = community_list_lookup (ch, name, style);
238 list = community_list_insert (ch, name, style);
294 struct community_entry *entry, int style)
321 switch (entry->style)
426 if (entry->style == COMMUNITY_LIST_STANDARD)
434 else if (entry->style == COMMUNITY_LIST_EXPANDED)
455 if (entry->style == COMMUNITY_LIST_STANDARD)
463 else if (entry->style == COMMUNITY_LIST_EXPANDED)
491 if (entry->style == COMMUNITY_LIST_STANDARD)
496 else if (entry->style == COMMUNITY_LIST_EXPANDED)
515 if (entry->style != new->style)
527 switch (entry->style)
553 char *name, char *str, int direct, int style)
563 list = community_list_get (ch, name, style);
566 style. If you want to have mixed style community-list, you can
574 if (style == COMMUNITY_LIST_AUTO)
575 style = first->style;
576 else if (style != first->style)
578 return (first->style == COMMUNITY_LIST_STANDARD
590 if (style == COMMUNITY_LIST_AUTO)
591 entry->style = COMMUNITY_LIST_STANDARD;
593 entry->style = style;
599 if (style == COMMUNITY_LIST_STANDARD || style == COMMUNITY_LIST_AUTO)
607 entry->style = COMMUNITY_LIST_STANDARD;
609 else if (style == COMMUNITY_LIST_STANDARD)
619 if (! entry && (style == COMMUNITY_LIST_EXPANDED
620 || style == COMMUNITY_LIST_AUTO))
629 entry->style = COMMUNITY_LIST_EXPANDED;
649 char *name, char *str, int direct, int style)
659 list = community_list_lookup (ch, name, style);
672 if (style == COMMUNITY_LIST_STANDARD || style == COMMUNITY_LIST_AUTO)
680 else if (style == COMMUNITY_LIST_STANDARD)
690 && (style == COMMUNITY_LIST_EXPANDED || style == COMMUNITY_LIST_AUTO))
705 community_list_entry_delete (list, entry, style);
713 char *name, char *str, int direct, int style)
723 list = community_list_get (ch, name, style);
726 style. If you want to have mixed style community-list, you can
734 if (style == EXTCOMMUNITY_LIST_AUTO)
735 style = first->style;
736 else if (style != first->style)
738 return (first->style == EXTCOMMUNITY_LIST_STANDARD
750 if (style == EXTCOMMUNITY_LIST_AUTO)
751 entry->style = EXTCOMMUNITY_LIST_STANDARD;
753 entry->style = style;
759 if (style == EXTCOMMUNITY_LIST_STANDARD
760 || style == EXTCOMMUNITY_LIST_AUTO)
772 entry->style = EXTCOMMUNITY_LIST_STANDARD;
774 else if (style == EXTCOMMUNITY_LIST_STANDARD)
784 if (! entry && (style == EXTCOMMUNITY_LIST_EXPANDED
785 || style == EXTCOMMUNITY_LIST_AUTO))
794 entry->style = EXTCOMMUNITY_LIST_EXPANDED;
814 char *name, char *str, int direct, int style)
824 list = community_list_lookup (ch, name, style);
837 if (style == EXTCOMMUNITY_LIST_STANDARD || style == EXTCOMMUNITY_LIST_AUTO)
845 else if (style == COMMUNITY_LIST_STANDARD)
855 && (style == COMMUNITY_LIST_EXPANDED || style == COMMUNITY_LIST_AUTO))
870 community_list_entry_delete (list, entry, style);