diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-07-02 12:21:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-04 04:36:54 +0200 |
commit | 69b9e1e07d98b57b972df3c44647ca8795284d39 (patch) | |
tree | 726deadc9bd959da36696768e0462243f9579300 /net/sctp/protocol.c | |
parent | net: dsa: Add Vitesse VSC73xx DSA router driver (diff) | |
download | linux-69b9e1e07d98b57b972df3c44647ca8795284d39.tar.xz linux-69b9e1e07d98b57b972df3c44647ca8795284d39.zip |
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>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions