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

Lines Matching defs:ri

296 rip_incoming_filter (struct prefix_ipv4 *p, struct rip_interface *ri)
303 if (ri->list[RIP_FILTER_IN])
305 if (access_list_apply (ri->list[RIP_FILTER_IN],
317 if (ri->prefix[RIP_FILTER_IN])
319 if (prefix_list_apply (ri->prefix[RIP_FILTER_IN],
379 rip_outgoing_filter (struct prefix_ipv4 *p, struct rip_interface *ri)
385 if (ri->list[RIP_FILTER_OUT])
387 if (access_list_apply (ri->list[RIP_FILTER_OUT],
399 if (ri->prefix[RIP_FILTER_OUT])
401 if (prefix_list_apply (ri->prefix[RIP_FILTER_OUT],
499 struct rip_interface *ri;
514 ri = ifp->info;
516 ret = rip_incoming_filter (&p, ri);
872 struct rip_interface *ri;
880 ri = ifp->info;
882 if (ri->auth_type != RIP_AUTH_SIMPLE_PASSWORD
887 if (ri->auth_str)
891 if (strncmp (auth_str, ri->auth_str, 16) == 0)
894 if (ri->key_chain)
899 keychain = keychain_lookup (ri->key_chain);
915 struct rip_interface *ri;
931 ri = ifp->info;
935 if (ri->auth_type != RIP_AUTH_MD5 || ntohs (md5->type) != RIP_AUTH_MD5)
941 if (ri->key_chain)
943 keychain = keychain_lookup (ri->key_chain);
954 if (ri->auth_str)
955 auth_str = ri->auth_str;
984 struct rip_interface *ri;
993 ri = ifp->info;
997 if (ri->auth_type != RIP_AUTH_MD5)
1001 if (ri->key_chain)
1003 keychain = keychain_lookup (ri->key_chain);
1015 if (ri->auth_str)
1016 auth_str = ri->auth_str;
1505 struct rip_interface *ri;
1507 ri = ifp->info;
1510 if (ri->passive)
1664 struct rip_interface *ri;
1778 ri = ifp->info;
1779 if (! ri->running && ! rip_neighbor_lookup (&from))
1792 if (ri->ri_receive == RI_RIP_UNSPEC)
1808 if (! (ri->ri_receive & RIPv1))
1819 if (! (ri->ri_receive & RIPv2))
1836 if ((ri->auth_type == RIP_NO_AUTH)
1859 if ((ri->auth_type == RIP_AUTH_SIMPLE_PASSWORD
1860 || ri->auth_type == RIP_AUTH_MD5)
1935 if (ri->auth_str || ri->key_chain)
2039 struct rip_interface *ri;
2061 ri = ifp->info;
2063 if (ri->auth_type == RIP_AUTH_SIMPLE_PASSWORD)
2065 if (ri->auth_str)
2071 strncpy ((s->data + s->putp), ri->auth_str, 16);
2076 if (ri->key_chain)
2081 keychain = keychain_lookup (ri->key_chain);
2164 struct rip_interface *ri;
2191 ri = ifp->info;
2196 if (ri->auth_type == RIP_AUTH_SIMPLE_PASSWORD)
2201 if (ri->auth_type == RIP_AUTH_MD5)
2206 if (ri->auth_type == RIP_AUTH_SIMPLE_PASSWORD)
2208 if (ri->key_chain)
2212 keychain = keychain_lookup (ri->key_chain);
2218 if (ri->auth_str)
2252 ret = rip_outgoing_filter (p, ri);
2263 if (ri->split_horizon)
2344 if (version == RIPv2 && ri->auth_type == RIP_AUTH_MD5)
2363 if (version == RIPv2 && ri->auth_type == RIP_AUTH_MD5)
2378 ri->sent_updates++;
2436 struct rip_interface *ri;
2453 ri = ifp->info;
2457 if (ri->passive)
2460 if (ri->running)
2475 if (ri->ri_send == RI_RIP_UNSPEC)
2485 if (ri->ri_send & RIPv1)
2487 if (ri->ri_send & RIPv2)
3410 struct rip_interface *ri;
3449 ri = ifp->info;
3451 if (ri->enable_network || ri->enable_interface)
3453 if (ri->ri_send == RI_RIP_UNSPEC)
3456 send_version = lookup (ri_version_msg, ri->ri_send);
3458 if (ri->ri_receive == RI_RIP_UNSPEC)
3461 receive_version = lookup (ri_version_msg, ri->ri_receive);
3466 ri->key_chain ? ri->key_chain : "",
3583 struct rip_interface *ri;
3594 ri = ifp->info;
3600 ri->list[RIP_FILTER_IN] = alist;
3602 ri->list[RIP_FILTER_IN] = NULL;
3605 ri->list[RIP_FILTER_IN] = NULL;
3611 ri->list[RIP_FILTER_OUT] = alist;
3613 ri->list[RIP_FILTER_OUT] = NULL;
3616 ri->list[RIP_FILTER_OUT] = NULL;
3623 ri->prefix[RIP_FILTER_IN] = plist;
3626 ri->prefix[RIP_FILTER_IN] = NULL;
3629 ri->prefix[RIP_FILTER_IN] = NULL;
3636 ri->prefix[RIP_FILTER_OUT] = plist;
3639 ri->prefix[RIP_FILTER_OUT] = NULL;
3642 ri->prefix[RIP_FILTER_OUT] = NULL;