Skip to content

Fix buffer copying inside send_packet.c #175

@Morcules

Description

@Morcules

Currently, swiftnet packet buffer stores all data in a single large buffer. To improve performance, append the Ethernet and IP headers every MTU bytes.
For example, if the MTU is 1500 bytes, append the Ethernet and IP headers at index 1500.
Send each chunk directly from the original buffer without copying it into a stack allocated buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions