Home | History | Annotate | Download | only in map-mbone

Lines Matching defs:neighbor

53 typedef struct neighbor {
54 struct neighbor *next;
60 } Neighbor;
65 Neighbor *neighbors; /* List of neighbors' IP addresses */
74 struct interface *interfaces; /* Else, neighbor data */
91 Neighbor * find_neighbor(u_int32_t addr, Node *node);
147 Neighbor *find_neighbor(u_int32_t addr, Node *node)
152 Neighbor *nb;
228 * Process an incoming neighbor probe message.
250 * Process an incoming neighbor-list request message.
256 "ignoring spurious DVMRP neighbor request from %s to %s",
264 "ignoring spurious DVMRP neighbor request2 from %s to %s",
270 * Process an incoming neighbor-list message.
313 Neighbor *old_neighbors;
351 Neighbor *nb_i, *next_nb_i, *nb_n;
362 "inconsistent %s for neighbor %s of %s",
369 if (!nb_n) { /* no match for this neighbor yet */
388 u_int32_t neighbor;
389 Neighbor *nb;
393 logit(LOG_WARNING, 0, "received truncated neighbor list from %s",
398 GET_ADDR(neighbor);
399 neighbor = htonl(neighbor);
403 if (nb->addr == neighbor) {
406 "inconsistent %s for neighbor %s of %s",
412 nb = (Neighbor *) malloc(sizeof(Neighbor));
415 nb->addr = neighbor;
420 n_node = find_node(neighbor, &routers);
422 ask(neighbor);
448 Neighbor *old_neighbors;
492 Neighbor *nb_i, *next_nb_i, *nb_n;
503 "inconsistent %s for neighbor %s of %s",
510 if (!nb_n) { /* no match for this neighbor yet */
529 u_int32_t neighbor;
530 Neighbor *nb;
534 logit(LOG_WARNING, 0, "received truncated neighbor list from %s",
539 neighbor = *(u_int32_t*)p;
542 if (neighbor == 0)
544 neighbor = ifc_addr;
547 if (nb->addr == neighbor) {
550 "inconsistent %s for neighbor %s of %s",
556 nb = (Neighbor *) malloc(sizeof(Neighbor));
559 nb->addr = neighbor;
564 n_node = find_node(neighbor, &routers);
566 ask(neighbor);
641 Neighbor *nb;
695 Neighbor *nb;
709 Neighbor *nb2;
744 Neighbor *nb;
922 logit(LOG_DEBUG, 0, "Timed out receiving neighbor lists");