ipv4: support sport, dport and ip_proto in RTM_GETROUTE
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 22 May 2018 21:03:27 +0000 (14:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 19:14:12 +0000 (15:14 -0400)
commit404eb77ea766260c45cb05c4a8043b13bd7142d5
tree92d5b814e958a0c488efceaf460f0d8833cabe80
parent273de02ae7d828d72d66eb5fce181e1f3f96d0cd
ipv4: support sport, dport and ip_proto in RTM_GETROUTE

This is a followup to fib rules sport, dport and ipproto
match support. Only supports tcp, udp and icmp for ipproto.
Used by fib rule self tests.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
include/uapi/linux/rtnetlink.h
net/ipv4/Makefile
net/ipv4/fib_frontend.c
net/ipv4/netlink.c [new file with mode: 0644]
net/ipv4/route.c