Add missing BSD license tag to IPsec examples.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_null0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
#check ETH_DEV
if [[ -z "${ETH_DEV}" ]]; then
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
# check required parameters
SGW_REQ_VARS="SGW_PATH SGW_PORT_CFG SGW_WAIT_DEV"
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
TCP_PORT=22222
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
# usage: /bin/bash linux_test4.sh <ipsec_mode>
# for list of available modes please refer to run_test.sh.
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
# usage: /bin/bash linux_test6.sh <ipsec_mode>
# for list of available modes please refer to run_test.sh.
#!/usr/bin/env python3
+# SPDX-License-Identifier: BSD-3-Clause
import fcntl
import pkg_resources
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
DIR=$(dirname $0)
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
# usage: /bin/bash run_test.sh [-46]
# Run all defined linux_test[4,6].sh test-cases one by one
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_aesni_mb0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_3descbc_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_3descbc_sha1_esn_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_3descbc_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_3descbc_sha1_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_aesni_mb0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aescbc_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aescbc_sha1_esn_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aescbc_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aescbc_sha1_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_aesni_mb0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesctr_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesctr_sha1_esn_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesctr_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesctr_sha1_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_aesni_gcm0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesgcm_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesgcm_esn_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesgcm_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesgcm_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesgcm_inline_crypto_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesgcm_defs.sh
#!/usr/bin/env python3
+# SPDX-License-Identifier: BSD-3-Clause
from scapy.all import *
import unittest
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_aesni_mb0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_3descbc_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_3descbc_sha1_esn_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_3descbc_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_3descbc_sha1_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_aesni_mb0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aescbc_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aescbc_sha1_esn_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aescbc_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aescbc_sha1_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_aesni_mb0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesctr_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesctr_sha1_esn_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesctr_sha1_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesctr_sha1_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
CRYPTO_DEV=${CRYPTO_DEV:-'--vdev="crypto_aesni_gcm0"'}
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesgcm_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesgcm_esn_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesgcm_common_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesgcm_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesgcm_inline_crypto_defs.sh
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesgcm_defs.sh