Getting an IPv6 address scope id from rtnl_addr

Itai Fiat Gecht itaifg at infinidat.com
Mon Mar 7 05:56:56 PST 2016


Hello,

Is there a way of getting an IPv6 address's scope id from an rtnl_addr
pointer?

(I'm speaking about the scope id which can be used in the sin6_scope_id field
of sockaddr_in6, not the scope returned by rtnl_addr_get_scope().)

Itai



More information about the libnl mailing list