Searched refs:area_id (Results 1 - 25 of 33) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospfd/
H A Dospfd.c166 if (ntohl (a1->area_id.s_addr) > ntohl (a2->area_id.s_addr))
168 if (ntohl (a1->area_id.s_addr) < ntohl (a2->area_id.s_addr))
426 ospf_area_new (struct in_addr area_id)
435 new->area_id = area_id;
454 if (area_id.s_addr == OSPF_AREA_BACKBONE)
507 ospf_area_check_free (struct in_addr area_id)
511 area = ospf_area_lookup_by_area_id (area_id);
423 ospf_area_new(struct in_addr area_id) argument
504 ospf_area_check_free(struct in_addr area_id) argument
526 ospf_area_get(struct in_addr area_id, int format) argument
543 ospf_area_lookup_by_area_id(struct in_addr area_id) argument
574 ospf_network_new(struct in_addr area_id, int format) argument
594 ospf_network_set(struct ospf *ospf, struct prefix_ipv4 *p, struct in_addr area_id) argument
634 ospf_network_unset(struct ospf *ospf, struct prefix_ipv4 *p, struct in_addr area_id) argument
994 ospf_area_stub_set(struct ospf *ospf, struct in_addr area_id) argument
1010 ospf_area_stub_unset(struct ospf *ospf, struct in_addr area_id) argument
1027 ospf_area_no_summary_set(struct ospf *ospf, struct in_addr area_id) argument
1039 ospf_area_no_summary_unset(struct ospf *ospf, struct in_addr area_id) argument
1054 ospf_area_nssa_set(struct ospf *ospf, struct in_addr area_id) argument
1073 ospf_area_nssa_unset(struct ospf *ospf, struct in_addr area_id) argument
1093 ospf_area_nssa_translator_role_set(struct ospf *ospf, struct in_addr area_id, int role) argument
1108 ospf_area_nssa_translator_role_unset(struct ospf *ospf, struct in_addr area_id) argument
[all...]
H A Dospf_snmp.c615 ospf_area_lookup_next (struct in_addr *area_id, int first)
629 *area_id = area->area_id;
638 if (ntohl (area->area_id.s_addr) > ntohl (area_id->s_addr))
640 *area_id = area->area_id;
707 return SNMP_IPADDRESS (area->area_id);
749 ospf_stub_area_lookup_next (struct in_addr *area_id, int first)
765 *area_id
612 ospf_area_lookup_next(struct in_addr *area_id, int first) argument
746 ospf_stub_area_lookup_next(struct in_addr *area_id, int first) argument
902 ospfLsdbLookup(struct variable *v, oid *name, size_t *length, struct in_addr *area_id, u_char *type, struct in_addr *ls_id, struct in_addr *router_id, int exact) argument
1049 struct in_addr area_id; local
1109 ospfAreaRangeLookup(struct variable *v, oid *name, size_t *length, struct in_addr *area_id, struct in_addr *range_net, int exact) argument
1203 struct in_addr area_id; local
1848 ospf_snmp_vl_lookup(struct in_addr *area_id, struct in_addr *neighbor) argument
1871 ospf_snmp_vl_lookup_next(struct in_addr *area_id, struct in_addr *neighbor, int first) argument
1908 ospfVirtIfLookup(struct variable *v, oid *name, size_t *length, struct in_addr *area_id, struct in_addr *neighbor, int exact) argument
1961 struct in_addr area_id; local
2205 struct in_addr area_id; local
[all...]
H A Dospf_abr.c200 ospf_area_range_set (struct ospf *ospf, struct in_addr area_id,
207 area = ospf_area_get (area_id, ret);
236 ospf_area_range_cost_set (struct ospf *ospf, struct in_addr area_id,
243 area = ospf_area_get (area_id, ret);
262 ospf_area_range_unset (struct ospf *ospf, struct in_addr area_id,
268 area = ospf_area_lookup_by_area_id (area_id);
285 ospf_area_range_substitute_set (struct ospf *ospf, struct in_addr area_id,
292 area = ospf_area_get (area_id, ret);
317 ospf_area_range_substitute_unset (struct ospf *ospf, struct in_addr area_id,
323 area = ospf_area_lookup_by_area_id (area_id);
199 ospf_area_range_set(struct ospf *ospf, struct in_addr area_id, struct prefix_ipv4 *p, int advertise) argument
235 ospf_area_range_cost_set(struct ospf *ospf, struct in_addr area_id, struct prefix_ipv4 *p, u_int32_t cost) argument
261 ospf_area_range_unset(struct ospf *ospf, struct in_addr area_id, struct prefix_ipv4 *p) argument
284 ospf_area_range_substitute_set(struct ospf *ospf, struct in_addr area_id, struct prefix_ipv4 *p, struct prefix_ipv4 *s) argument
316 ospf_area_range_substitute_unset(struct ospf *ospf, struct in_addr area_id, struct prefix_ipv4 *p) argument
[all...]
H A Dospf_vty.c68 ospf_str2area_id (char *str, struct in_addr *area_id, int *format)
76 ret = inet_aton (str, area_id);
88 area_id->s_addr = htonl (ret);
367 struct in_addr area_id;
372 VTY_GET_OSPF_AREA_ID (area_id, format, argv[1]);
374 ret = ospf_network_set (ospf, &p, area_id);
396 struct in_addr area_id;
401 VTY_GET_OSPF_AREA_ID (area_id, format, argv[1]);
403 ret = ospf_network_unset (ospf, &p, area_id);
427 struct in_addr area_id;
66 ospf_str2area_id(char *str, struct in_addr *area_id, int *format) argument
363 struct in_addr area_id; variable in typeref:struct:in_addr
392 struct in_addr area_id; variable in typeref:struct:in_addr
422 struct in_addr area_id; variable in typeref:struct:in_addr
484 struct in_addr area_id; variable in typeref:struct:in_addr
507 struct in_addr area_id; variable in typeref:struct:in_addr
568 struct in_addr area_id; variable in typeref:struct:in_addr
594 struct in_addr area_id; variable in typeref:struct:in_addr
627 struct in_addr area_id; /* area ID from command line */ member in struct:ospf_vl_config_data
655 struct in_addr area_id; local
1325 struct in_addr area_id; variable in typeref:struct:in_addr
1364 struct in_addr area_id; variable in typeref:struct:in_addr
1388 struct in_addr area_id; variable in typeref:struct:in_addr
1416 struct in_addr area_id; variable in typeref:struct:in_addr
1444 struct in_addr area_id; variable in typeref:struct:in_addr
1466 struct in_addr area_id; variable in typeref:struct:in_addr
1485 struct in_addr area_id; variable in typeref:struct:in_addr
1551 struct in_addr area_id; variable in typeref:struct:in_addr
1579 struct in_addr area_id; variable in typeref:struct:in_addr
1601 struct in_addr area_id; variable in typeref:struct:in_addr
1622 struct in_addr area_id; variable in typeref:struct:in_addr
1653 struct in_addr area_id; variable in typeref:struct:in_addr
1672 ospf_area_check_free (area_id); variable
1687 struct in_addr area_id; variable in typeref:struct:in_addr
1709 struct in_addr area_id; variable in typeref:struct:in_addr
1734 struct in_addr area_id; variable in typeref:struct:in_addr
1756 struct in_addr area_id; variable in typeref:struct:in_addr
1782 struct in_addr area_id; variable in typeref:struct:in_addr
1826 struct in_addr area_id; variable in typeref:struct:in_addr
1875 struct in_addr area_id; variable in typeref:struct:in_addr
1895 struct in_addr area_id; variable in typeref:struct:in_addr
1916 struct in_addr area_id; variable in typeref:struct:in_addr
1927 ospf_area_check_free (area_id); variable
[all...]
H A Dospf_ia.c67 if (IPV4_ADDR_SAME (&or->u.std.area_id, &area->area_id) && (or->u.std.flags & ROUTER_LSA_BORDER))
149 or_area = ospf_area_lookup_by_area_id (new_or->u.std.area_id);
273 new_or->u.std.area_id = args->area->area_id;
353 new_or->u.std.area_id = area->area_id;
382 !OSPF_IS_AREA_ID_BACKBONE (or->u.std.area_id))
392 if (!OSPF_IS_AREA_ID_BACKBONE (or->u.std.area_id))
425 !OSPF_IS_AREA_ID_BACKBONE (or->u.std.area_id))
[all...]
H A Dospfd.h297 struct in_addr area_id; member in struct:ospf_area
403 struct in_addr area_id; member in struct:ospf_network
434 (memcmp ((X->area_id), (Y->area_id), IPV4_MAX_BYTELEN) == 0)
440 #define OSPF_IS_AREA_BACKBONE(A) OSPF_IS_AREA_ID_BACKBONE ((A)->area_id)
H A Dospf_route.c292 or->u.std.area_id = area->area_id;
349 or->u.std.area_id = area->area_id;
443 or->u.std.area_id = area->area_id;
576 or->u.std.area_id = area->area_id;
655 inet_ntop (AF_INET, &or->u.std.area_id, buf2,
668 inet_ntop (AF_INET, &or->u.std.area_id, buf
[all...]
H A Dospf_route.h63 struct in_addr area_id; /* The area the route belongs to */ member in struct:route_standard
H A Dospf_ase.c76 if (!OSPF_IS_AREA_ID_BACKBONE (or->u.std.area_id) &&
97 IPV4_ADDR_CMP (&best->u.std.area_id,
98 &or->u.std.area_id) < 0)
130 if (IPV4_ADDR_SAME (&or->u.std.area_id, &area->area_id))
638 inet_ntoa (area->area_id));
H A Dospf_interface.c686 vl_data->vl_area_id = area->area_id;
707 struct in_addr area_id;
755 area_id.s_addr = 0;
756 area = ospf_area_get (area_id, OSPF_AREA_ID_FORMAT_ADDRESS);
791 IPV4_ADDR_SAME (&vl_data->vl_area_id, &area->area_id))
898 zlog_info ("ospf_vl_up_check(): Area is %s", inet_ntoa (area->area_id));
916 IPV4_ADDR_SAME (&vl_data->vl_area_id, &area->area_id))
966 inet_ntoa (area->area_id));
982 if (IPV4_ADDR_SAME (&vl_data->vl_area_id, &area->area_id))
702 struct in_addr area_id; local
H A Dospf_packet.h82 struct in_addr area_id; /* Area ID. */ member in struct:ospf_header
H A Dospf_te.c306 if (IPV4_ADDR_SAME (&lp->area->area_id, &area->area_id))
639 && ! IPV4_ADDR_SAME (&lp->area->area_id, &oi->area->area_id))
643 zlog_warn ("MPLS-TE: Area for OI(%s) has changed to [%s], flush previous LSAs", IF_NAME (oi), oi->area ? inet_ntoa (oi->area->area_id) : "N/A");
960 char area_id[INET_ADDRSTRLEN]; local
961 strcpy (area_id, inet_ntoa (area->area_id));
962 zlog_info ("LSA[Type%d:%s]: Originate Opaque-LSA/MPLS-TE: Area(%s), Link(%s)", new->data->type, inet_ntoa (new->data->id), area_id, lp->ifp->name);
992 if (! IPV4_ADDR_SAME (&lp->area->area_id,
[all...]
H A Dospf_dump.c156 u_int32_t area_id;
161 area_id = ntohl (area->area_id.s_addr);
163 (area_id >> 24) & 0xff, (area_id >> 16) & 0xff,
164 (area_id >> 8) & 0xff, area_id & 0xff);
645 zlog_info (" Area ID %s", inet_ntoa (ospfh->area_id));
155 u_int32_t area_id; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/
H A Dospf6_area.c161 ospf6_area_create (u_int32_t area_id)
170 inet_ntop (AF_INET, &area_id, o6a->str, sizeof (o6a->str));
171 o6a->area_id = area_id;
249 ospf6_area_lookup (u_int32_t area_id, struct ospf6 *o6)
257 if (o6a->area_id == area_id)
315 u_int32_t area_id;
319 inet_pton (AF_INET, argv[0], &area_id);
320 o6a = ospf6_area_lookup (area_id, ospf
160 ospf6_area_create(u_int32_t area_id) argument
248 ospf6_area_lookup(u_int32_t area_id, struct ospf6 *o6) argument
314 u_int32_t area_id; variable
[all...]
H A Dospf6_area.h39 u_int32_t area_id; member in struct:ospf6_area
H A Dospf6_spf.h94 ospf6_spf_calculation_schedule (u_int32_t area_id);
H A Dospf6d.c316 u_int32_t area_id;
325 if (inet_pton (AF_INET, area_name, &area_id) != 1)
332 o6a = ospf6_area_lookup (area_id, ospf6);
335 o6a = ospf6_area_create (area_id);
506 u_int32_t area_id;
519 if (inet_pton (AF_INET, argv[1], &area_id) != 1)
525 if (o6i->area->area_id != area_id)
551 u_int32_t area_id;
555 inet_pton (AF_INET, argv[0], &area_id);
314 u_int32_t area_id; local
504 u_int32_t area_id; variable
549 u_int32_t area_id; variable
[all...]
H A Dospf6_route.c96 p1->area_id == p2->area_id)
154 (int)pn->path.prefix_options, pn->path.area_id,
170 (int)pn2->path.prefix_options, pn2->path.area_id,
403 char area_id[16];
413 inet_ntop (AF_INET, &request->path.area_id, area_id, sizeof (area_id));
425 area_id, PTYPE_NAME (request->path.type),
446 if (path_node->path.area_id
402 char area_id[16]; local
931 char area_id[16], type[16], id[16], adv[16]; local
[all...]
H A Dospf6_abr.c64 if (abr_entry->path.area_id != area->area_id)
302 area = ospf6_area_lookup (abr_entry->path.area_id, ospf6);
345 area = ospf6_area_lookup (abr_entry->path.area_id, ospf6);
457 if (target.path.area_id == area->area_id)
461 if (o6i && o6i->area && o6i->area->area_id == area->area_id)
468 if (area->area_id == ntohs (0) && /* Backbone */
H A Dospf6_spf.c797 request.path.area_id = o6a->area_id;
1092 ospf6_spf_calculation_schedule (o6a->area_id);
1096 ospf6_spf_calculation_schedule (u_int32_t area_id)
1101 o6a = ospf6_area_lookup (area_id, ospf6);
1104 inet_ntop (AF_INET, &area_id, buf, sizeof (buf));
1291 u_int32_t area_id;
1297 inet_pton (AF_INET, argv[0], &area_id);
1298 o6a = ospf6_area_lookup (area_id, ospf6);
1356 u_int32_t area_id;
1094 ospf6_spf_calculation_schedule(u_int32_t area_id) argument
1289 u_int32_t area_id; variable
1354 u_int32_t area_id; variable
1386 u_int32_t area_id; variable
[all...]
H A Dospf6_intra.c59 request.path.area_id = area->area_id;
187 area = ospf6_area_lookup (topo_entry->path.area_id, ospf6);
234 area = ospf6_area_lookup (topo_entry->path.area_id, ospf6);
568 ospf6_lsa_intra_prefix_update_stub (u_int32_t area_id)
587 o6a = ospf6_area_lookup (area_id, ospf6);
591 inet_ntop (AF_INET, &area_id, tmp, sizeof (tmp));
765 ospf6_lsa_intra_prefix_update_stub (o6i->area->area_id);
777 ospf6_lsa_intra_prefix_update_stub (o6n->ospf6_interface->area->area_id);
796 ospf6_lsa_intra_prefix_update_stub (o6i->area->area_id);
567 ospf6_lsa_intra_prefix_update_stub(u_int32_t area_id) argument
[all...]
H A Dospf6_asbr.c182 request.path.area_id = asbr_entry.path.area_id;
354 if (request.path.area_id != topo_entry->path.area_id)
H A Dospf6_route.h81 u_int32_t area_id;
80 u_int32_t area_id; member in struct:ospf6_path
H A Dospf6_message.h45 u_int32_t area_id; member in struct:ospf6_header
H A Dospf6_lsa.h400 void ospf6_lsa_update_router (u_int32_t area_id);
405 void ospf6_lsa_update_intra_prefix_stub (u_int32_t area_id);

Completed in 117 milliseconds

12