Skip to content
  • Thomas Haller's avatar
    libnm: add NMIPRoutingRule API · 7fb23b0a
    Thomas Haller authored
    Add NMIPRoutingRule API with a few basic rule properties. More
    properties will be added later as we want to support them.
    
    Also, add to/from functions for string/GVariant representations.
    These will be needed to persist/load/exchange rules.
    
    The to-string format follows the `ip rule add` syntax, with the aim
    to be partially compatible. Full compatibility is not possible though,
    for various reasons (see code comment).
    7fb23b0a