25 uint32_t val_lifetime,
26 uint32_t pref_lifetime)
28 , m_use_default(use_default)
29 , m_no_advertise(no_advertise)
33 , m_val_lifetime(val_lifetime)
34 , m_pref_lifetime(pref_lifetime)
46 ra_prefix.no_autoconfig = m_no_autoconfig;
49 ra_prefix.pref_lifetime = m_pref_lifetime;
55 return ((m_pfx == other.m_pfx) && (m_use_default == other.m_use_default) &&
56 (m_no_advertise == other.m_no_advertise) &&
57 (m_val_lifetime == other.m_val_lifetime) &&
58 (m_pref_lifetime == other.m_pref_lifetime));
66 s <<
"ra-pfx-config:["
67 <<
" pfx:" << m_pfx.
to_string() <<
" use-default:" << m_use_default
68 <<
" no-advertise:" << m_no_advertise <<
" val-lifetime:" << m_val_lifetime
69 <<
" pref-lifetime:" << m_pref_lifetime <<
"]";