Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-cpp
/ IsIPv4
Method
IsIPv4
codelab/network_functions.h:85–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
84
bool IsZeroValue() const { return version_ == IpVersion::kUnset; }
85
bool IsIPv4() const { return version_ == IpVersion::kIPv4; }
86
bool IsIPv6() const { return false; }
87
88
absl::optional<uint32_t> TryGetIPv4() const {
Callers
1
Match
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected