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

Lines Matching refs:source

98 str2distribute_source (char *str, int *source)
105 *source = ZEBRA_ROUTE_KERNEL;
107 *source = ZEBRA_ROUTE_CONNECT;
109 *source = ZEBRA_ROUTE_STATIC;
111 *source = ZEBRA_ROUTE_RIP;
113 *source = ZEBRA_ROUTE_BGP;
5278 int source;
5282 /* Get distribute source. */
5283 if (!str2distribute_source (argv[0], &source))
5297 ospf_routemap_set (source, argv[3]);
5299 ospf_routemap_unset (source);
5301 return ospf_redistribute_set (source, type, metric);
5348 int source;
5352 /* Get distribute source. */
5353 if (!str2distribute_source (argv[0], &source))
5367 ospf_routemap_set (source, argv[3]);
5369 ospf_routemap_unset (source);
5371 return ospf_redistribute_set (source, type, metric);
5426 int source;
5429 /* Get distribute source. */
5430 if (!str2distribute_source (argv[0], &source))
5439 ospf_routemap_set (source, argv[2]);
5441 ospf_routemap_unset (source);
5443 return ospf_redistribute_set (source, -1, metric);
5461 int source;
5464 /* Get distribute source. */
5465 if (!str2distribute_source (argv[0], &source))
5474 ospf_routemap_set (source, argv[2]);
5476 ospf_routemap_unset (source);
5478 return ospf_redistribute_set (source, type, -1);
5493 int source;
5495 /* Get distribute source. */
5496 if (!str2distribute_source (argv[0], &source))
5500 ospf_routemap_set (source, argv[1]);
5502 ospf_routemap_unset (source);
5504 return ospf_redistribute_set (source, -1, -1);
5518 int source;
5520 if (!str2distribute_source (argv[0], &source))
5523 ospf_routemap_unset (source);
5524 return ospf_redistribute_unset (source);
5539 int source;
5541 /* Get distribute source. */
5542 if (!str2distribute_source (argv[1], &source))
5545 return ospf_distribute_list_out_set (source, argv[0]);
5561 int source;
5563 if (!str2distribute_source (argv[1], &source))
5566 return ospf_distribute_list_out_unset (source, argv[0]);
6279 "IP source prefix\n")
6291 "IP source prefix\n")
6302 "IP source prefix\n"
6315 "IP source prefix\n"