Commit 7edb0112 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek Committed by Juliusz Chroboczek

Rename send_hello_noupdate to send_hello_noihu.

parent f107b49e
...@@ -812,7 +812,7 @@ main(int argc, char **argv) ...@@ -812,7 +812,7 @@ main(int argc, char **argv)
send_wildcard_retraction(ifp); send_wildcard_retraction(ifp);
/* Make sure that we expire quickly from our neighbours' /* Make sure that we expire quickly from our neighbours'
association caches. */ association caches. */
send_hello_noupdate(ifp, 10); send_hello_noihu(ifp, 10);
flushbuf(&ifp->buf); flushbuf(&ifp->buf);
usleep(roughly(1000)); usleep(roughly(1000));
gettime(&now); gettime(&now);
...@@ -822,7 +822,7 @@ main(int argc, char **argv) ...@@ -822,7 +822,7 @@ main(int argc, char **argv)
continue; continue;
/* Make sure they got it. */ /* Make sure they got it. */
send_wildcard_retraction(ifp); send_wildcard_retraction(ifp);
send_hello_noupdate(ifp, 1); send_hello_noihu(ifp, 1);
flushbuf(&ifp->buf); flushbuf(&ifp->buf);
usleep(roughly(10000)); usleep(roughly(10000));
gettime(&now); gettime(&now);
......
...@@ -1024,7 +1024,7 @@ send_ack(struct neighbour *neigh, unsigned short nonce, unsigned short interval) ...@@ -1024,7 +1024,7 @@ send_ack(struct neighbour *neigh, unsigned short nonce, unsigned short interval)
} }
void void
send_hello_noupdate(struct interface *ifp, unsigned interval) send_hello_noihu(struct interface *ifp, unsigned interval)
{ {
/* This avoids sending multiple hellos in a single packet, which breaks /* This avoids sending multiple hellos in a single packet, which breaks
link quality estimation. */ link quality estimation. */
...@@ -1060,7 +1060,7 @@ send_hello_noupdate(struct interface *ifp, unsigned interval) ...@@ -1060,7 +1060,7 @@ send_hello_noupdate(struct interface *ifp, unsigned interval)
void void
send_hello(struct interface *ifp) send_hello(struct interface *ifp)
{ {
send_hello_noupdate(ifp, (ifp->hello_interval + 9) / 10); send_hello_noihu(ifp, (ifp->hello_interval + 9) / 10);
/* Send full IHU every 3 hellos, and marginal IHU each time */ /* Send full IHU every 3 hellos, and marginal IHU each time */
if(ifp->hello_seqno % 3 == 0) if(ifp->hello_seqno % 3 == 0)
send_ihu(NULL, ifp); send_ihu(NULL, ifp);
......
...@@ -58,7 +58,7 @@ void flushbuf(struct buffered *buf); ...@@ -58,7 +58,7 @@ void flushbuf(struct buffered *buf);
void flushupdates(struct interface *ifp); void flushupdates(struct interface *ifp);
void send_ack(struct neighbour *neigh, unsigned short nonce, void send_ack(struct neighbour *neigh, unsigned short nonce,
unsigned short interval); unsigned short interval);
void send_hello_noupdate(struct interface *ifp, unsigned interval); void send_hello_noihu(struct interface *ifp, unsigned interval);
void send_hello(struct interface *ifp); void send_hello(struct interface *ifp);
void flush_unicast(int dofree); void flush_unicast(int dofree);
void send_update(struct interface *ifp, int urgent, void send_update(struct interface *ifp, int urgent,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment