Skip to content

Swift IPv4 add support for outbound fragments#56

Open
agnosticdev wants to merge 1 commit into
mainfrom
agnosticdev/IPv4OutboundFragments
Open

Swift IPv4 add support for outbound fragments#56
agnosticdev wants to merge 1 commit into
mainfrom
agnosticdev/IPv4OutboundFragments

Conversation

@agnosticdev

Copy link
Copy Markdown
Collaborator

Add support for Swift IPv4 for outbound fragmentation.

@agnosticdev
agnosticdev requested a review from rpaulo July 22, 2026 23:35

mutating func writeOutboundFrames(_ frames: inout FrameArray) {
frames.iterateMutableFrames { frame in
var output = FrameArray()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we avoid unconditionally creating a new array here? If we don't need fragmentation, I'd rather modify in place

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.

2 participants