valid lifetime of a prefix
ra_reachabletime integer 0 Reachable Time in milliseconds to be
advertised in RA messages
+ra_retranstime integer 0 Retransmit Time in milliseconds to be
+ advertised in RA messages
ra_hoplimit integer 0 Current hoplimit to be advertised
in RA messages
ra_mtu integer 0 MTU to be advertised in
IFACE_ATTR_RA_LIFETIME,
IFACE_ATTR_RA_USELEASETIME,
IFACE_ATTR_RA_REACHABLETIME,
+ IFACE_ATTR_RA_RETRANSTIME,
IFACE_ATTR_RA_HOPLIMIT,
IFACE_ATTR_RA_MTU,
IFACE_ATTR_PD_MANAGER,
[IFACE_ATTR_RA_LIFETIME] = { .name = "ra_lifetime", .type = BLOBMSG_TYPE_INT32 },
[IFACE_ATTR_RA_USELEASETIME] = { .name = "ra_useleasetime", .type = BLOBMSG_TYPE_BOOL },
[IFACE_ATTR_RA_REACHABLETIME] = { .name = "ra_reachabletime", .type = BLOBMSG_TYPE_INT32 },
+ [IFACE_ATTR_RA_RETRANSTIME] = { .name = "ra_retranstime", .type = BLOBMSG_TYPE_INT32 },
[IFACE_ATTR_RA_HOPLIMIT] = { .name = "ra_hoplimit", .type = BLOBMSG_TYPE_INT32 },
[IFACE_ATTR_RA_MTU] = { .name = "ra_mtu", .type = BLOBMSG_TYPE_INT32 },
[IFACE_ATTR_NDPROXY_ROUTING] = { .name = "ndproxy_routing", .type = BLOBMSG_TYPE_BOOL },
goto err;
}
+ if ((c = tb[IFACE_ATTR_RA_RETRANSTIME]))
+ iface->ra_retranstime = blobmsg_get_u32(c);
+
if ((c = tb[IFACE_ATTR_RA_HOPLIMIT])) {
iface->ra_hoplimit = blobmsg_get_u32(c);
if (iface->ra_hoplimit > 255)
adv.h.nd_ra_flags_reserved |= ND_RA_PREF_HIGH;
adv.h.nd_ra_reachable = htonl(iface->ra_reachabletime);
+ adv.h.nd_ra_retransmit = htonl(iface->ra_retranstime);
odhcpd_get_mac(iface, adv.lladdr.data);