diff options
author | 2020-10-29 15:05:07 +0800 | |
---|---|---|
committer | 2020-10-30 15:24:35 -0700 | |
commit | 259db53ba5933a2a507238c47ffa52c906c27df0 (patch) | |
tree | e4fc0033711c22cebfa3e10b19474b4b56e351b2 /include | |
parent | sctp: support for sending packet over udp4 sock (diff) | |
download | linux-dev-259db53ba5933a2a507238c47ffa52c906c27df0.tar.xz linux-dev-259db53ba5933a2a507238c47ffa52c906c27df0.zip |
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