From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Long Subject: [PATCH net-next 0/5] sctp: fully support for dscp and flowlabel per transport Date: Mon, 25 Jun 2018 10:14:32 +0800 Message-ID: Cc: Marcelo Ricardo Leitner , Neil Horman , davem@davemloft.net To: network dev , linux-sctp@vger.kernel.org Return-path: Received: from mail-pl0-f66.google.com ([209.85.160.66]:47075 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752455AbeFYCOq (ORCPT ); Sun, 24 Jun 2018 22:14:46 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Now dscp and flowlabel are set from sock when sending the packets, but being multi-homing, sctp also supports for dscp and flowlabel per transport, which is described in section 8.1.12 in RFC6458. Xin Long (5): ipv4: add __ip_queue_xmit() that supports tos param sctp: add support for dscp and flowlabel per transport sctp: add spp_ipv6_flowlabel and spp_dscp for sctp_paddrparams sctp: add support for setting flowlabel when adding a transport sctp: check for ipv6_pinfo legal sndflow with flowlabel in sctp_v6_get_dst include/linux/sctp.h | 7 ++ include/net/ip.h | 2 + include/net/sctp/structs.h | 9 +++ include/uapi/linux/sctp.h | 4 ++ net/ipv4/ip_output.c | 13 +++- net/sctp/associola.c | 15 +++++ net/sctp/ipv6.c | 20 +++++- net/sctp/protocol.c | 16 +++-- net/sctp/socket.c | 157 +++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 234 insertions(+), 9 deletions(-) -- 2.1.0