Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ CSubNet
Method
CSubNet
src/netaddress.cpp:1045–1049 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1043
}
1044
1045
CSubNet::CSubNet():
1046
valid(false)
1047
{
1048
memset(netmask, 0, sizeof(netmask));
1049
}
1050
1051
CSubNet::CSubNet(const CNetAddr& addr, uint8_t mask) : CSubNet()
1052
{
Callers
nothing calls this directly
Calls
5
NetmaskBits
Function · 0.85
IsIPv4
Method · 0.80
IsIPv6
Method · 0.80
size
Method · 0.45
data
Method · 0.45
Tested by
no test coverage detected