{"id":2235225,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2235225/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/patch/6bc51468a7135ad7dc6af8d9747a643ef672ec77.1778261956.git.tredaelli@redhat.com/","project":{"id":47,"url":"http://patchwork.ozlabs.org/api/1.2/projects/47/?format=json","name":"Open vSwitch","link_name":"openvswitch","list_id":"ovs-dev.openvswitch.org","list_email":"ovs-dev@openvswitch.org","web_url":"http://openvswitch.org/","scm_url":"git@github.com:openvswitch/ovs.git","webscm_url":"https://github.com/openvswitch/ovs","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<6bc51468a7135ad7dc6af8d9747a643ef672ec77.1778261956.git.tredaelli@redhat.com>","list_archive_url":null,"date":"2026-05-08T22:08:36","name":"[ovs-dev,v3,4/6] lib: Rename include/openvswitch/packets.h to net-proto.h.","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"7575bd6c7c7df269bfa8a2e995f688aecf73f7cc","submitter":{"id":70949,"url":"http://patchwork.ozlabs.org/api/1.2/people/70949/?format=json","name":"Timothy Redaelli","email":"tredaelli@redhat.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/openvswitch/patch/6bc51468a7135ad7dc6af8d9747a643ef672ec77.1778261956.git.tredaelli@redhat.com/mbox/","series":[{"id":503454,"url":"http://patchwork.ozlabs.org/api/1.2/series/503454/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/list/?series=503454","date":"2026-05-08T22:08:32","name":"libopenvswitch: Restructure the massive OVS library into two parts.","version":3,"mbox":"http://patchwork.ozlabs.org/series/503454/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2235225/comments/","check":"success","checks":"http://patchwork.ozlabs.org/api/patches/2235225/checks/","tags":{},"related":[],"headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ovs-dev@lists.linuxfoundation.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=h2nqchyq;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)","smtp2.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=h2nqchyq","smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com","smtp1.osuosl.org;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.a=rsa-sha256 header.s=mimecast20190719 header.b=h2nqchyq"],"Received":["from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gC3Fz170sz1yHW\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 09 May 2026 08:10:15 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp2.osuosl.org (Postfix) with ESMTP id C1683413DE;\n\tFri,  8 May 2026 22:10:13 +0000 (UTC)","from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id EqiE6IkVRXGt; Fri,  8 May 2026 22:10:12 +0000 (UTC)","from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp2.osuosl.org (Postfix) with ESMTPS id CC1F6413CF;\n\tFri,  8 May 2026 22:10:07 +0000 (UTC)","from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 7EA51C04EE;\n\tFri,  8 May 2026 22:10:07 +0000 (UTC)","from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 0EA8EC04EF\n for <dev@openvswitch.org>; Fri,  8 May 2026 22:10:06 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id AA09984AAB\n for <dev@openvswitch.org>; Fri,  8 May 2026 22:10:02 +0000 (UTC)","from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Imk04St9kyQx for <dev@openvswitch.org>;\n Fri,  8 May 2026 22:10:01 +0000 (UTC)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by smtp1.osuosl.org (Postfix) with ESMTPS id B087B84ABA\n for <dev@openvswitch.org>; Fri,  8 May 2026 22:10:00 +0000 (UTC)","from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-387-9oZYPU_JONenbfrcPE9oIQ-1; Fri,\n 08 May 2026 18:09:57 -0400","from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 12DD119560B5\n for <dev@openvswitch.org>; Fri,  8 May 2026 22:09:57 +0000 (UTC)","from aldebaran.netbird.cloud (unknown [10.44.32.34])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 14C173002D30; Fri,  8 May 2026 22:09:55 +0000 (UTC)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections -\n client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp2.osuosl.org CC1F6413CF","OpenDKIM Filter v2.11.0 smtp1.osuosl.org B087B84ABA"],"Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=170.10.129.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=tredaelli@redhat.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp1.osuosl.org B087B84ABA","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1778278199;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=DHlnrKGhTVf6iwR0HSL8AS7jeXGsnZjlRQxQBJV3Yls=;\n b=h2nqchyqBdL7tSF5IRth/xInMSIWpRA8bmbpy2M+GOb4MZWDvWEPKNZQEP45tCKpcV7JPL\n OhW0ZMDHoF4A9b6qeFaD/ibs3lfZnxyJf+1UAPSIgShkrOnCdEMpugbe0bLPpdtmjGfhjO\n ppEU+J+YNzEoaggcXHJCDysd6xj8mQE=","X-MC-Unique":"9oZYPU_JONenbfrcPE9oIQ-1","X-Mimecast-MFC-AGG-ID":"9oZYPU_JONenbfrcPE9oIQ_1778278197","To":"dev@openvswitch.org","Date":"Sat,  9 May 2026 00:08:36 +0200","Message-ID":"\n <6bc51468a7135ad7dc6af8d9747a643ef672ec77.1778261956.git.tredaelli@redhat.com>","In-Reply-To":"<cover.1778261956.git.tredaelli@redhat.com>","References":"<cover.1778261956.git.tredaelli@redhat.com>","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.4.1 on 10.30.177.4","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"TUpAsqtTUVCZQCKPP1vmkPztvNJ-xz2lS2-xFzjTua8_1778278197","X-Mimecast-Originator":"redhat.com","Subject":"[ovs-dev] [PATCH v3 4/6] lib: Rename include/openvswitch/packets.h\n to net-proto.h.","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","From":"Timothy Redaelli via dev <ovs-dev@openvswitch.org>","Reply-To":"Timothy Redaelli <tredaelli@redhat.com>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ovs-dev-bounces@openvswitch.org","Sender":"\"dev\" <ovs-dev-bounces@openvswitch.org>"},"content":"The public header include/openvswitch/packets.h is renamed to\nnet-proto.h to better reflect its contents after the network\nprotocol code was moved into the net-proto module.\n\nCo-authored-by: Aaron Conole <aconole@redhat.com>\nSigned-off-by: Aaron Conole <aconole@redhat.com>\nSigned-off-by: Timothy Redaelli <tredaelli@redhat.com>\n---\n include/openvswitch/automake.mk                | 2 +-\n include/openvswitch/flow.h                     | 2 +-\n include/openvswitch/match.h                    | 2 +-\n include/openvswitch/meta-flow.h                | 2 +-\n include/openvswitch/{packets.h => net-proto.h} | 7 ++++---\n lib/ofp-ct.c                                   | 2 +-\n lib/ofp-match.c                                | 2 +-\n lib/packets.h                                  | 2 +-\n 8 files changed, 11 insertions(+), 10 deletions(-)\n rename include/openvswitch/{packets.h => net-proto.h} (95%)","diff":"diff --git a/include/openvswitch/automake.mk b/include/openvswitch/automake.mk\nindex 0cc1f569e..e1e96a6fe 100644\n--- a/include/openvswitch/automake.mk\n+++ b/include/openvswitch/automake.mk\n@@ -35,7 +35,7 @@ openvswitchinclude_HEADERS = \\\n \tinclude/openvswitch/ofp-switch.h \\\n \tinclude/openvswitch/ofp-table.h \\\n \tinclude/openvswitch/ofp-util.h \\\n-\tinclude/openvswitch/packets.h \\\n+\tinclude/openvswitch/net-proto.h \\\n \tinclude/openvswitch/poll-loop.h \\\n \tinclude/openvswitch/rconn.h \\\n \tinclude/openvswitch/shash.h \\\ndiff --git a/include/openvswitch/flow.h b/include/openvswitch/flow.h\nindex 86edbb85f..0dadb0a3e 100644\n--- a/include/openvswitch/flow.h\n+++ b/include/openvswitch/flow.h\n@@ -17,7 +17,7 @@\n #define OPENVSWITCH_FLOW_H 1\n \n #include \"openflow/nicira-ext.h\"\n-#include \"openvswitch/packets.h\"\n+#include \"openvswitch/net-proto.h\"\n #include \"openvswitch/util.h\"\n \n #ifdef __cplusplus\ndiff --git a/include/openvswitch/match.h b/include/openvswitch/match.h\nindex 2e8812048..48ef2ec5e 100644\n--- a/include/openvswitch/match.h\n+++ b/include/openvswitch/match.h\n@@ -18,7 +18,7 @@\n #define OPENVSWITCH_MATCH_H 1\n \n #include \"openvswitch/flow.h\"\n-#include \"openvswitch/packets.h\"\n+#include \"openvswitch/net-proto.h\"\n #include \"openvswitch/tun-metadata.h\"\n \n #ifdef __cplusplus\ndiff --git a/include/openvswitch/meta-flow.h b/include/openvswitch/meta-flow.h\nindex eb95946df..1dfcc3c61 100644\n--- a/include/openvswitch/meta-flow.h\n+++ b/include/openvswitch/meta-flow.h\n@@ -26,7 +26,7 @@\n #include \"openvswitch/flow.h\"\n #include \"openvswitch/ofp-errors.h\"\n #include \"openvswitch/ofp-protocol.h\"\n-#include \"openvswitch/packets.h\"\n+#include \"openvswitch/net-proto.h\"\n #include \"openvswitch/util.h\"\n \n #ifdef __cplusplus\ndiff --git a/include/openvswitch/packets.h b/include/openvswitch/net-proto.h\nsimilarity index 95%\nrename from include/openvswitch/packets.h\nrename to include/openvswitch/net-proto.h\nindex a65cb0d04..b8baadc65 100644\n--- a/include/openvswitch/packets.h\n+++ b/include/openvswitch/net-proto.h\n@@ -14,10 +14,11 @@\n  * limitations under the License.\n  */\n \n-#ifndef OPENVSWITCH_PACKETS_H\n-#define OPENVSWITCH_PACKETS_H 1\n+#ifndef OPENVSWITCH_NET_PROTO_H\n+#define OPENVSWITCH_NET_PROTO_H 1\n \n #include <sys/types.h>\n+#include <sys/socket.h>\n #include <netinet/in.h>\n #include \"openvswitch/tun-metadata.h\"\n \n@@ -99,4 +100,4 @@ struct ovs_key_nsh {\n }\n #endif\n \n-#endif /* packets.h */\n+#endif /* net-proto.h */\ndiff --git a/lib/ofp-ct.c b/lib/ofp-ct.c\nindex 2e12790b4..20ce1aa20 100644\n--- a/lib/ofp-ct.c\n+++ b/lib/ofp-ct.c\n@@ -30,7 +30,7 @@\n #include \"openvswitch/ofp-errors.h\"\n #include \"openvswitch/ofp-prop.h\"\n #include \"openvswitch/ofp-util.h\"\n-#include \"openvswitch/packets.h\"\n+#include \"openvswitch/net-proto.h\"\n #include \"openvswitch/vlog.h\"\n \n VLOG_DEFINE_THIS_MODULE(ofp_ct);\ndiff --git a/lib/ofp-match.c b/lib/ofp-match.c\nindex 6525922ef..737cc2c3e 100644\n--- a/lib/ofp-match.c\n+++ b/lib/ofp-match.c\n@@ -23,7 +23,7 @@\n #include \"openvswitch/ofp-errors.h\"\n #include \"openvswitch/ofp-msgs.h\"\n #include \"openvswitch/ofp-port.h\"\n-#include \"openvswitch/packets.h\"\n+#include \"openvswitch/net-proto.h\"\n #include \"openvswitch/vlog.h\"\n \n VLOG_DEFINE_THIS_MODULE(ofp_match);\ndiff --git a/lib/packets.h b/lib/packets.h\nindex 35e40b2dd..647161b4b 100644\n--- a/lib/packets.h\n+++ b/lib/packets.h\n@@ -23,7 +23,7 @@\n #include <string.h>\n #include \"compiler.h\"\n #include \"openvswitch/geneve.h\"\n-#include \"openvswitch/packets.h\"\n+#include \"openvswitch/net-proto.h\"\n #include \"openvswitch/types.h\"\n #include \"net-proto.h\"\n #include \"openvswitch/nsh.h\"\n","prefixes":["ovs-dev","v3","4/6"]}