1. 26 Apr, 2010 3 commits
    • Patrick McHardy's avatar
      net: ipmr: add support for dumping routing tables over netlink · cb6a4e46
      Patrick McHardy authored
      The ipmr /proc interface (ip_mr_cache) can't be extended to dump routes
      from any tables but the main table in a backwards compatible fashion since
      the output format ends in a variable amount of output interfaces.
      
      Introduce a new netlink interface to dump multicast routes from all tables,
      similar to the netlink interface for regular routes.
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      cb6a4e46
    • Patrick McHardy's avatar
      net: rtnetlink: decouple rtnetlink address families from real address families · 25239cee
      Patrick McHardy authored
      Decouple rtnetlink address families from real address families in socket.h to
      be able to add rtnetlink interfaces to code that is not a real address family
      without increasing AF_MAX/NPROTO.
      
      This will be used to add support for multicast route dumping from all tables
      as the proc interface can't be extended to support anything but the main table
      without breaking compatibility.
      
      This partialy undoes the patch to introduce independant families for routing
      rules and converts ipmr routing rules to a new rtnetlink family. Similar to
      that patch, values up to 127 are reserved for real address families, values
      above that may be used arbitrarily.
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      25239cee
    • Patrick McHardy's avatar
      net: fib_rules: mark arguments to fib_rules_register const and __net_initdata · 3d0c9c4e
      Patrick McHardy authored
      fib_rules_register() duplicates the template passed to it without modification,
      mark the argument as const. Additionally the templates are only needed when
      instantiating a new namespace, so mark them as __net_initdata, which means
      they can be discarded when CONFIG_NET_NS=n.
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      3d0c9c4e
  2. 25 Apr, 2010 2 commits
  3. 24 Apr, 2010 4 commits
  4. 23 Apr, 2010 9 commits
  5. 22 Apr, 2010 22 commits