Skip to content

Use writev for netlink requests#1541

Draft
tamird wants to merge 1 commit into
aya-rs:mainfrom
tamird:netlink-vecio
Draft

Use writev for netlink requests#1541
tamird wants to merge 1 commit into
aya-rs:mainfrom
tamird:netlink-vecio

Conversation

@tamird
Copy link
Copy Markdown
Member

@tamird tamird commented Apr 20, 2026

Build netlink request headers and attributes as independent byte slices
and send them with writev instead of copying them into fixed-size
scratch buffers.

Centralize netlink attribute header padding so callers assemble the
request from explicit payload slices while preserving the expected
aligned wire layout.


This change is Reviewable

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 20, 2026

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8ed9e5f
🔍 Latest deploy log https://app.netlify.com/projects/aya-rs-docs/deploys/69e58ef7cfcebe0008d19e2e
😎 Deploy Preview https://deploy-preview-1541--aya-rs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Build netlink request headers and attributes as independent byte slices
and send them with writev instead of copying them into fixed-size
scratch buffers.

Centralize netlink attribute header padding so callers assemble the
request from explicit payload slices while preserving the expected
aligned wire layout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant