[PR #1890] [RUST] Added XDS module #2679

Open
opened 2026-01-29 17:23:23 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1890
Author: @vatsalkeshav
Created: 12/24/2025
Status: 🔄 Open

Base: masterHead: rusty-xds-decoder


📝 Commits (10+)

  • e7e3074 xds module : boilerplate created
  • 9cd688b xds module : added datatypes(structs, enums) and C<->Rust data transfer library
  • cb9f397 xds module : added xdsprint(function) rust implementation
  • 82e65f4 xds module : added complete internal rust implementation
  • cadd313 xds module : added ffi implementation
  • c710032 xds module : fixes requested : 1, 2, 3, 4
  • 0c57396 xds module : fix clippy warnings
  • 49d4f2b xds module : fix clippy warnings
  • e53f88f xds module : running regression tests again with C variants in charge
  • a1d587f xds module : running regression tests again with Rust variants in charge

📊 Changes

11 files changed (+2073 additions, -1 deletions)

View changed files

📝 src/lib_ccx/ccx_decoders_xds.c (+24 -0)
📝 src/lib_ccx/lib_ccx.h (+2 -0)
📝 src/rust/Cargo.lock (+1 -0)
📝 src/rust/Cargo.toml (+1 -0)
📝 src/rust/build.rs (+1 -0)
📝 src/rust/src/lib.rs (+1 -0)
📝 src/rust/src/libccxr_exports/time.rs (+1 -1)
src/rust/src/xds/handlers.rs (+1416 -0)
src/rust/src/xds/mod.rs (+91 -0)
src/rust/src/xds/types.rs (+534 -0)
📝 src/rust/wrapper.h (+1 -0)

📄 Description

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.
  • I have mentioned this change in the changelog.

My familiarity with the project is as follows (check one):

  • I have never used CCExtractor.
  • I have used CCExtractor just a couple of times.
  • I absolutely love CCExtractor, but have not contributed previously.
  • I am an active contributor to CCExtractor.

This pull request migrates ccx_decoders_xds.c and ccx_decoders_xds.h to /src/rust/xds rust module.

  • mod.rs : exposes the Rust implementation to the C codebase
  • types.rs : has types and structures for decoding extended data
  • handlers.rs : has handler functions for processing extended data packets

Tested on stream : https://sampleplatform.ccextractor.org/sample/b22260d065ab537899baaf34e78a5184671f4bcb2df0414d05e6345adfd7812f


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1890 **Author:** [@vatsalkeshav](https://github.com/vatsalkeshav) **Created:** 12/24/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `rusty-xds-decoder` --- ### 📝 Commits (10+) - [`e7e3074`](https://github.com/CCExtractor/ccextractor/commit/e7e30747456358642014d0801311ca6b50ff7ab1) xds module : boilerplate created - [`9cd688b`](https://github.com/CCExtractor/ccextractor/commit/9cd688bdc0eda102dbe064b9a6246850e5cb6c9f) xds module : added datatypes(structs, enums) and C<->Rust data transfer library - [`cb9f397`](https://github.com/CCExtractor/ccextractor/commit/cb9f397054aebbe7a60fb63342077be6fb368c81) xds module : added xdsprint(function) rust implementation - [`82e65f4`](https://github.com/CCExtractor/ccextractor/commit/82e65f4378d654997cfd95bf1888a884e6118685) xds module : added complete internal rust implementation - [`cadd313`](https://github.com/CCExtractor/ccextractor/commit/cadd3131c5582a277705fd84f24cac2f28fb86ef) xds module : added ffi implementation - [`c710032`](https://github.com/CCExtractor/ccextractor/commit/c7100329bebfdc5294793f84bf727b265905dbca) xds module : fixes requested : 1, 2, 3, 4 - [`0c57396`](https://github.com/CCExtractor/ccextractor/commit/0c573969961f081349b82767a726c040bbfbfa8e) xds module : fix clippy warnings - [`49d4f2b`](https://github.com/CCExtractor/ccextractor/commit/49d4f2b0d442b1838c1db994cc7fcf1e4ab0aaf3) xds module : fix clippy warnings - [`e53f88f`](https://github.com/CCExtractor/ccextractor/commit/e53f88f659df5fc70d5a026adf89ccfa1086aa33) xds module : running regression tests again with C variants in charge - [`a1d587f`](https://github.com/CCExtractor/ccextractor/commit/a1d587ff3c20d476a1cc33778954ee85c1f6f014) xds module : running regression tests again with Rust variants in charge ### 📊 Changes **11 files changed** (+2073 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/lib_ccx/ccx_decoders_xds.c` (+24 -0) 📝 `src/lib_ccx/lib_ccx.h` (+2 -0) 📝 `src/rust/Cargo.lock` (+1 -0) 📝 `src/rust/Cargo.toml` (+1 -0) 📝 `src/rust/build.rs` (+1 -0) 📝 `src/rust/src/lib.rs` (+1 -0) 📝 `src/rust/src/libccxr_exports/time.rs` (+1 -1) ➕ `src/rust/src/xds/handlers.rs` (+1416 -0) ➕ `src/rust/src/xds/mod.rs` (+91 -0) ➕ `src/rust/src/xds/types.rs` (+534 -0) 📝 `src/rust/wrapper.h` (+1 -0) </details> ### 📄 Description <!-- Please prefix your pull request with one of the following: **[FEATURE]** **[FIX]** **[IMPROVEMENT]**. --> **In raising this pull request, I confirm the following (please check boxes):** - [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [x] I have checked that another pull request for this purpose does not exist. - [x] I have considered, and confirmed that this submission will be valuable to others. - [x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [x] I give this submission freely, and claim no ownership to its content. - [ ] **I have mentioned this change in the [changelog](https://github.com/CCExtractor/ccextractor/blob/master/docs/CHANGES.TXT).** **My familiarity with the project is as follows (check one):** - [ ] I have never used CCExtractor. - [x] I have used CCExtractor just a couple of times. - [ ] I absolutely love CCExtractor, but have not contributed previously. - [ ] I am an active contributor to CCExtractor. --- This pull request migrates `ccx_decoders_xds.c` and `ccx_decoders_xds.h` to `/src/rust/xds` rust module. - `mod.rs` : exposes the Rust implementation to the C codebase - `types.rs` : has types and structures for decoding extended data - `handlers.rs` : has handler functions for processing extended data packets Tested on stream : https://sampleplatform.ccextractor.org/sample/b22260d065ab537899baaf34e78a5184671f4bcb2df0414d05e6345adfd7812f --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:23:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2679