From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id E7E935A004E for ; Fri, 02 Aug 2024 18:10:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722615042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BvQJ+rp3wWljqFpNmTW1iXmH9qvgg0Kn14fZFfnZ2RM=; b=D71CzxdJ5/dGNLdoqyPBh0sJ/5mfIMegmqYKyWHb3skw/MFwJwmVW1/E0lOC3RBuZYbtjV nzaBGl6Qy6znncsDmqTw3L9QT2qJn3dJq/UnhC7GVvF84IKgbnptWtud1kBrgauBZTDjTd sHKlI2XF2QmCKGo/xDNN7goc6KtAfTA= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-689-cPIp0zrPO_Wy3i2uOm_0Ow-1; Fri, 02 Aug 2024 12:10:40 -0400 X-MC-Unique: cPIp0zrPO_Wy3i2uOm_0Ow-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C3A591955D45 for ; Fri, 2 Aug 2024 16:10:38 +0000 (UTC) Received: from lenovo-t14s.redhat.com (unknown [10.39.192.179]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id C8FA8300018D; Fri, 2 Aug 2024 16:10:37 +0000 (UTC) From: Laurent Vivier To: passt-dev@passt.top Subject: [PATCH 0/2] udp_flow: move all udp_flow functions to udp_flow.c Date: Fri, 2 Aug 2024 18:10:34 +0200 Message-ID: <20240802161036.1404559-1-lvivier@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-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: MLORONEU6WLINBEFPVXE4T2ZHDST5PYD X-Message-ID-Hash: MLORONEU6WLINBEFPVXE4T2ZHDST5PYD X-MailFrom: lvivier@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Laurent Vivier X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This helps to export them and use them with vhost-user version=0D of udp.c=0D =0D There is only one code change: pass s_in rather than udp_meta_t to=0D udp_flow_from_sock() as udp_meta_t is specific to the socket version=0D of udp.c=0D =0D Otherwise, only code move=0D =0D Signed-off-by: Laurent Vivier =0D =0D Laurent Vivier (2):=0D udp_flow: Remove udp_meta_t from the parameters of=0D udp_flow_from_sock()=0D udp_flow: move all udp_flow functions to udp_flow.c=0D =0D Makefile | 2 +-=0D udp.c | 264 +--------------------------------------------------=0D udp_flow.c | 274 +++++++++++++++++++++++++++++++++++++++++++++++++++++=0D udp_flow.h | 9 ++=0D 4 files changed, 286 insertions(+), 263 deletions(-)=0D create mode 100644 udp_flow.c=0D =0D --=20=0D 2.45.2=0D =0D