platform: clarify that address lifetimes are in seconds
This commit is contained in:
@@ -124,16 +124,16 @@ typedef struct {
|
|||||||
in_addr_t address;
|
in_addr_t address;
|
||||||
int plen;
|
int plen;
|
||||||
guint32 timestamp;
|
guint32 timestamp;
|
||||||
guint32 lifetime;
|
guint32 lifetime; /* seconds */
|
||||||
guint32 preferred;
|
guint32 preferred; /* seconds */
|
||||||
} NMPlatformIP4Address;
|
} NMPlatformIP4Address;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int ifindex;
|
int ifindex;
|
||||||
struct in6_addr address;
|
struct in6_addr address;
|
||||||
int plen;
|
int plen;
|
||||||
guint32 timestamp;
|
guint32 timestamp; /* seconds */
|
||||||
guint32 lifetime;
|
guint32 lifetime; /* seconds */
|
||||||
guint32 preferred;
|
guint32 preferred;
|
||||||
guint flags; /* ifa_flags from <linux/if_addr.h>, field type "unsigned int" is as used in rtnl_addr_get_flags. */
|
guint flags; /* ifa_flags from <linux/if_addr.h>, field type "unsigned int" is as used in rtnl_addr_get_flags. */
|
||||||
} NMPlatformIP6Address;
|
} NMPlatformIP6Address;
|
||||||
|
Reference in New Issue
Block a user