• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ripngd/

Lines Matching refs:ifp

56 ripng_multicast_join (struct interface *ifp)
63 mreq.ipv6mr_interface = ifp->ifindex;
71 zlog_info ("RIPng %s join to all-rip-routers multicast group", ifp->name);
78 ripng_multicast_leave (struct interface *ifp)
85 mreq.ipv6mr_interface = ifp->ifindex;
94 ifp->name);
104 struct interface *ifp;
110 ifp = getdata (node);
111 if (mtu < ifp->mtu)
112 mtu = ifp->mtu;
118 ripng_if_down (struct interface *ifp)
130 if (rinfo->ifindex == ifp->ifindex
149 if (rinfo->ifindex == ifp->ifindex)
157 ri = ifp->info;
162 zlog_info ("turn off %s", ifp->name);
165 ripng_multicast_leave (ifp);
178 struct interface *ifp;
182 ifp = zebra_interface_state_read (s);
184 if (ifp == NULL)
189 ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu);
192 ripng_enable_apply (ifp);
195 ripng_passive_interface_apply (ifp);
198 ripng_distribute_update_interface (ifp);
209 struct interface *ifp;
213 ifp = zebra_interface_state_read (s);
215 if (ifp == NULL)
218 ripng_if_down (ifp);
222 ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu);
231 struct interface *ifp;
233 ifp = zebra_interface_add_read (zclient->ibuf);
237 ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu);
240 ripng_enable_apply (ifp);
243 ripng_distribute_update_interface (ifp);
246 ripng_if_rmap_update_interface (ifp);
281 ripng_enable_apply (c->ifp);
310 ripng_enable_apply (ifc->ifp);
327 ripng_enable_network_lookup (struct interface *ifp)
332 for (listnode = listhead (ifp->connected); listnode; nextnode (listnode))
445 struct interface *ifp;
449 ifp = THREAD_ARG (t);
451 ri = ifp->info;
455 ripng_multicast_join (ifp);
458 ripng_request (ifp);
465 ripng_enable_apply (struct interface *ifp)
471 if (if_is_loopback (ifp))
474 if (! if_is_up (ifp))
477 ri = ifp->info;
480 ret = ripng_enable_network_lookup (ifp);
489 ret = ripng_enable_if_lookup (ifp->name);
501 zlog_info ("RIPng turn on %s", ifp->name);
506 ifp, 1);
509 ripng_multicast_join (ifp);
512 ripng_request (ifp);
523 zlog_info ("RIPng turn off %s", ifp->name);
526 ripng_multicast_leave (ifp);
537 struct interface *ifp;
542 ifp = getdata (node);
543 ripng_enable_apply (ifp);
566 ripng_passive_interface_apply (struct interface *ifp)
571 ri = ifp->info;
573 ret = ripng_passive_interface_lookup (ifp->name);
583 struct interface *ifp;
588 ifp = getdata (node);
589 ripng_passive_interface_apply (ifp);
768 ripng_if_new_hook (struct interface *ifp)
770 ifp->info = ri_new ();
779 struct interface *ifp;
785 ifp = getdata (node);
786 ri = ifp->info;
788 vty_out (vty, "interface %s%s", ifp->name,
790 if (ifp->desc)
791 vty_out (vty, " description %s%s", ifp->desc,