Skip to content

Commit 52db0e4

Browse files
Collapse IPEndPointBasis into UDPEndPoint (#11135)
* Collapse IPEndPointBasis into UDPEndPoint #### Problem For historical reasons, Inet EndPoints have an unnecessarily deep class hierarchy: InetLayerBasis EndPointBasis TCPEndPoint IPEndPointBasis UDPEndPoint #### Change overview This change moves the contents of IPEndPointBasis into UDPEndPoint. InetLayerBasis EndPointBasis TCPEndPoint UDPEndPoint Since comparing moved code in diff format is difficult, this change explicitly does NOT make any changes to moved code; a future change will remove redundancies. Transitionally, methods that would have duplicate names have are prefixed with `Ip` here. This is a step toward #7715 _Virtualize System and Inet interfaces_. #### Testing CI; no changes to functionality. * Restyled by clang-format Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 149e582 commit 52db0e4

18 files changed

+1611
-1756
lines changed

src/inet/BUILD.gn

-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ static_library("inet") {
7272
"IPAddress-StringFuncts.cpp",
7373
"IPAddress.cpp",
7474
"IPAddress.h",
75-
"IPEndPointBasis.cpp",
76-
"IPEndPointBasis.h",
7775
"IPPrefix.cpp",
7876
"IPPrefix.h",
7977
"Inet.h",

0 commit comments

Comments
 (0)