History

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.

Roopa Prabhu committed 8 years ago

Commit 404eb771 parent 273de026 files · +140 −40Browse files

Showing the changes to include/uapi/linux (1 of 6 files). Show all

Unified · Split

include/uapi/linux/rtnetlink.h+3−0
@@ -327,6 +327,9 @@ enum rtattr_type_t { · 326 unmodified lines
327327 RTA_PAD,
328328 RTA_UID,
329329 RTA_TTL_PROPAGATE,
330+ RTA_IP_PROTO,
331+ RTA_SPORT,
332+ RTA_DPORT,
330333 __RTA_MAX
331334 };
332335