Compose tcp.endpoint with network.Endpoint
Open
area: networking
revived
type: bug
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
### Description
transport/internal/network.Endpoint implements common facilities shared to send/receive datagrams over a network protocol. UDP, ICMP, RAW endpoints are composed with that type.
We can treat each TCP segment as a network datagram, so tcp.endpoint can be composed by a transport/internal/network.Endpoint. This will lead to reduced code duplication.
### Steps to reproduce
_No response_
### runsc version
_No response_
### docker version (if using docker)
_No response_
### uname
_No response_
### kubectl (if using Kubernetes)
_No response_
### repo state (if built from source)
_No response_
### runsc debug logs (if available)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.