On Mon, Apr 22, 2019 at 6:49 PM David Ahern <dsah...@gmail.com> wrote: > > On 4/22/19 7:15 PM, Tom Herbert wrote: > > Is there are particular reason why you think rtnetlink would be more > > appropriate? > > Thinking about this from an app API perspective: rtnetlink is used to > configure IPv6 addresses and IPv6 routes yet extensions will require a > genl interface. Just seems odd for some network manager / FRR / other to > deal with.
David, This interface is for configuring general parameters about TLV types, it's not for setting TLVs on routes or packet. The "ip" command type interface using genl should be sufficient for that purpose. For exmple, here is "ip" command I'm using to allow non-privileged users to set path MTU option (draft-hinden-6man-mtu-option-01): sudo $QDIR/sbin/ip ip6tlv set type 62 order 80 user-perm 1 class 1 align-mult 2 align-off 0 min-len 4 max-len 4 len-mult 1 len-off 0 Tom