• David Lebrun's avatar
    ipv6: sr: add rtnetlink functions for seg6local action parameters · 2d9cc60a
    David Lebrun authored
    This patch adds the necessary functions to parse, fill, and compare
    seg6local rtnetlink attributes, for all defined action parameters.
    
    - The SRH parameter defines an SRH to be inserted or encapsulated.
    - The TABLE parameter defines the table to use for the route lookup of
      the next segment or the inner decapsulated packet.
    - The NH4 parameter defines the IPv4 next-hop for an inner decapsulated
      IPv4 packet.
    - The NH6 parameter defines the IPv6 next-hop for the next segment or
      for an inner decapsulated IPv6 packet
    - The IIF parameter defines an ingress interface index.
    - The OIF parameter defines an egress interface index.
    Signed-off-by: default avatarDavid Lebrun <david.lebrun@uclouvain.be>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2d9cc60a
seg6_local.c 10.6 KB