google / google/gvisor

Reduce code duplication between IPv4 and IPv6

Open
#4,528 0 comments 0 reactions 0 assignees View on GitHub
area: networking type: enhancement
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

A lot of code in the packages ipv4 and ipv6 is the same, it should be redesigned so most of it can be shared between the two packages.

For example, most of the code in the functions WritePacket/WritePackets is the same (fragmentation, iptable filtering, NAT rules). It should be extracted in a common package and reused by each IP protocol.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.