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

Lines Matching refs:ifc

126   struct connected *ifc;
132 ifc = getdata (node);
133 p = ifc->address;
135 if (CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED)
136 && ! CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL))
147 ret = if_set_prefix (ifp, ifc);
156 SET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
158 zebra_interface_address_add_update (ifp, ifc);
161 connected_up_ipv4 (ifp, ifc);
172 ret = if_prefix_add_ipv6 (ifp, ifc);
181 SET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
183 zebra_interface_address_add_update (ifp, ifc);
186 connected_up_ipv6 (ifp, ifc);
225 struct connected *ifc;
252 ifc = getdata (node);
253 p = ifc->address;
256 connected_down_ipv4 (ifp, ifc);
259 connected_down_ipv6 (ifp, ifc);
262 zebra_interface_address_delete_update (ifp, ifc);
264 UNSET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
266 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED))
268 listnode_delete (ifp->connected, ifc);
269 connected_free (ifc);
282 struct connected *ifc;
294 ifc = getdata (node);
295 p = ifc->address;
298 connected_up_ipv4 (ifp, ifc);
301 connected_up_ipv6 (ifp, ifc);
317 struct connected *ifc;
329 ifc = getdata (node);
330 p = ifc->address;
333 connected_down_ipv4 (ifp, ifc);
336 connected_down_ipv6 (ifp, ifc);
906 struct connected *ifc;
918 ifc = connected_check_ipv4 (ifp, (struct prefix *) &cp);
919 if (! ifc)
921 ifc = connected_new ();
922 ifc->ifp = ifp;
927 ifc->address = (struct prefix *) p;
936 ifc->destination = (struct prefix *) p;
941 SET_FLAG (ifc->flags, ZEBRA_IFA_SECONDARY);
945 ifc->label = strdup (label);
948 listnode_add (ifp->connected, ifc);
952 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED))
953 SET_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED);
956 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL)
966 ret = if_set_prefix (ifp, ifc);
975 SET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
978 zebra_interface_address_add_update (ifp, ifc);
982 connected_up_ipv4 (ifp, ifc);
993 struct connected *ifc;
1005 ifc = connected_check_ipv4 (ifp, (struct prefix *) &cp);
1006 if (! ifc)
1013 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED))
1017 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL)
1020 listnode_delete (ifp->connected, ifc);
1021 connected_free (ifc);
1026 ret = if_unset_prefix (ifp, ifc);
1035 zebra_interface_address_delete_update (ifp, ifc);
1038 connected_down_ipv4 (ifp, ifc);
1041 listnode_delete (ifp->connected, ifc);
1042 connected_free (ifc);
1124 struct connected *ifc;
1135 ifc = connected_check_ipv6 (ifp, (struct prefix *) &cp);
1136 if (! ifc)
1138 ifc = connected_new ();
1139 ifc->ifp = ifp;
1144 ifc->address = (struct prefix *) p;
1148 SET_FLAG (ifc->flags, ZEBRA_IFA_SECONDARY);
1152 ifc->label = strdup (label);
1155 listnode_add (ifp->connected, ifc);
1159 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED))
1160 SET_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED);
1163 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL)
1173 ret = if_prefix_add_ipv6 (ifp, ifc);
1183 SET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
1186 zebra_interface_address_add_update (ifp, ifc);
1190 connected_up_ipv6 (ifp, ifc);
1201 struct connected *ifc;
1213 ifc = connected_check_ipv6 (ifp, (struct prefix *) &cp);
1214 if (! ifc)
1221 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED))
1225 if (! CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL)
1228 listnode_delete (ifp->connected, ifc);
1229 connected_free (ifc);
1234 ret = if_prefix_delete_ipv6 (ifp, ifc);
1243 zebra_interface_address_delete_update (ifp, ifc);
1246 connected_down_ipv6 (ifp, ifc);
1249 listnode_delete (ifp->connected, ifc);
1250 connected_free (ifc);
1307 struct connected *ifc;
1327 ifc = getdata (addrnode);
1328 if (CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED))
1330 p = ifc->address;
1336 if (CHECK_FLAG (ifc->flags, ZEBRA_IFA_SECONDARY))
1339 if (ifc->label)
1340 vty_out (vty, " label %s", ifc->label);