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>
Showing
- include/net/ip.h 3 additions, 0 deletionsinclude/net/ip.h
- include/uapi/linux/rtnetlink.h 3 additions, 0 deletionsinclude/uapi/linux/rtnetlink.h
- net/ipv4/Makefile 1 addition, 1 deletionnet/ipv4/Makefile
- net/ipv4/fib_frontend.c 3 additions, 0 deletionsnet/ipv4/fib_frontend.c
- net/ipv4/netlink.c 23 additions, 0 deletionsnet/ipv4/netlink.c
- net/ipv4/route.c 107 additions, 39 deletionsnet/ipv4/route.c
Loading
Please register or sign in to comment