MCPcopy Create free account
hub / github.com/apple/foundationdb / isLocalAddress

Method isLocalAddress

fdbrpc/FlowTransport.actor.cpp:1530–1534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1528}
1529
1530bool TransportData::isLocalAddress(const NetworkAddress& address) const {
1531 return address == localAddresses.getAddressList().address ||
1532 (localAddresses.getAddressList().secondaryAddress.present() &&
1533 address == localAddresses.getAddressList().secondaryAddress.get());
1534}
1535
1536void TransportData::applyPublicKeySet(StringRef jwkSetString) {
1537 auto jwks = JsonWebKeySet::parse(jwkSetString, {});

Callers 3

deliverFunction · 0.80
sendReliableMethod · 0.80
sendUnreliableMethod · 0.80

Calls 2

getMethod · 0.65
presentMethod · 0.45

Tested by

no test coverage detected