Init()
Initializes the Prefix Info option with proper type and length and sets all other fields to zero.
IsOnLinkFlagSet() const
Indicates whether or not the on-link flag is set.
SetOnLinkFlag()
Sets the on-link (L) flag.
ClearOnLinkFlag()
Clears the on-link (L) flag.
IsAutoAddrConfigFlagSet() const
Indicates whether or not the autonomous address-configuration (A) flag is set.
SetAutoAddrConfigFlag()
Sets the autonomous address-configuration (A) flag.
ClearAutoAddrConfigFlag()
Clears the autonomous address-configuration (A) flag.
IsDhcp6PdPreferredFlagSet() const
Indicates whether or not the DhCPv6-PD Preferred (P) flag is set.
SetValidLifetime()
Sets the valid lifetime of the prefix in seconds.
GetValidLifetime() const
THis method gets the valid lifetime of the prefix in seconds.
SetPreferredLifetime()
Sets the preferred lifetime of the prefix in seconds.
GetPreferredLifetime() const
THis method returns the preferred lifetime of the prefix in seconds.
SetPrefix()
Sets the prefix.
GetPrefix() const
Gets the prefix in this option.
IsValid() const
Indicates whether or not the option is valid.