From patchwork Wed Apr 10 10:14:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wojciech Drewek X-Patchwork-Id: 13624048 X-Patchwork-Delegate: dsahern@gmail.com Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79B0515887C for ; Wed, 10 Apr 2024 10:16:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712744220; cv=none; b=bqXDQW2LWU1K7ZJnUF0K9p7uWtldtvo8fEXJqMDnQ3D0c6mNX8IN10QXeb+l9uABSAr6mFMtoeaECqVxgcY2M+cFfGIVINtYfqARzWjLdMoVn5To9xKsRF4TUUHI6THjaqugOl0x8DYgYp/lYzoBfTBUDUES5wryW6Fhz67HYHU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712744220; c=relaxed/simple; bh=Emv197oZZubA8i7fvG/gSOa6wosW9h3Mu7jf+DBoOQo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cF143+V9m/uc8CcO/iMaYUN/Iv+SI3wWfYhLN/PrC953ZeVMNKj9GrZ/6AnbqM0Yvk/vI2rl/nKzWDUC3TDcERaKrykc9EdVJibW+tGOUcPHT6EHVEAdon7FUpX3DfS0609mq92phS3zo1VSxcqTpPZEN3unCiF9kg4Uc4hsHlc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=W+j1QdiG; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="W+j1QdiG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712744219; x=1744280219; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Emv197oZZubA8i7fvG/gSOa6wosW9h3Mu7jf+DBoOQo=; b=W+j1QdiGqJhmbdTdkTfXauI6PtkWVZ26vlVnYhZaocnNXZ8vmQuzX8A7 nOjnAaoYCfIRuFYnx8awyZtFZqhlfX/3xDY4df2VnW61ajcF3eJ8BjoSD Aj9ryBBy0Q4FmnTJP7M8a6eeVD5qz0EacAXC4nFhgKGCt0wGMaC/0IVcx 0VeW3yEJXze18h6Ol5xnT0s/g7mBlDP4SoMBd6VVSOTInV8P4p1xpIxKK zZLbodha6T3ctZfOJxHPAAzJWiPDidyTLORSQ8zg16L3+MPnF20JSREPE C/KKWmxYJjDFpoCQvEKFA9ZjfFvwcwJmkrhERPugVppE4NxF21x4f/RHV A==; X-CSE-ConnectionGUID: ngX8W8QZTIS450jI6MAbtw== X-CSE-MsgGUID: yMfJCJecQ2ulbYyoFcuMzQ== X-IronPort-AV: E=McAfee;i="6600,9927,11039"; a="19525388" X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="19525388" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2024 03:16:57 -0700 X-CSE-ConnectionGUID: 7eSLwU16RMqlNWfO6r/Z1g== X-CSE-MsgGUID: 6IXnU9BbRWKPBi50yicDiw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="51737639" Received: from irvmail002.ir.intel.com ([10.43.11.120]) by fmviesa001.fm.intel.com with ESMTP; 10 Apr 2024 03:16:54 -0700 Received: from rozewie.igk.intel.com (unknown [10.211.8.69]) by irvmail002.ir.intel.com (Postfix) with ESMTP id 55C8728792; Wed, 10 Apr 2024 11:16:53 +0100 (IST) From: Wojciech Drewek To: netdev@vger.kernel.org Cc: dsahern@gmail.com, stephen@networkplumber.org Subject: [PATCH iproute2-next 1/2] ip: PFCP device support Date: Wed, 10 Apr 2024 12:14:39 +0200 Message-Id: <20240410101440.9885-2-wojciech.drewek@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240410101440.9885-1-wojciech.drewek@intel.com> References: <20240410101440.9885-1-wojciech.drewek@intel.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: dsahern@gmail.com Packet Forwarding Control Protocol is a 3GPP Protocol defined in TS 29.244 [1]. Add support for PFCP device type in ip link. It is capable of receiving PFCP messages and extracting its metadata (session ID). Its only purpose is to be used together with tc flower to create SW/HW filters. PFCP module does not take any netlink attributes so there is no need to parse any args. Add new sections to the man to let the user know about new device type. [1] https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3111 Signed-off-by: Wojciech Drewek --- ip/iplink.c | 2 +- man/man8/ip-link.8.in | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ip/iplink.c b/ip/iplink.c index 95314af5ab1c..73d4cd428047 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -44,7 +44,7 @@ void iplink_types_usage(void) " ip6erspan | ip6gre | ip6gretap | ip6tnl |\n" " ipip | ipoib | ipvlan | ipvtap |\n" " macsec | macvlan | macvtap | netdevsim |\n" - " netkit | nlmon | rmnet | sit | team | team_slave |\n" + " netkit | nlmon | pfcp | rmnet | sit | team | team_slave |\n" " vcan | veth | vlan | vrf | vti | vxcan | vxlan | wwan |\n" " xfrm | virt_wifi }\n"); } diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index 31e2d7f0f5b8..2654f8c361ae 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -249,6 +249,7 @@ ip-link \- network device configuration .BR netdevsim " |" .BR netkit " |" .BR nlmon " |" +.BR pfcp " |" .BR rmnet " |" .BR sit " |" .BR vcan " | " @@ -391,6 +392,9 @@ Link types: .BR nlmon - Netlink monitoring device .sp +.BR pfcp +- Packet Forwarding Control Protocol device +.sp .BR rmnet - Qualcomm rmnet device .sp @@ -2124,6 +2128,12 @@ the following additional arguments are supported: .BI restart_count " RESTART_COUNT " - GTP instance restart counter +.TP +PFCP Type Support +For a link of type +.I PFCP +no additional arguments are supported + .in -8 .SS ip link delete - delete virtual link From patchwork Wed Apr 10 10:14:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wojciech Drewek X-Patchwork-Id: 13624049 X-Patchwork-Delegate: dsahern@gmail.com Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 241AE158204 for ; Wed, 10 Apr 2024 10:16:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712744221; cv=none; b=NwyjywEazYHiozcmZk254froacAQEjz/7lxxjL9d8L0KWCq6Vsbx1Z3ldN0wkX+5nMsNb+/RyEY+soyl7+vQKWXTezyVV1Oti0YmfkrMCOU8gVYGeuZuG1nK53Z80q4VDkBQ+WruSYKHwEcr3YgpclWbawL9h6Bx/wpBysVxkMQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712744221; c=relaxed/simple; bh=Jxk6radZvcq6RlUV1gDJrviVu29+cZ1IsB9XH6xw86s=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=OHSeCYLL0c+YYumCqoDw7UDof6LAI2mlF1oS7hJep0IG0B2FBg55XGe+HGw92TFY+VI1ln3jdVnOiAvnLGQ9sGeE+Vth82PLG6YBtVoWCjpV+batx3ORxOPg5jBMvG/StXz3Wp+SUG59dDiAUVsaOeXdLCjbUA7wCU5KWmtcB/o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SZXsFO0C; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SZXsFO0C" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712744219; x=1744280219; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Jxk6radZvcq6RlUV1gDJrviVu29+cZ1IsB9XH6xw86s=; b=SZXsFO0C8NClsbyYJ6RB/6dtYWbv/eCxn+QYmrsoXxnLBHsBBuy/W6DG ycoJkQV0OoEEqYTNOeMHx0K4VGEUmXtU+5pobbtmnNkqMvItd1rIUl9cU /Gm+pQgeVUihvbPAf/hCa7VSfqlEz8YBPo+eReMlxM/E9PzWcsafpMDyV quDPmW6ViAtJUR/ahxKG4Jvfx/AIiUFCBuZo/DmRAFxxFtnS/uWbdHoDk fm+tvxpVSKUQPUW7YoRLJnHEIm806SAsNcU7uMqe5Hm9c3otaPHplj3N+ OALuZhvUdJdGdqJRnnEjeTkDvjfB4y1oRRwYEYNrfhJvhFXaC45LDU+UO A==; X-CSE-ConnectionGUID: TjvSw9jOR7Sd0Uyz3ov3yw== X-CSE-MsgGUID: 9TpceTorRJSReWFvrBQ1wg== X-IronPort-AV: E=McAfee;i="6600,9927,11039"; a="19525394" X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="19525394" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2024 03:16:58 -0700 X-CSE-ConnectionGUID: uaSCZZslRkWRiM89Hie0Zg== X-CSE-MsgGUID: NRZabj/hRBmVxC+gJr0JXw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="51737640" Received: from irvmail002.ir.intel.com ([10.43.11.120]) by fmviesa001.fm.intel.com with ESMTP; 10 Apr 2024 03:16:55 -0700 Received: from rozewie.igk.intel.com (unknown [10.211.8.69]) by irvmail002.ir.intel.com (Postfix) with ESMTP id 010E528796; Wed, 10 Apr 2024 11:16:53 +0100 (IST) From: Wojciech Drewek To: netdev@vger.kernel.org Cc: dsahern@gmail.com, stephen@networkplumber.org Subject: [PATCH iproute2-next 2/2] f_flower: implement pfcp opts Date: Wed, 10 Apr 2024 12:14:40 +0200 Message-Id: <20240410101440.9885-3-wojciech.drewek@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240410101440.9885-1-wojciech.drewek@intel.com> References: <20240410101440.9885-1-wojciech.drewek@intel.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: dsahern@gmail.com From: Michal Swiatkowski Allow adding tc filter for PFCP header. Add support for parsing TCA_FLOWER_KEY_ENC_OPTS_PFCP. Options are as follows: TYPE:SEID. TYPE is a 8-bit value represented in hex and can be 1 for session header and 0 for node header. In PFCP packet this is S flag in header. SEID is a 64-bit session id value represented in hex. This patch enables adding hardware filters using PFCP fields, see [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=d823265dd45bbf14bd67aa476057108feb4143ce Signed-off-by: Michal Swiatkowski Signed-off-by: Wojciech Drewek --- include/libnetlink.h | 6 ++ include/uapi/linux/pkt_cls.h | 14 ++++ man/man8/tc-flower.8 | 11 +++ tc/f_flower.c | 126 +++++++++++++++++++++++++++++++++++ 4 files changed, 157 insertions(+) diff --git a/include/libnetlink.h b/include/libnetlink.h index 35a9bb57d685..30f0c2d22d49 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -274,6 +274,12 @@ static inline __u64 rta_getattr_uint(const struct rtattr *rta) } return -1ULL; } + +static inline __be64 rta_getattr_be64(const struct rtattr *rta) +{ + return htobe64(rta_getattr_u64(rta)); +} + static inline __s32 rta_getattr_s32(const struct rtattr *rta) { return *(__s32 *)RTA_DATA(rta); diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h index ea277039f89d..229fc925ec3a 100644 --- a/include/uapi/linux/pkt_cls.h +++ b/include/uapi/linux/pkt_cls.h @@ -587,6 +587,10 @@ enum { * TCA_FLOWER_KEY_ENC_OPT_GTP_ * attributes */ + TCA_FLOWER_KEY_ENC_OPTS_PFCP, /* Nested + * TCA_FLOWER_KEY_ENC_IPT_PFCP + * attributes + */ __TCA_FLOWER_KEY_ENC_OPTS_MAX, }; @@ -636,6 +640,16 @@ enum { #define TCA_FLOWER_KEY_ENC_OPT_GTP_MAX \ (__TCA_FLOWER_KEY_ENC_OPT_GTP_MAX - 1) +enum { + TCA_FLOWER_KEY_ENC_OPT_PFCP_UNSPEC, + TCA_FLOWER_KEY_ENC_OPT_PFCP_TYPE, /* u8 */ + TCA_FLOWER_KEY_ENC_OPT_PFCP_SEID, /* be64 */ + __TCA_FLOWER_KEY_ENC_OPT_PFCP_MAX, +}; + +#define TCA_FLOWER_KEY_ENC_OPT_PFCP_MAX \ + (__TCA_FLOWER_KEY_ENC_OPT_PFCP_MAX - 1) + enum { TCA_FLOWER_KEY_MPLS_OPTS_UNSPEC, TCA_FLOWER_KEY_MPLS_OPTS_LSE, diff --git a/man/man8/tc-flower.8 b/man/man8/tc-flower.8 index 832458138c74..929f9d9b4200 100644 --- a/man/man8/tc-flower.8 +++ b/man/man8/tc-flower.8 @@ -97,6 +97,8 @@ flower \- flow based traffic control filter .B erspan_opts | .B gtp_opts +| +.B pfcp_opts } .IR OPTIONS " | " .BR ip_flags @@ -453,6 +455,8 @@ Match the connection zone, and can be masked. .BI erspan_opts " OPTIONS" .TQ .BI gtp_opts " OPTIONS" +.TQ +.BI pfcp_opts " OPTIONS" Match on IP tunnel metadata. Key id .I NUMBER is a 32 bit tunnel key id (e.g. VNI for VXLAN tunnel). @@ -494,6 +498,13 @@ doesn't support multiple options, and it consists of a key followed by a slash and corresponding mask. If the mask is missing, \fBtc\fR assumes a full-length match. The option can be described in the form PDU_TYPE:QFI/PDU_TYPE_MASK:QFI_MASK where both PDU_TYPE and QFI are represented as a 8bit hexadecimal values. +pfcp_opts +.I OPTIONS +doesn't support multiple options, and it consists of a key followed by a slash +and corresponding mask. If the mask is missing, \fBtc\fR assumes a full-length +match. The option can be described in the form TYPE:SEID/TYPE_MASK:SEID_MASK +where TYPE is represented as a 8bit number, SEID is represented by 64bit, both +of them are in hex. .TP .BI ip_flags " IP_FLAGS" .I IP_FLAGS diff --git a/tc/f_flower.c b/tc/f_flower.c index 53188f1cd87a..bc918b4bd3ff 100644 --- a/tc/f_flower.c +++ b/tc/f_flower.c @@ -91,6 +91,7 @@ static void explain(void) " vxlan_opts MASKED-OPTIONS |\n" " erspan_opts MASKED-OPTIONS |\n" " gtp_opts MASKED-OPTIONS |\n" + " pfcp_opts MASKED-OPTIONS |\n" " ip_flags IP-FLAGS |\n" " l2_miss L2_MISS |\n" " enc_dst_port [ port_number ] |\n" @@ -1152,6 +1153,58 @@ static int flower_parse_gtp_opt(char *str, struct nlmsghdr *n) return 0; } +static int flower_parse_pfcp_opt(char *str, struct nlmsghdr *n) +{ + struct rtattr *nest; + char *token; + int i, err; + + nest = addattr_nest(n, MAX_MSG, + TCA_FLOWER_KEY_ENC_OPTS_PFCP | NLA_F_NESTED); + + i = 1; + token = strsep(&str, ":"); + while (token) { + switch (i) { + case TCA_FLOWER_KEY_ENC_OPT_PFCP_TYPE: + { + __u8 opt_type; + + if (!strlen(token)) + break; + err = get_u8(&opt_type, token, 16); + if (err) + return err; + + addattr8(n, MAX_MSG, i, opt_type); + break; + } + case TCA_FLOWER_KEY_ENC_OPT_PFCP_SEID: + { + __be64 opt_seid;; + + if (!strlen(token)) + break; + err = get_be64(&opt_seid, token, 16); + if (err) + return err; + + addattr64(n, MAX_MSG, i, opt_seid); + break; + } + default: + fprintf(stderr, "Unknown \"pfcp_opts\" type\n"); + return -1; + } + + token = strsep(&str, ":"); + i++; + } + addattr_nest_end(n, nest); + + return 0; +} + static int flower_parse_geneve_opts(char *str, struct nlmsghdr *n) { char *token; @@ -1370,6 +1423,44 @@ static int flower_parse_enc_opts_gtp(char *str, struct nlmsghdr *n) return 0; } +static int flower_parse_enc_opts_pfcp(char *str, struct nlmsghdr *n) +{ + char key[XATTR_SIZE_MAX], mask[XATTR_SIZE_MAX]; + struct rtattr *nest; + char *slash; + int err; + + + slash = strchr(str, '/'); + if (slash) { + *slash++ = '\0'; + if (strlen(slash) > XATTR_SIZE_MAX) + return -1; + strcpy(mask, slash); + } else { + strcpy(mask, "ff:ffffffffffffffff"); + } + + if (strlen(str) > XATTR_SIZE_MAX) + return -1; + strcpy(key, str); + + nest = addattr_nest(n, MAX_MSG, TCA_FLOWER_KEY_ENC_OPTS | NLA_F_NESTED); + err = flower_parse_pfcp_opt(key, n); + if (err) + return err; + addattr_nest_end(n, nest); + + nest = addattr_nest(n, MAX_MSG, + TCA_FLOWER_KEY_ENC_OPTS_MASK | NLA_F_NESTED); + err = flower_parse_pfcp_opt(mask, n); + if (err) + return err; + addattr_nest_end(n, nest); + + return 0; +} + static int flower_parse_mpls_lse(int *argc_p, char ***argv_p, struct nlmsghdr *nlh) { @@ -2150,6 +2241,13 @@ static int flower_parse_opt(struct filter_util *qu, char *handle, fprintf(stderr, "Illegal \"gtp_opts\"\n"); return -1; } + } else if (!strcmp(*argv, "pfcp_opts")) { + NEXT_ARG(); + ret = flower_parse_enc_opts_pfcp(*argv, n); + if (ret < 0) { + fprintf(stderr, "Illegal \"pfcp_opts\"\n"); + return -1; + } } else if (matches(*argv, "action") == 0) { NEXT_ARG(); ret = parse_action(&argc, &argv, TCA_FLOWER_ACT, n); @@ -2646,6 +2744,22 @@ static void flower_print_gtp_opts(const char *name, struct rtattr *attr, snprintf(strbuf, len, "%02x:%02x", pdu_type, qfi); } +static void flower_print_pfcp_opts(const char *name, struct rtattr *attr, + char *strbuf, int len) +{ + struct rtattr *tb[TCA_FLOWER_KEY_ENC_OPT_PFCP_MAX + 1]; + struct rtattr *i = RTA_DATA(attr); + int rem = RTA_PAYLOAD(attr); + __be64 seid; + __u8 type; + + parse_rtattr(tb, TCA_FLOWER_KEY_ENC_OPT_PFCP_MAX, i, rem); + type = rta_getattr_u8(tb[TCA_FLOWER_KEY_ENC_OPT_PFCP_TYPE]); + seid = rta_getattr_be64(tb[TCA_FLOWER_KEY_ENC_OPT_PFCP_SEID]); + + snprintf(strbuf, len, "%02x:%llx", type, seid); +} + static void __attribute__((format(printf, 2, 0))) flower_print_enc_parts(const char *name, const char *namefrm, struct rtattr *attr, char *key, char *mask) @@ -2738,6 +2852,18 @@ static void flower_print_enc_opts(const char *name, struct rtattr *attr, flower_print_enc_parts(name, " gtp_opts %s", attr, key, msk); + } else if (key_tb[TCA_FLOWER_KEY_ENC_OPTS_PFCP]) { + flower_print_pfcp_opts("pfcp_opt_key", + key_tb[TCA_FLOWER_KEY_ENC_OPTS_PFCP], + key, len); + + if (msk_tb[TCA_FLOWER_KEY_ENC_OPTS_PFCP]) + flower_print_pfcp_opts("pfcp_opt_mask", + msk_tb[TCA_FLOWER_KEY_ENC_OPTS_PFCP], + msk, len); + + flower_print_enc_parts(name, " pfcp_opts %s", attr, key, + msk); } free(msk);