get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/128376/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 128376,
    "url": "http://patches.dpdk.org/api/patches/128376/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230608065458.333670-7-gakhil@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230608065458.333670-7-gakhil@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230608065458.333670-7-gakhil@marvell.com",
    "date": "2023-06-08T06:54:51",
    "name": "[v3,06/13] test/security: add MACsec VLAN cases",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "31ed161d36a3a2d0ffb89e65cbd73a2cd351204f",
    "submitter": {
        "id": 2094,
        "url": "http://patches.dpdk.org/api/people/2094/?format=api",
        "name": "Akhil Goyal",
        "email": "gakhil@marvell.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230608065458.333670-7-gakhil@marvell.com/mbox/",
    "series": [
        {
            "id": 28406,
            "url": "http://patches.dpdk.org/api/series/28406/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28406",
            "date": "2023-06-08T06:54:50",
            "name": "Add MACsec unit test cases",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/28406/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/128376/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/128376/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 70E3342C5A;\n\tThu,  8 Jun 2023 08:56:05 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A055542D3D;\n\tThu,  8 Jun 2023 08:55:36 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 86B8A427E9\n for <dev@dpdk.org>; Thu,  8 Jun 2023 08:55:32 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 357LwAdc023531; Wed, 7 Jun 2023 23:55:28 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r329c1jsf-6\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 07 Jun 2023 23:55:28 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Wed, 7 Jun 2023 23:55:27 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Wed, 7 Jun 2023 23:55:27 -0700",
            "from localhost.localdomain (unknown [10.28.36.102])\n by maili.marvell.com (Postfix) with ESMTP id D59543F7057;\n Wed,  7 Jun 2023 23:55:23 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=9vWB4HFHTI/raG/K2iTBCHT1fYmJu84ImOh4fllrxTo=;\n b=WbGW/tdKDwEFRKzEBCybZa3kc8/VisEP2hoD3YdIUer9G7+4KYe3BK+MDY9UCD2yYmzG\n QSvi9iQ137r03Vyh0kDKwzBwcVprSk+1+ytshhjnZUEcwaYvfAUkbV6rLJFSkPt1F4kv\n yyaAsBg1oWcFY0QMRano3vVXQYzeu9sYPtr/n8w9KmiYFWgm7O4wn+KuUfNl2NoKdx88\n SOO0Nc1KssL/VIq5uI+4K3XazIcM1r5XEIZF7cwd6xkuOGEfFW0lfs+f/TL2toqSJuO2\n ZKpi0r7T7D+Hx5tB67pDyLb2qQLD82CABghIJ4YPSulZ+wgdEkskt5uTUOpXWIHn2mck Ww==",
        "From": "Akhil Goyal <gakhil@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<thomas@monjalon.net>, <olivier.matz@6wind.com>, <orika@nvidia.com>,\n <david.marchand@redhat.com>, <hemant.agrawal@nxp.com>,\n <vattunuru@marvell.com>, <ferruh.yigit@amd.com>,\n <andrew.rybchenko@oktetlabs.ru>, <jerinj@marvell.com>,\n <adwivedi@marvell.com>, Akhil Goyal <gakhil@marvell.com>",
        "Subject": "[PATCH v3 06/13] test/security: add MACsec VLAN cases",
        "Date": "Thu, 8 Jun 2023 12:24:51 +0530",
        "Message-ID": "<20230608065458.333670-7-gakhil@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230608065458.333670-1-gakhil@marvell.com>",
        "References": "<20230607151940.223417-1-gakhil@marvell.com>\n <20230608065458.333670-1-gakhil@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "MpduHbJAhRlqDR05wrKRGhyrK6MJEEck",
        "X-Proofpoint-ORIG-GUID": "MpduHbJAhRlqDR05wrKRGhyrK6MJEEck",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26\n definitions=2023-06-08_04,2023-06-07_01,2023-05-22_02",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Added cases to verify MACsec processing with VLAN\ntags inserted. Vectors are added to verify 1/2/3\nVLAN tags in clear or encrypted data.\n\nSigned-off-by: Akhil Goyal <gakhil@marvell.com>\n---\n app/test/test_security_inline_macsec.c        |  67 ++++++\n .../test_security_inline_macsec_vectors.h     | 217 ++++++++++++++++++\n 2 files changed, 284 insertions(+)",
    "diff": "diff --git a/app/test/test_security_inline_macsec.c b/app/test/test_security_inline_macsec.c\nindex 621074a928..854ead75a0 100644\n--- a/app/test/test_security_inline_macsec.c\n+++ b/app/test/test_security_inline_macsec.c\n@@ -1119,6 +1119,69 @@ test_inline_macsec_multi_flow(const void *data __rte_unused)\n \treturn err;\n }\n \n+static int\n+test_inline_macsec_with_vlan(const void *data __rte_unused)\n+{\n+\tconst struct mcs_test_vector *cur_td;\n+\tstruct mcs_test_opts opts = {0};\n+\tint err, all_err = 0;\n+\tint i, size;\n+\n+\topts.val_frames = RTE_SECURITY_MACSEC_VALIDATE_STRICT;\n+\topts.protect_frames = true;\n+\topts.sa_in_use = 1;\n+\topts.nb_td = 1;\n+\topts.mtu = RTE_ETHER_MTU;\n+\n+\tsize = (sizeof(list_mcs_vlan_vectors) / sizeof((list_mcs_vlan_vectors)[0]));\n+\n+\tfor (i = 0; i < size; i++) {\n+\t\tcur_td = &list_mcs_vlan_vectors[i];\n+\t\tif (i == 0) {\n+\t\t\topts.sectag_insert_mode = 1;\n+\t\t} else if (i == 1) {\n+\t\t\topts.sectag_insert_mode = 0; /* offset from special E-type */\n+\t\t\topts.nb_vlan = 1;\n+\t\t} else if (i == 2) {\n+\t\t\topts.sectag_insert_mode = 0; /* offset from special E-type */\n+\t\t\topts.nb_vlan = 2;\n+\t\t}\n+\t\terr = test_macsec(&cur_td, MCS_ENCAP, &opts);\n+\t\tif (err) {\n+\t\t\tprintf(\"\\n VLAN Encap case %d failed\", cur_td->test_idx);\n+\t\t\terr = -1;\n+\t\t} else {\n+\t\t\tprintf(\"\\n VLAN Encap case %d passed\", cur_td->test_idx);\n+\t\t\terr = 0;\n+\t\t}\n+\t\tall_err += err;\n+\t}\n+\tfor (i = 0; i < size; i++) {\n+\t\tcur_td = &list_mcs_vlan_vectors[i];\n+\t\tif (i == 0) {\n+\t\t\topts.sectag_insert_mode = 1;\n+\t\t} else if (i == 1) {\n+\t\t\topts.sectag_insert_mode = 0; /* offset from special E-type */\n+\t\t\topts.nb_vlan = 1;\n+\t\t} else if (i == 2) {\n+\t\t\topts.sectag_insert_mode = 0; /* offset from special E-type */\n+\t\t\topts.nb_vlan = 2;\n+\t\t}\n+\t\terr = test_macsec(&cur_td, MCS_DECAP, &opts);\n+\t\tif (err) {\n+\t\t\tprintf(\"\\n VLAN Decap case %d failed\", cur_td->test_idx);\n+\t\t\terr = -1;\n+\t\t} else {\n+\t\t\tprintf(\"\\n VLAN Decap case %d passed\", cur_td->test_idx);\n+\t\t\terr = 0;\n+\t\t}\n+\t\tall_err += err;\n+\t}\n+\n+\tprintf(\"\\n%s: Success: %d, Failure: %d\\n\", __func__, (2 * size) + all_err, -all_err);\n+\treturn all_err;\n+}\n+\n static int\n ut_setup_inline_macsec(void)\n {\n@@ -1292,6 +1355,10 @@ static struct unit_test_suite inline_macsec_testsuite  = {\n \t\t\t\"MACsec auth + verify known vector\",\n \t\t\tut_setup_inline_macsec, ut_teardown_inline_macsec,\n \t\t\ttest_inline_macsec_auth_verify_all),\n+\t\tTEST_CASE_NAMED_ST(\n+\t\t\t\"MACsec Encap and decap with VLAN\",\n+\t\t\tut_setup_inline_macsec, ut_teardown_inline_macsec,\n+\t\t\ttest_inline_macsec_with_vlan),\n \n \t\tTEST_CASES_END() /**< NULL terminate unit test array */\n \t},\ndiff --git a/app/test/test_security_inline_macsec_vectors.h b/app/test/test_security_inline_macsec_vectors.h\nindex 8d9c2cae77..4bcb82783c 100644\n--- a/app/test/test_security_inline_macsec_vectors.h\n+++ b/app/test/test_security_inline_macsec_vectors.h\n@@ -2185,5 +2185,222 @@ uint8_t secure_user_data[MCS_MULTI_FLOW_TD_SECURE_DATA_SZ] = {\n \t\t0x2A, 0x5D, 0x6C, 0x2B, 0x96, 0x04, 0x94, 0xC3,\n };\n \n+static const struct mcs_test_vector list_mcs_vlan_vectors[] = {\n+/* No clear tag, VLAN after macsec header */\n+{\n+\t.test_idx = 1,\n+\t.alg = RTE_SECURITY_MACSEC_ALG_GCM_128,\n+\t.ssci = 0,\n+\t.xpn = 0, /* Most significant 32 bits */\n+\t.salt = {0},\n+\t.sa_key = {\n+\t\t.data = {\n+\t\t\t0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,\n+\t\t\t0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,\n+\t\t},\n+\t\t.len = 16,\n+\t},\n+\t.plain_pkt = {\n+\t\t.data = {/* MAC DA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x41, 0x42, 0x43,\n+\t\t\t/* MAC SA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23,\n+\t\t\t/* User Data with VLAN Tag */\n+\t\t\t0x81, 0x00, 0x00, 0x02, 0x08, 0x00, 0x45, 0x00,\n+\t\t\t0x00, 0x54, 0xF2, 0xFA, 0x40, 0x00, 0x40, 0x01,\n+\t\t\t0xF7, 0x83, 0x14, 0x14, 0x14, 0x02, 0x14, 0x14,\n+\t\t\t0x14, 0x01, 0x08, 0x00, 0xE9, 0xC5, 0x02, 0xAF,\n+\t\t\t0x00, 0x01, 0xCB, 0x51, 0x6D, 0x38, 0x00, 0x00,\n+\t\t\t0x00, 0x00, 0x13, 0x2D, 0x01, 0x00, 0x00, 0x00,\n+\t\t\t0x00, 0x00, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15,\n+\t\t\t0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D,\n+\t\t\t0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25,\n+\t\t\t0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D,\n+\t\t\t0x2E, 0x2F, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35,\n+\t\t\t0x36, 0x37,\n+\t\t},\n+\t\t.len = 102,\n+\t},\n+\t.secure_pkt = {\n+\t\t.data = {/* MAC DA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x41, 0x42, 0x43,\n+\t\t\t/* MAC SA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23,\n+\t\t\t/* MACsec EtherType */\n+\t\t\t0x88, 0xE5,\n+\t\t\t/* TCI and AN */\n+\t\t\t0x20,\n+\t\t\t/* SL */\n+\t\t\t0x00,\n+\t\t\t/* PN */\n+\t\t\t0x00, 0x00, 0x00, 0x06,\n+\t\t\t/* SCI */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23, 0x00, 0x01,\n+\t\t\t/* Secure Data */\n+\t\t\t0x81, 0x00, 0x00, 0x02, 0x08, 0x00, 0x45, 0x00,\n+\t\t\t0x00, 0x54, 0xF2, 0xFA, 0x40, 0x00, 0x40, 0x01,\n+\t\t\t0xF7, 0x83, 0x14, 0x14, 0x14, 0x02, 0x14, 0x14,\n+\t\t\t0x14, 0x01, 0x08, 0x00, 0xE9, 0xC5, 0x02, 0xAF,\n+\t\t\t0x00, 0x01, 0xCB, 0x51, 0x6D, 0x38, 0x00, 0x00,\n+\t\t\t0x00, 0x00, 0x13, 0x2D, 0x01, 0x00, 0x00, 0x00,\n+\t\t\t0x00, 0x00, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15,\n+\t\t\t0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D,\n+\t\t\t0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25,\n+\t\t\t0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D,\n+\t\t\t0x2E, 0x2F, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35,\n+\t\t\t0x36, 0x37,\n+\t\t\t/* ICV */\n+\t\t\t0x21, 0x68, 0xF1, 0x21, 0x19, 0xB7, 0xDF, 0x73,\n+\t\t\t0x6F, 0x2A, 0x11, 0xEA, 0x8A, 0xBC, 0x8A, 0x79,\n+\t\t},\n+\t\t.len = 134,\n+\t},\n+},\n+/* 1 vlan tag followed by MACsec */\n+{\n+\t.test_idx = 2,\n+\t.alg = RTE_SECURITY_MACSEC_ALG_GCM_128,\n+\t.ssci = 0,\n+\t.xpn = 0, /* Most significant 32 bits */\n+\t.salt = {0},\n+\t.sa_key = {\n+\t\t.data = {\n+\t\t\t0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,\n+\t\t\t0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,\n+\t\t},\n+\t\t.len = 16,\n+\t},\n+\t.plain_pkt = {\n+\t\t.data = {/* MAC DA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x41, 0x42, 0x43,\n+\t\t\t/* MAC SA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23,\n+\t\t\t/* User Data */\n+\t\t\t0x81, 0x00, 0x00, 0x02,\n+\t\t\t0x08, 0x00, 0x45, 0x00, 0x00, 0x54, 0x88, 0x71,\n+\t\t\t0x40, 0x00, 0x40, 0x01, 0x62, 0x0D, 0x14, 0x14,\n+\t\t\t0x14, 0x02, 0x14, 0x14, 0x14, 0x01, 0x08, 0x00,\n+\t\t\t0x77, 0xA6, 0x02, 0xB3, 0x00, 0x01, 0xBE, 0x52,\n+\t\t\t0x6D, 0x38, 0x00, 0x00, 0x00, 0x00, 0x8C, 0x47,\n+\t\t\t0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x11,\n+\t\t\t0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19,\n+\t\t\t0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21,\n+\t\t\t0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,\n+\t\t\t0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31,\n+\t\t\t0x32, 0x33, 0x34, 0x35, 0x36, 0x37,\n+\t\t},\n+\t\t.len = 102,\n+\t},\n+\t.secure_pkt = {\n+\t\t.data = {/* MAC DA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x41, 0x42, 0x43,\n+\t\t\t/* MAC SA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23,\n+\t\t\t/* VLAN Tag before MACsec */\n+\t\t\t0x81, 0x00, 0x00, 0x02,\n+\t\t\t/* MACsec EtherType */\n+\t\t\t0x88, 0xE5,\n+\t\t\t/* TCI and AN */\n+\t\t\t0x20,\n+\t\t\t/* SL */\n+\t\t\t0x00,\n+\t\t\t/* PN */\n+\t\t\t0x00, 0x00, 0x00, 0x07,\n+\t\t\t/* SCI */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23, 0x00, 0x01,\n+\t\t\t/* Secure Data */\n+\t\t\t0x08, 0x00, 0x45, 0x00, 0x00, 0x54, 0x88, 0x71,\n+\t\t\t0x40, 0x00, 0x40, 0x01, 0x62, 0x0D, 0x14, 0x14,\n+\t\t\t0x14, 0x02, 0x14, 0x14, 0x14, 0x01, 0x08, 0x00,\n+\t\t\t0x77, 0xA6, 0x02, 0xB3, 0x00, 0x01, 0xBE, 0x52,\n+\t\t\t0x6D, 0x38, 0x00, 0x00, 0x00, 0x00, 0x8C, 0x47,\n+\t\t\t0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x11,\n+\t\t\t0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19,\n+\t\t\t0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21,\n+\t\t\t0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,\n+\t\t\t0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31,\n+\t\t\t0x32, 0x33, 0x34, 0x35, 0x36, 0x37,\n+\t\t\t/* ICV */\n+\t\t\t0xF1, 0xC0, 0xA2, 0x6E, 0x99, 0xE5, 0xAB, 0x97,\n+\t\t\t0x78, 0x79, 0x7D, 0x13, 0x35, 0x5E, 0x39, 0x4F,\n+\t\t},\n+\t\t.len = 134,\n+\t},\n+},\n+/* 2 vlan tag followed by MACsec */\n+{\n+\t.test_idx = 3,\n+\t.alg = RTE_SECURITY_MACSEC_ALG_GCM_128,\n+\t.ssci = 0,\n+\t.xpn = 0, /* Most significant 32 bits */\n+\t.salt = {0},\n+\t.sa_key = {\n+\t\t.data = {\n+\t\t\t0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,\n+\t\t\t0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,\n+\t\t},\n+\t\t.len = 16,\n+\t},\n+\t.plain_pkt = {\n+\t\t.data = {/* MAC DA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x41, 0x42, 0x43,\n+\t\t\t/* MAC SA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23,\n+\t\t\t/* User Data */\n+\t\t\t0x88, 0xA8, 0x00, 0x04, 0x81, 0x00, 0x00, 0x02,\n+\t\t\t0x08, 0x00, 0x45, 0x00, 0x00, 0x54, 0x70, 0x5B,\n+\t\t\t0x40, 0x00, 0x40, 0x01, 0x29, 0xF9, 0x28, 0x28,\n+\t\t\t0x28, 0x04, 0x28, 0x28, 0x28, 0x01, 0x08, 0x00,\n+\t\t\t0x08, 0x02, 0x02, 0xE2, 0x00, 0x01, 0x60, 0x58,\n+\t\t\t0x6D, 0x38, 0x00, 0x00, 0x00, 0x00, 0x5C, 0xB7,\n+\t\t\t0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x11,\n+\t\t\t0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19,\n+\t\t\t0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21,\n+\t\t\t0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,\n+\t\t\t0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31,\n+\t\t\t0x32, 0x33, 0x34, 0x35, 0x36, 0x37,\n+\t\t},\n+\t\t.len = 106,\n+\t},\n+\t.secure_pkt = {\n+\t\t.data = {/* MAC DA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x41, 0x42, 0x43,\n+\t\t\t/* MAC SA */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23,\n+\t\t\t/* VLAN Tags before MACsec */\n+\t\t\t0x88, 0xA8, 0x00, 0x04,\n+\t\t\t0x81, 0x00, 0x00, 0x02,\n+\t\t\t/* MACsec EtherType */\n+\t\t\t0x88, 0xE5,\n+\t\t\t/* TCI and AN */\n+\t\t\t0x20,\n+\t\t\t/* SL */\n+\t\t\t0x00,\n+\t\t\t/* PN */\n+\t\t\t0x00, 0x00, 0x00, 0x0E,\n+\t\t\t/* SCI */\n+\t\t\t0xCA, 0xCB, 0xCD, 0x21, 0x22, 0x23, 0x00, 0x01,\n+\t\t\t/* Secure Data */\n+\t\t\t0x08, 0x00, 0x45, 0x00, 0x00, 0x54, 0x70, 0x5B,\n+\t\t\t0x40, 0x00, 0x40, 0x01, 0x29, 0xF9, 0x28, 0x28,\n+\t\t\t0x28, 0x04, 0x28, 0x28, 0x28, 0x01, 0x08, 0x00,\n+\t\t\t0x08, 0x02, 0x02, 0xE2, 0x00, 0x01, 0x60, 0x58,\n+\t\t\t0x6D, 0x38, 0x00, 0x00, 0x00, 0x00, 0x5C, 0xB7,\n+\t\t\t0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x11,\n+\t\t\t0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19,\n+\t\t\t0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21,\n+\t\t\t0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,\n+\t\t\t0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31,\n+\t\t\t0x32, 0x33, 0x34, 0x35, 0x36, 0x37,\n+\t\t\t/* ICV */\n+\t\t\t0xCC, 0x38, 0x21, 0x3A, 0xEE, 0x5F, 0xE3, 0x7F,\n+\t\t\t0xA1, 0xBA, 0xBD, 0xBD, 0x65, 0x5B, 0xB3, 0xE5,\n+\t\t},\n+\t\t.len = 138,\n+\t},\n+},\n+};\n+\n+\n \n #endif\n",
    "prefixes": [
        "v3",
        "06/13"
    ]
}