]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: Plumb support for filtering route dumps
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Oct 2018 01:56:43 +0000 (18:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 07:13:12 +0000 (00:13 -0700)
commit11dba2eebaf4522037be19b3121fbd50c730686c
tree0d955c71e85183c169450022e6446f3aff563f15
parent159811a5368df09b71ec61c0ba2c11552e7f23e3
net/ipv4: Plumb support for filtering route dumps

Implement kernel side filtering of routes by table id, egress device index,
protocol and route type. If the table id is given in the filter, lookup the
table and call fib_table_dump directly for it.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_frontend.c
net/ipv4/fib_trie.c