• Ondřej Zajíček's avatar
    KRT: Add krt_scope attribute · 6e75d0d2
    Ondřej Zajíček authored
    Add a new route attribute, krt_scope, to expose the Linux kernel route
    scope. Constants from /etc/iproute2/rt_scopes (prefixed by "ips_") are
    expected to be used with the attribute. Both import and export are
    supported.
    
    Also, the patch fixes device route export to the kernel, by setting link
    scope automatically.
    6e75d0d2