API extension for IPv6 Flags

Thomas Haller thaller at redhat.com
Tue Jan 31 00:15:05 PST 2017


On Mon, 2017-01-30 at 15:42 +0100, Markus Trapp wrote:
> Hi,
> 
> we want to use libnl to read the IPv6 specific flags (e.g.
> IF_RA_MANAGED, IF_RA_OTHERCONF) from a rtnl_link struct.
> I have seen these flags are already stored using the inet6_data
> struct
> but are not accessible using the libnl-route API.
> Is such an interface extension imaginable or already planned?
> Or could you give me any advice which requirements such an interface
> extension must met so that you would accept it for upstream?
> 

Hi Markus,


yes, accessor API is missing and should be added.

It should be functions like:

  int rtnl_link_inet6_get_flags(struct rtnl_link *link, guint32 *out_flags);
  int rtnl_link_inet6_set_flags(struct rtnl_link *link, guint32 flags);


best,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20170131/7c02898f/attachment.sig>


More information about the libnl mailing list