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

struct xdp_md_ needs to be renamed to struct xdp_md #762

Closed
shpalani opened this issue Dec 13, 2024 · 0 comments · Fixed by #763
Closed

struct xdp_md_ needs to be renamed to struct xdp_md #762

shpalani opened this issue Dec 13, 2024 · 0 comments · Fixed by #763
Assignees

Comments

@shpalani
Copy link
Contributor

shpalani commented Dec 13, 2024

Currently, XDP-for-windows has struct xdp_md_ (with an underscore at the end)

typedef struct **xdp_md_** {
    void *data;               ///< Pointer to start of packet data.
    void *data_end;           ///< Pointer to end of packet data.
    uint64_t data_meta;       ///< Packet metadata.
    uint32_t ingress_ifindex; ///< Ingress interface index.
 
    /* size: 26, cachelines: 1, members: 4 */
    /* last cacheline: 26 bytes */
} xdp_md_t;

As per ebpf, it should be 'struct xdp_md'.

@shpalani shpalani self-assigned this Dec 13, 2024
@shpalani shpalani linked a pull request Dec 13, 2024 that will close this issue
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 a pull request may close this issue.

1 participant