Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aya-ebpf: XdpContext adjust_{head|tail|meta} API #949

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 17, 2024

  1. aya-ebpf: XdpContext adjust_{head|tail|meta} API

    Added new public API for the `XdpContext`:
    - `adjust_head` : To grow the packet buffer at the beginning
    - `adjist_tail` : To grow the packet buffer at the end
    - `adjust_meta` : To grow metadata area
    
    These API are handy for packet processing when additional headers etc.
    are to be pushed to the packet.
    
    Also added these APIs using `cargo xtask public-api --bless`
    
    Refs: aya-rs#948
    gabhijit committed May 17, 2024
    Configuration menu
    Copy the full SHA
    23d82dc View commit details
    Browse the repository at this point in the history