summaryrefslogtreecommitdiff
path: root/proto/radv/radv.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-08-29 19:17:35 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-08-30 16:34:15 +0200
commit08b6a617e862ffc7b7460abb79fe4c198806517c (patch)
tree036339256e32b78c6f8dd319b6755559e2e0dc79 /proto/radv/radv.h
parentec7d6a506ecae89e5019ce7fcb380a713be28bce (diff)
RAdv: Some style nitpicks
Diffstat (limited to 'proto/radv/radv.h')
-rw-r--r--proto/radv/radv.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/proto/radv/radv.h b/proto/radv/radv.h
index 777c6e16..60b9980f 100644
--- a/proto/radv/radv.h
+++ b/proto/radv/radv.h
@@ -130,16 +130,12 @@ struct radv_prefix /* One prefix we advertise */
node n;
ip_addr prefix;
u8 len;
- /* Is the prefix alive? If not, we advertise it with 0 lifetime, so clients
- * stop using it. */
- u8 alive;
+ u8 alive; /* Is the prefix alive? If not, we advertise it
+ with 0 lifetime, so clients stop using it */
u8 mark; /* A temporary mark for processing */
- /* The (absolute) time when we drop this prefix from advertising. It is valid
- * only if !alive. */
- bird_clock_t expires;
- /* The config tied to this prefix. Always valid (we place a dummy config here
- * when !alive). */
- struct radv_prefix_config *config;
+ bird_clock_t expires; /* The time when we drop this prefix from
+ advertising. It is valid only if !alive. */
+ struct radv_prefix_config *cf; /* The config tied to this prefix */
};
struct radv_iface
@@ -150,7 +146,7 @@ struct radv_iface
struct iface *iface;
struct ifa *addr; /* Link-local address of iface */
struct pool *pool; /* A pool for interface-specific things */
- list prefixes; /* The prefixes we advertise */
+ list prefixes; /* The prefixes we advertise (struct radv_prefix) */
bird_clock_t prefix_expires; /* When the soonest prefix expires (0 = none dead) */
timer *timer;