MCPcopy Create free account
hub / github.com/COVESA/vsomeip / update

Method update

implementation/endpoints/src/local_socket_uds_impl.cpp:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool local_socket_uds_impl::update(vsomeip_sec_client_t& _client, [[maybe_unused]] configuration const& _configuration) {
110 std::scoped_lock const lock{socket_mtx_};
111 if (!socket_->get_peer_credentials(_client)) {
112 VSOMEIP_ERROR_P << "Could not getsockopt(SO_PEERCRED), errno " << errno;
113 return false;
114 }
115 return true;
116}
117
118port_t local_socket_uds_impl::own_port() const {
119 return VSOMEIP_SEC_PORT_UNUSED;

Callers 2

is_allowedMethod · 0.45
add_connectionMethod · 0.45

Calls 1

get_peer_credentialsMethod · 0.45

Tested by

no test coverage detected