return context.serverFactoryContext().singletonManager().getTyped<const Cilium::NetworkPolicyMap>(
IpAddressPair Config::getIpAddressPairWithPort(uint16_t port, const IpAddressPair& addresses) {
// This is the case for L7 LB listeners only. This is needed to allow traffic forwarded by Cilium
ENVOY_LOG(debug, "EGRESS POD IP: {}, destination IP: {} sni: \"{}\"", pod_ip, other_ip, sni);
// port directly, maybe via some other, non-L7 LB service. We keep the original source port number
} else if (!use_original_source_address_ || (npmap_ != nullptr && npmap_->exists(other_ip))) {
StreamInfo::FilterState::StateType::ReadOnly, StreamInfo::FilterState::LifeSpan::Connection,
auto status = socket.setSocketOption(SOL_SOCKET, SO_KEEPALIVE, &keepalive, sizeof(keepalive));