HomePhabricator

Network stack refactor
67a42f929b14Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Network stack refactor

This introduces CNetAddr and CService, respectively wrapping an
(IPv6) IP address and an IP+port combination. This functionality used
to be part of CAddress, which also contains network flags and
connection attempt information. These extra fields are however not
always necessary.

These classes, along with logic for creating connections and doing
name lookups, are moved to netbase.{h,cpp}, which does not depend on
headers.h.

Furthermore, CNetAddr is mostly IPv6-ready, though IPv6
functionality is not yet enabled for the application itself.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Jan 3 2012, 22:33
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING7486c64dd843: Merge pull request #740 from TheBlueMatt/perf
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGING67a42f929b14: Network stack refactor (authored by Pieter Wuille <pieter.wuille@gmail.com>).Jan 6 2012, 17:55