diff --git a/newip/apply_newip.sh b/newip/apply_newip.sh index 0b111a60887a4888694d7d9e0820d07aff6e5fa6..43eea5063753abc185d83f9e0bac8f6a891185e8 100644 --- a/newip/apply_newip.sh +++ b/newip/apply_newip.sh @@ -2,6 +2,12 @@ # SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2022 Huawei Device Co., Ltd. # +# Description: Create a symbolic link for NewIP in Linux 5.10 +# +# Author: Yang Yanjun +# +# Data: 2022-07-25 +# set -e diff --git a/newip/src/common/nip_addr.h b/newip/src/common/nip_addr.h index 8535b5c9a5c5a4779760b0af83e07ef6400fea7d..3a461fe025f81234c4eef1be6d036a0bd7df0b9c 100644 --- a/newip/src/common/nip_addr.h +++ b/newip/src/common/nip_addr.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later WITH Linux-syscall-note */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * Copyright (c) 2022 Huawei Device Co., Ltd. * diff --git a/newip/src/linux-5.10/net/newip/tcp_nip_parameter.c b/newip/src/linux-5.10/net/newip/tcp_nip_parameter.c index 8c215428fd10bc9bab8d5b15220af4c68c51f418..1cae513cbab250f2c8d37eaa2263449461a5488c 100644 --- a/newip/src/linux-5.10/net/newip/tcp_nip_parameter.c +++ b/newip/src/linux-5.10/net/newip/tcp_nip_parameter.c @@ -34,7 +34,7 @@ module_param_named(af_ninet, g_af_ninet, int, 0444); /* Rto timeout timer period (HZ/n) */ /*********************************************************************************************/ /* RTT RTO in the small-delay scenario */ -int g_nip_rto = 5; +int g_nip_rto = 20; module_param_named(nip_rto, g_nip_rto, int, 0644); int get_nip_rto(void) diff --git a/newip/tools/wireshark_cfg_for_newip.lua b/newip/tools/wireshark_cfg_for_newip.lua index f9f9fab6e1337a1f0fc8371785d9323fbb9aa76e..7a4eaf7077eb0a945cf78d84bce2ad7e375c824a 100644 --- a/newip/tools/wireshark_cfg_for_newip.lua +++ b/newip/tools/wireshark_cfg_for_newip.lua @@ -2,9 +2,12 @@ require "bit32" --[[ SPDX-License-Identifier: GPL-2.0-or-later Copyright (c) 2022 Huawei Device Co., Ltd. -Function : wireshark lua configure for NewIP protocol stack -Author : yangyanjun -Edit Date : 2022/5/27 + +Description: wireshark lua configure for NewIP protocol stack + +Author: Yang Yanjun + +Data: 2022-05-27 --]] do -- lua begin