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

Lines Matching refs:version

1 /* RIP version 1 and 2.
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
755 zlog_info ("%s %s version %d packet size %d",
756 sndrcv, command_str, packet->version, size);
764 if (packet->version == RIPv2)
867 /* RIP version 2 authentication. */
910 /* RIP version 2 authentication with MD5. */
1130 rip_peer_update (from, packet->version);
1144 if (packet->version == RIPv2 &&
1184 if (packet->version == RIPv1 && rte->nexthop.s_addr != 0)
1198 if (packet->version == RIPv2 && rte->nexthop.s_addr != 0)
1266 if ((packet->version == RIPv1 && rte->prefix.s_addr != 0)
1267 || (packet->version == RIPv2
1294 if ((packet->version == RIPv2)
1307 if (packet->version == RIPv2
1515 rip_peer_update (from, packet->version);
1535 rip_output_process (ifp, from, rip_all_route, packet->version);
1754 /* RIP version check. */
1755 if (packet->version == 0)
1758 zlog_info ("version 0 with command %d received.", packet->command);
1770 /* RIP version adjust. This code should rethink now. RFC1058 says
1774 if (packet->version > RIPv2)
1775 packet->version = RIPv2;
1794 if (packet->version != rip->version)
1798 zlog_warn (" packet's v%d doesn't fit to my version %d",
1799 packet->version, rip->version);
1807 if (packet->version == RIPv1)
1812 zlog_warn (" packet's v%d doesn't fit to if version spec",
1813 packet->version);
1818 if (packet->version == RIPv2)
1823 zlog_warn (" packet's v%d doesn't fit to if version spec",
1824 packet->version);
1838 && (packet->version == RIPv2) && (packet->rte->family == 0xffff))
1843 packet->version);
1864 if (packet->version == RIPv1 && packet->rte->family == 0xffff)
1868 zlog_warn ("packet RIPv%d is dropped because authentication enabled", packet->version);
1875 if (packet->version == RIPv2)
2036 u_char version, struct rip_info *rinfo, struct interface *ifp)
2054 stream_putc (s, version);
2059 if (version == RIPv2 && ifp)
2131 if (version == RIPv1)
2158 int route_type, u_char version)
2232 if (version == RIPv1)
2340 num = rip_write_rte (num, s, p, version, rinfo, to ? NULL : ifp);
2344 if (version == RIPv2 && ri->auth_type == RIP_AUTH_MD5)
2363 if (version == RIPv2 && ri->auth_type == RIP_AUTH_MD5)
2383 rip_update_interface (struct interface *ifp, u_char version, int route_type)
2390 /* When RIP version is 2 and multicast enable interface. */
2391 if (version == RIPv2 && if_is_multicast (ifp))
2397 rip_output_process (ifp, NULL, route_type, version);
2424 rip_output_process (ifp, &to, route_type, version);
2473 /* If there is no version configuration in the interface,
2474 use rip's version setting. */
2477 if (rip->version == RIPv1)
2482 /* If interface has RIP version configuration use it. */
2514 /* RIP version is rip's configuration. */
2515 rip_output_process (ifp, &to, route_type, rip->version);
2657 rip->version = RIPv2;
2686 u_char version)
2694 rip_packet.version = version;
2783 "version <1-2>",
2784 "Set routing protocol version\n"
2785 "version\n")
2787 int version;
2789 version = atoi (argv[0]);
2790 if (version != RIPv1 && version != RIPv2)
2792 vty_out (vty, "invalid rip version %d%s", version,
2796 rip->version = version;
2803 "no version",
2805 "Set routing protocol version\n")
2807 /* Set RIP version to the default. */
2808 rip->version = RIPv2;
2815 "no version <1-2>",
2817 "Set routing protocol version\n"
2818 "version\n")
3440 vty_out (vty, " Default version control: send version %d,", rip->version);
3441 vty_out (vty, " receive version %d %s", rip->version,
3454 send_version = lookup (ri_version_msg, rip->version);
3459 receive_version = lookup (ri_version_msg, rip->version);
3499 /* RIP version statement. Default is RIP version 2. */
3500 if (rip->version != RIPv2)
3501 vty_out (vty, " version %d%s", rip->version,