commit | 69b9e1e07d98b57b972df3c44647ca8795284d39 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Mon Jul 02 18:21:11 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 04 11:36:54 2018 +0900 |
tree | 726deadc9bd959da36696768e0462243f9579300 | |
parent | 05bd97fc559df4d26e33b0714b5327de8f610971 [diff] |
ipv4: add __ip_queue_xmit() that supports tos param This patch introduces __ip_queue_xmit(), through which the callers can pass tos param into it without having to set inet->tos. For ipv6, ip6_xmit() already allows passing tclass parameter. It's needed when some transport protocol doesn't use inet->tos, like sctp's per transport dscp, which will be added in next patch. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>