Re: [RFC] net-dhcp-leases: virNetworkDHCPLeases struct design

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Since no one likes the idea of having a union, but we do want to
> support dhcpv6, following is the new design:
>
> struct _virNetworkDHCPLeases {
>     char *interface;            /* Network interface name (non-null) */
>     long long expirytime;       /* Seconds since epoch (non-null) */
>     int type;                   /* virIPAddrType (non-null) */
>     unsigned int prefix;        /* IP address prefix (non-null) */
>     char *mac;                  /* MAC address (mostly non-null,
> except rare cases) */
>     char *iaid;                 /* IAID (ipv6) (null, in case of ipv4) */
>     char *ipaddr;               /* IP address (non-null) */
>     char *hostname;             /* Hostname (can be null) */
>     char *clientid;             /* Client ID(ipv4) or DUID(ipv6) (can
> be null, in case of ipv4) */
> };
> --
> Nehal J Wani

ping. I would like to continue on v5 of the lease API series, if the
above struct gets acknowledged.

-- 
Nehal J Wani

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]