/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/ospf6d/ |
H A D | ospf6_ism.c | 257 myself.router_id = ospf6_interface->area->ospf6->router_id; 278 if (nbpi->dr == nbpi->router_id) 280 if (nbpi->bdr == nbpi->router_id) 287 if (myself.dr != myself.router_id) 289 if (myself.bdr == myself.router_id) 308 if (nbpi->bdr != nbpi->router_id) 313 if (nbpj->bdr != nbpj->router_id) 333 if (ntohl (nbpi->router_id) > ntohl (nbpj->router_id)) [all...] |
H A D | ospf6_abr.h | 38 u_int32_t router_id; /* Destination Router ID */ member in struct:ospf6_inter_area_router_lsa
|
H A D | ospf6_neighbor.c | 254 ospf6_neighbor_create (u_int32_t router_id, struct ospf6_interface *o6i) 271 new->router_id = router_id; 272 inet_ntop (AF_INET, &router_id, buf, sizeof (buf)); 308 ospf6_neighbor_lookup (u_int32_t router_id, 317 if (o6n->router_id == router_id) 330 char router_id[16]; 341 inet_ntop (AF_INET, &o6n->router_id, router_id, sizeo 253 ospf6_neighbor_create(u_int32_t router_id, struct ospf6_interface *o6i) argument 307 ospf6_neighbor_lookup(u_int32_t router_id, struct ospf6_interface *o6i) argument 328 char router_id[16]; local 461 u_int32_t router_id; variable [all...] |
H A D | ospf6_top.h | 41 u_int32_t router_id; member in struct:ospf6
|
H A D | ospf6_message.c | 288 char router_id[16], area_id[16]; local 294 inet_ntop (AF_INET, &o6h->router_id, router_id, sizeof (router_id)); 298 o6h->version, o6h->type, ntohs (o6h->len), router_id); 321 u_int32_t router_id) 331 u_int32_t router_id) 358 o6n = ospf6_neighbor_lookup (router_id, o6i); 361 o6n = ospf6_neighbor_create (router_id, o6i); 431 if (*router_id_ptr == o6i->area->ospf6->router_id) 316 ospf6_process_unknown(struct iovec *message, struct in6_addr *src, struct in6_addr *dst, struct ospf6_interface *o6i, u_int32_t router_id) argument 326 ospf6_process_hello(struct iovec *message, struct in6_addr *src, struct in6_addr *dst, struct ospf6_interface *o6i, u_int32_t router_id) argument 846 ospf6_process_dbdesc(struct iovec *message, struct in6_addr *src, struct in6_addr *dst, struct ospf6_interface *o6i, u_int32_t router_id) argument 904 ospf6_process_lsreq(struct iovec *message, struct in6_addr *src, struct in6_addr *dst, struct ospf6_interface *o6i, u_int32_t router_id) argument 1008 ospf6_process_lsupdate(struct iovec *message, struct in6_addr *src, struct in6_addr *dst, struct ospf6_interface *o6i, u_int32_t router_id) argument 1086 ospf6_process_lsack(struct iovec *message, struct in6_addr *src, struct in6_addr *dst, struct ospf6_interface *o6i, u_int32_t router_id) argument 1204 u_int32_t router_id; local [all...] |
H A D | ospf6_neighbor.h | 39 u_int32_t router_id; member in struct:ospf6_neighbor
|
H A D | ospf6_abr.c | 38 u_int32_t router_id, struct ospf6_area *area) 43 inet_ntop (AF_INET, &router_id, router_string, sizeof (router_string)); 51 abr_id.adv_router.s_addr = router_id; 218 = ier->router_id; 269 prefix_ls.adv_router.s_addr = ier->router_id; 402 htonl (request->route_id), ospf6->router_id, 413 ospf6->router_id, area->lsdb); 37 ospf6_abr_entry_lookup(struct ospf6_route_req *abr_entry, u_int32_t router_id, struct ospf6_area *area) argument
|
H A D | ospf6_dbex.c | 363 if (received->lsa_hdr->lsh_advrtr == ospf6->router_id 473 if (ospf6_interface->dr == from->router_id) 492 if (ospf6_interface->dr == from->router_id) 585 if (from && from->router_id == o6n->router_id) 616 if (from->router_id == from->ospf6_interface->dr || 617 from->router_id == from->ospf6_interface->bdr)
|
H A D | ospf6_lsa.c | 1166 htonl (0), o6a->ospf6->router_id, o6a); 1226 router_lsd->neighbor_router_id = o6n->router_id; 1260 router_lsd->neighbor_router_id = o6n->router_id; 1265 router_lsd->neighbor_router_id = o6i->area->ospf6->router_id; 1281 htonl (0), o6a->ospf6->router_id, 1383 u_int32_t *router_id; 1388 router_id = (u_int32_t *)(network_lsa + 1); 1398 router_id = (u_int32_t *) current; 1399 inet_ntop (AF_INET, router_id, buf, sizeof (buf)); 1417 u_int32_t *router_id; 1380 u_int32_t *router_id; local 1414 u_int32_t *router_id; local [all...] |
H A D | ospf6d.c | 284 DEFUN (router_id, 291 u_int32_t router_id; 293 ret = inet_pton (AF_INET, argv[0], &router_id); 303 ospf6->router_id = router_id; 689 inet_ntop (AF_INET, &ospf6->router_id, buf, sizeof (buf)); 289 u_int32_t router_id; variable
|
H A D | ospf6_asbr.c | 103 route.path.origin.id, ospf6->router_id, 121 ospf6->router_id, ospf6->lsdb); 142 if (lsa->header->adv_router == ospf6->router_id) 225 if (lsa->header->adv_router == ospf6->router_id)
|
H A D | ospf6_nsm.c | 88 if (o6n->router_id == o6n->ospf6_interface->dr) 90 if (o6n->router_id == o6n->ospf6_interface->bdr)
|
H A D | ospf6_intra.c | 414 htonl (o6i->if_id), ospf6->router_id, 461 if (n.lsa->header->adv_router != o6i->area->ospf6->router_id) 540 iap->refer_advrtr = o6i->area->ospf6->router_id; 563 htonl (o6i->if_id), ospf6->router_id, 602 htonl (0), ospf6->router_id, 731 iap->refer_advrtr = o6a->ospf6->router_id; 754 htonl (0) /* xxx */, ospf6->router_id,
|
H A D | ospf6_message.h | 44 u_int32_t router_id; member in struct:ospf6_header
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/ospfd/ |
H A D | ospf_neighbor.c | 161 ospf_nbr_bidirectional (struct in_addr *router_id, argument 170 if (IPV4_ADDR_SAME (router_id, &neighbors[i])) 215 if (!IPV4_ADDR_SAME (&nbr->router_id, &ospf_top->router_id)) 237 if (!IPV4_ADDR_SAME (&nbr->router_id, &ospf_top->router_id)) 283 if (IPV4_ADDR_SAME (&nbr->router_id, id)) 319 zlog_info ("Renegotiate optional capabilities with neighbor(%s)", inet_ntoa (nbr->router_id));
|
H A D | ospf_flood.c | 245 inet_ntoa (nbr->router_id), 366 IF_NAME (oi), inbr ? inet_ntoa (inbr->router_id) : "NULL", 388 inet_ntoa (onbr->router_id), 460 if (IPV4_ADDR_SAME (&inbr->router_id, &onbr->router_id)) 469 if (IPV4_ADDR_SAME (&inbr->router_id, &onbr->router_id)) 482 if (IPV4_ADDR_SAME (&lsa->data->adv_router, &onbr->router_id)) 770 inet_ntoa (nbr->router_id), dump_lsa_key (lsa)); 800 inet_ntoa (nbr->router_id), dump_lsa_ke [all...] |
H A D | ospf_neighbor.h | 41 struct in_addr router_id; /* Router ID. */ member in struct:ospf_neighbor
|
H A D | ospf_packet.c | 279 nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &ospfh->router_id); 596 if (IPV4_ADDR_SAME (&ospfh->router_id, &ospf_top->router_id)) 615 inet_ntoa (ospfh->router_id)); 623 inet_ntoa (ospfh->router_id)); 631 inet_ntoa (ospfh->router_id)); 637 inet_ntoa (ospfh->router_id), 650 inet_ntoa (ospfh->router_id)); 664 inet_ntoa (ospfh->router_id)); 683 zlog_warn ("NSSA-Packet-%s[Hello:RECV]: my options: %x, his options %x", inet_ntoa (ospfh->router_id), OPTION [all...] |
H A D | ospfd.c | 72 struct in_addr router_id; 74 memset (&router_id, 0, sizeof (struct in_addr)); 87 if (IPV4_ADDR_CMP (&router_id, &oi->address->u.prefix4) < 0) 88 router_id = oi->address->u.prefix4; 91 return router_id; 100 struct in_addr router_id, router_id_old; 103 zlog_info ("Router-ID[OLD:%s]: Update",inet_ntoa (ospf_top->router_id)); 105 router_id_old = ospf_top->router_id; 108 router_id = ospf_top->router_id_static; 110 router_id 71 struct in_addr router_id; local 99 struct in_addr router_id, router_id_old; local [all...] |
H A D | ospf_ism.c | 68 if (IPV4_ADDR_CMP (&max->router_id, &nbr->router_id) < 0) 186 if (nbr->router_id.s_addr != 0) 204 if (nbr->router_id.s_addr != 0) 208 if (!IPV4_ADDR_SAME (&nbr->router_id, &ospf_top->router_id))
|
H A D | ospf_nsm.c | 66 IF_NAME (nbr->oi), inet_ntoa (nbr->router_id)); 150 IF_NAME (nbr->oi), inet_ntoa (nbr->router_id)); 676 IF_NAME (nbr->oi), inet_ntoa (nbr->router_id), 798 struct in_addr router_id; 804 router_id = nbr->router_id; 818 IF_NAME (oi), inet_ntoa (router_id)); 832 inet_ntoa (nbr->router_id), 795 struct in_addr router_id; local
|
H A D | ospf_snmp.c | 532 return SNMP_IPADDRESS (ospf_top->router_id); 880 struct in_addr *router_id, int router_id_next) 894 lsa = ospf_lsdb_lookup_by_id_next (area->lsdb, *type, *ls_id, *router_id, 907 struct in_addr *ls_id, struct in_addr *router_id, int exact) 946 oid2in_addr (offset, IN_ADDR_SIZE, router_id); 949 return ospf_lsdb_lookup_by_id (area->lsdb, *type, *ls_id, *router_id); 1017 oid2in_addr (offset, len, router_id); 1021 router_id, router_id_next); 1055 struct in_addr router_id; 1063 memset (&router_id, 875 lsdb_lookup_next(struct ospf_area *area, u_char *type, int type_next, struct in_addr *ls_id, int ls_id_next, struct in_addr *router_id, int router_id_next) 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 1052 struct in_addr router_id; local 2254 ospfExtLsdbLookup(struct variable *v, oid *name, size_t *length, u_char *type, struct in_addr *ls_id, struct in_addr *router_id, int exact) argument 2350 struct in_addr router_id; local [all...] |
H A D | ospf_packet.h | 81 struct in_addr router_id; /* Router ID. */ member in struct:ospf_header
|
H A D | ospf_asbr.c | 215 p->prefix, ospf_top->router_id); 228 id, ospf_top->router_id);
|
H A D | ospf_lsa.c | 404 lsah->adv_router = ospf_top->router_id; 447 ospf_nbr_lookup_ptop (struct route_table *nbrs, struct in_addr router_id) 456 if (!IPV4_ADDR_SAME (&nbr->router_id, &ospf_top->router_id)) 491 if ((nbr = ospf_nbr_lookup_ptop (oi->nbrs, ospf_top->router_id))) 496 link_info_set (s, nbr->router_id, oi->address->u.prefix4, 586 if ((nbr = ospf_nbr_lookup_ptop (oi->nbrs, ospf_top->router_id))) 589 link_info_set (s, nbr->router_id, oi->address->u.prefix4, 689 OSPF_ROUTER_LSA, ospf_top->router_id); 693 OSPF_ROUTER_LSA, ospf_top->router_id); 440 ospf_nbr_lookup_ptop(struct route_table *nbrs, struct in_addr router_id) argument [all...] |