diff options
author | Xin Long <lucien.xin@gmail.com> | 2020-10-29 15:05:07 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-30 15:24:35 -0700 |
commit | 259db53ba5933a2a507238c47ffa52c906c27df0 (patch) | |
tree | e4fc0033711c22cebfa3e10b19474b4b56e351b2 /include | |
parent | 600af7fd809ad2a307b6c53b2a3e45453a75cdb6 (diff) |
sctp: support for sending packet over udp6 sock
This one basically does the similar things in sctp_v6_xmit as does for
udp4 sock in the last patch, just note that:
1. label needs to be calculated, as it's the param of
udp_tunnel6_xmit_skb().
2. The 'nocheck' param of udp_tunnel6_xmit_skb() is false, as
required by RFC.
v1->v2:
- Use sp->udp_port instead in sctp_v6_xmit(), which is more safe.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions