commit | e8f6b6814e12a8e07fa77c7f2be91f2779c8e164 | [log] [tgz] |
---|---|---|
author | James Robinson <jamesr@fuchsia.infra.roller.google.com> | Sat Oct 26 01:52:47 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Oct 25 18:55:01 2024 -0700 |
tree | 691209de46fe0bad3e70825867b2360753b74709 | |
parent | 7a4ff3d1e09f859ae262209f1b0467b4e3e7a004 [diff] |
[roll] Roll fuchsia [zxio][netstack] Refactor UDP prelude constant sizes The networking stack and client library (zxio) have to agree with each other on the size of the UDP prelude messages passed in datagram socket buffers. This constant must be available to C++ code in zxio and to Go code in netstack. To arrange for this, there are constants defined in C and exposed via CGo. This rearranges the definitions of these constants into the following layers: 1. zxio defines the sizes that it uses as C++ inline constexpr variables in a udp_socket_private.h header. This header is restricted by visibility rules to be accessible only by zxio and parts of netstack. 2. src/connectivity/network/netstack/udp_serde relies on its C compatible definition for the routines exposed via CGo and contains static assertions that these constants match the values used by zxio. As a result zxio no longer has a dependency on //src/connectivity/.. for these particular constants and the zxio code can use constexpr variables with the values available inline. This makes the values available for use in constexpr contexts and provides a (minor) opportunity for further toolchain optimizations. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1130269 Original-Revision: 32eb90cf69e283507622500c19139bdb4235161c GitOrigin-RevId: b170f0aba825a28a58e6481f4110ed3e37946cfa Change-Id: Ief9fe484e5e48e91e5dfd0e85e50e1e499d993c9
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.