• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/ospf6d/

Lines Matching defs:hello

94   struct ospf6_hello *hello;
104 hello = (struct ospf6_hello *) message[1].iov_base;
106 inet_ntop (AF_INET, &hello->dr, dr_str, sizeof (dr_str));
107 inet_ntop (AF_INET, &hello->bdr, bdr_str, sizeof (bdr_str));
110 (u_long)ntohl (hello->interface_id), hello->rtr_pri, "xxx");
112 ntohs (hello->hello_interval),
113 ntohs (hello->router_dead_interval));
116 start = (char *) (hello + 1);
335 struct ospf6_hello *hello;
354 /* set hello pointer */
355 hello = (struct ospf6_hello *) message[1].iov_base;
362 o6n->ifid = ntohl (hello->interface_id);
363 o6n->prevdr = o6n->dr = hello->dr;
364 o6n->prevbdr = o6n->bdr = hello->bdr;
365 o6n->priority = hello->rtr_pri;
370 if (ntohs (hello->hello_interval) != o6i->hello_interval)
377 if (ntohs (hello->router_dead_interval)
386 if (ospf6_opt_is_mismatch (OSPF6_OPT_E, hello->options, o6i->area->options))
393 if (o6n->priority != hello->rtr_pri)
395 o6n->priority = hello->rtr_pri;
402 if (o6n->dr != hello->dr)
406 o6n->dr = hello->dr;
414 if (o6n->bdr != hello->bdr)
418 o6n->bdr = hello->bdr;
428 router_id_ptr = (u_int32_t *) (hello + 1);
446 if (hello->dr == hello->bdr &&
447 hello->dr == o6n->router_id)
450 if (hello->bdr == o6n->router_id)
452 else if (hello->dr == o6n->router_id && hello->bdr == 0)
1446 struct ospf6_hello hello;
1467 hello.interface_id = htonl (o6i->if_id);
1468 hello.rtr_pri = o6i->priority;
1469 memcpy (hello.options, o6i->area->options, sizeof (hello.options));
1470 hello.hello_interval = htons (o6i->hello_interval);
1471 hello.router_dead_interval = htons (o6i->dead_interval);
1472 hello.dr = o6i->dr;
1473 hello.bdr = o6i->bdr;
1474 OSPF6_MESSAGE_ATTACH (message, &hello, sizeof (struct ospf6_hello));
1502 /* send hello */