Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 25 of 110) sorted by relevance

12345

/openbmc/bmcweb/http/
H A Dserver_sent_event.hpp16 struct Connection : public std::enable_shared_from_this<Connection> struct
19 Connection() = default;
21 Connection(const Connection&) = delete;
22 Connection(Connection&&) = delete;
23 Connection& operator=(const Connection&) = delete;
24 Connection& operator=(const Connection&&) = delete;
25 virtual ~Connection() = default;
H A Dwebsocket.hpp21 struct Connection : std::enable_shared_from_this<Connection> struct
24 Connection() = default;
26 Connection(const Connection&) = delete;
27 Connection(Connection&&) = delete;
28 Connection& operator=(const Connection&) = delete;
29 Connection& operator=(const Connection&&) = delete;
38 virtual ~Connection() = default;
H A Dwebsocket_impl.hpp45 class ConnectionImpl : public Connection
53 Adaptor adaptorIn, std::function<void(Connection&)> openHandlerIn, in ConnectionImpl() argument
54 std::function<void(Connection&, const std::string&, bool)> in ConnectionImpl()
56 std::function<void(crow::websocket::Connection&, std::string_view, in ConnectionImpl() argument
60 std::function<void(Connection&, const std::string&)> closeHandlerIn, in ConnectionImpl()
61 std::function<void(Connection&)> errorHandlerIn) : in ConnectionImpl()
151 std::shared_ptr<Connection> self = weak.lock(); in sendEx()
201 void acceptDone(const std::shared_ptr<Connection>& /*self*/, in acceptDone() argument
239 void afterRead(const std::shared_ptr<Connection>& /*self*/, in afterRead() argument
280 void afterWrite(const std::shared_ptr<Connection>& /*self*/, in afterWrite() argument
[all …]
H A Dserver_sent_event_impl.hpp37 class ConnectionImpl : public Connection
42 std::function<void(Connection&, const Request&)> openHandlerIn, in ConnectionImpl() argument
43 std::function<void(Connection&)> closeHandlerIn) : in ConnectionImpl()
88 void sendSSEHeaderCallback(const std::shared_ptr<Connection>& /*self*/, in sendSSEHeaderCallback() argument
115 void afterReadError(const std::shared_ptr<Connection>& /*self*/, in afterReadError() argument
151 void doWriteCallback(const std::shared_ptr<Connection>& /*self*/, in doWriteCallback() argument
226 std::weak_ptr<Connection> weakSelf = weak_from_this(); in startTimeout()
232 void onTimeoutCallback(const std::weak_ptr<Connection>& weakSelf, in onTimeoutCallback()
235 std::shared_ptr<Connection> self = weakSelf.lock(); in onTimeoutCallback()
272 std::function<void(Connection&, const Request&)> openHandler;
[all …]
H A Dhttp_connection.hpp73 class Connection : class
74 public std::enable_shared_from_this<Connection<Adaptor, Handler>>
76 using self_type = Connection<Adaptor, Handler>;
79 Connection(Handler* handlerIn, HttpType httpTypeIn, in Connection() function in crow::Connection
94 ~Connection() in ~Connection()
104 Connection(const Connection&) = delete;
105 Connection(Connection&&) = delete;
106 Connection& operator=(const Connection&) = delete;
107 Connection& operator=(Connection&&) = delete;
873 std::shared_ptr<Connection<Adaptor, Handler>> self = weakSelf.lock(); in afterTimerWait()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/gammu/gammu/
H A Dgammurc37 ; Step 1. Please find required Connection parameter and look into assigned
38 ; with it device type. With some Connection you must set concrete model
42 ; Connection "fbus", device type serial
44 ; Connection "fbusdlr3"/"dlr3", device type serial
47 ; Connection "dku2phonet"/"dku2", device type dku2 on Windows
48 ; Connection "fbususb" on Linux
51 ; Connection "dku5fbus"/"dku5", device type dku5
54 ; Connection "fbuspl2303", device type usb
56 ; Connection "mbus", device type serial
67 ; Connection "at19200"/"at115200"/.., device type serial
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/
H A D720240501dca0b4eacc3295665d7ced8719e11d2.patch32 - "Connection": "keep-alive",
40 + "Connection": [
55 - "Connection": "keep-alive",
67 + "Connection": [
102 - "Connection": "keep-alive",
110 + "Connection": [
125 - "Connection": "keep-alive",
137 + "Connection": [
172 - "Connection": "keep-alive",
180 + "Connection": [
[all …]
/openbmc/bmcweb/http/routing/
H A Dwebsocketrule.hpp92 std::function<void(websocket::Connection&)> openHandler;
93 std::function<void(websocket::Connection&, const std::string&, bool)>
95 std::function<void(websocket::Connection&, std::string_view,
99 std::function<void(websocket::Connection&, const std::string&)>
101 std::function<void(websocket::Connection&)> errorHandler;
H A Dsserule.hpp57 std::function<void(sse_socket::Connection&, const Request&)> openHandler;
58 std::function<void(sse_socket::Connection&)> closeHandler;
/openbmc/qemu/net/
H A Dcolo.c141 Connection *connection_new(ConnectionKey *key) in connection_new()
143 Connection *conn = g_slice_new0(Connection); in connection_new()
156 Connection *conn = opaque; in connection_destroy()
162 g_slice_free(Connection, conn); in connection_destroy()
217 Connection *connection_get(GHashTable *connection_track_table, in connection_get()
221 Connection *conn = g_hash_table_lookup(connection_track_table, key); in connection_get()
249 Connection *conn = g_hash_table_lookup(connection_track_table, key); in connection_has_tracked()
H A Dcolo.h69 typedef struct Connection { struct
88 } Connection; argument
96 Connection *connection_new(ConnectionKey *key);
98 Connection *connection_get(GHashTable *connection_track_table,
H A Dfilter-rewriter.c72 Connection *conn, in handle_primary_tcp_pkt()
178 Connection *conn, in handle_secondary_tcp_pkt()
260 Connection *conn; in colo_rewriter_receive_iov()
331 Connection *conn = (Connection *)value; in reset_seq_offset()
340 Connection *conn = (Connection *)value; in offset_is_nonzero()
/openbmc/openbmc-test-automation/redfish/service_root/
H A Dtest_sessions_connection.robot22 Create Session And Check Connection Stability
33 Create Session And Check Connection Stability On Reboot
34 [Documentation] Create Session And Check Connection Stability On Reboot
41 Repeat Keyword ${DURATION} Check Connection On Reboot
52 Check Connection On Reboot
/openbmc/openbmc-test-automation/lib/serial_connection/
H A Dserial_console_client.robot12 Open Telnet Connection To BMC Serial Console
26 Telnet.Open Connection
61 Open Telnet Connection To BMC Serial Console
66 Close Serial Console Connection
69 Close Serial Console Connection
74 Telnet.Close Connection
/openbmc/bmcweb/features/serial/
H A Dobmc_console.hpp43 crow::websocket::Connection& connIn) : in ConsoleHandler()
161 crow::websocket::Connection& conn;
165 crow::websocket::Connection*, std::shared_ptr<ConsoleHandler>, std::less<>,
166 std::vector<std::pair<crow::websocket::Connection*,
177 inline void onClose(crow::websocket::Connection& conn, const std::string& err) in onClose()
193 inline void connectConsoleSocket(crow::websocket::Connection& conn, in connectConsoleSocket()
232 crow::websocket::Connection& conn, const std::string& consoleObjPath, in processConsoleObject()
276 inline void onOpen(crow::websocket::Connection& conn) in onOpen()
324 inline void onMessage(crow::websocket::Connection& conn, in onMessage()
/openbmc/bmcweb/features/kvm/
H A Dkvm_websocket.hpp32 explicit KvmSession(crow::websocket::Connection& connIn) : in KvmSession()
170 crow::websocket::Connection& conn;
177 using SessionMap = boost::container::flat_map<crow::websocket::Connection*,
189 .onopen([](crow::websocket::Connection& conn) { in requestRoutes()
200 .onclose([](crow::websocket::Connection& conn, const std::string&) { in requestRoutes()
203 .onmessage([](crow::websocket::Connection& conn, in requestRoutes()
/openbmc/openbmc-test-automation/lib/
H A Dconnection_client.robot12 Open Connection And Log In
20 # connection_args A dictionary of acceptable inputs to the Open Connection
27 # Of the above arguments to Open Connection, this keyword
56 Open Connection for SCP
73 Validate Or Open Connection
79 # connection_args A dictionary of arguments to pass to Open Connection
103 ... Open Connection and Log In &{connection_args}
119 ... Switch Connection ${alias} AND
125 ... Switch Connection ${alias} AND
131 ... Switch Connection ${connection.index} AND
[all …]
/openbmc/bmcweb/features/openbmc_rest/
H A Ddbus_monitor.hpp39 using SessionMap = boost::container::flat_map<crow::websocket::Connection*,
53 crow::websocket::Connection* connection = in onPropertyUpdate()
54 static_cast<crow::websocket::Connection*>(userdata); in onPropertyUpdate()
139 .onopen([](crow::websocket::Connection& conn) { in requestRoutes()
143 .onclose([](crow::websocket::Connection& conn, const std::string&) { in requestRoutes()
146 .onmessage([](crow::websocket::Connection& conn, in requestRoutes()
/openbmc/bmcweb/features/virtual_media/
H A Dvm_websocket.hpp47 static crow::websocket::Connection* session = nullptr;
203 NbdProxyServer(crow::websocket::Connection& connIn, in NbdProxyServer()
422 crow::websocket::Connection& connection;
425 using SessionMap = boost::container::flat_map<crow::websocket::Connection*,
431 crow::websocket::Connection& conn, in afterGetSocket()
477 inline void onOpen(crow::websocket::Connection& conn) in onOpen()
506 inline void onClose(crow::websocket::Connection& conn, in onClose()
520 inline void onMessage(crow::websocket::Connection& conn, std::string_view data, in onMessage()
568 .onopen([](crow::websocket::Connection& conn) { in requestRoutes()
591 .onclose([](crow::websocket::Connection& conn, in requestRoutes()
[all …]
/openbmc/openbmc-test-automation/security/
H A Dtest_ssl.robot14 Test SSL Connection
20 Test Non SSL Connection To Port 80
28 Test Non SSL Connection To HTTPS Port
H A Dtest_bmc_network_security.robot103 SSHLibrary.Open Connection ${OPENBMC_HOST}
104 Open Connection And Log In ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}
142 SSHLibrary.Open Connection ${OPENBMC_HOST} port=${HOST_SOL_PORT}
148 Send Continuous TCP Connection Requests To Redfish Interface And Check Stability
154 ${connection_loss}= Establish TCP Connections And Get Connection Failures
166 Send Continuous TCP Connection Requests To IPMI Interface And Check Stability
172 ${connection_loss}= Establish TCP Connections And Get Connection Failures
183 Send Continuous TCP Connection Requests To SSH Interface And Check Stability
189 ${connection_loss}= Establish TCP Connections And Get Connection Failures
219 Open Connection And Log In ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Dsubscription.hpp56 explicit Subscription(crow::sse_socket::Connection& connIn);
81 bool matchSseId(const crow::sse_socket::Connection& thisConn);
93 crow::sse_socket::Connection* sseConn = nullptr;
/openbmc/qemu/tests/qemu-iotests/
H A D162.out9 … "localhost", "port": "0", "path": "/foo"}': Failed to connect to 'localhost:0': Connection refused
10 …driver=ssh,host=localhost,port=0,path=/foo': Failed to connect to 'localhost:0': Connection refused
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_bmc_config_ipv6.robot56 Verify SSH Connection Via IPv6 ${ipv6_slaac_addr}
72 ... Verify SSH Connection Via IPv6 ${ipv6_slaac_addr}
76 # Verify SSH Connection Via IPv6.
87 Open Connection And Log In ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD} host=${OPENBMC_HOST}
88 Verify SSH Connection Via IPv6
195 Open Connection And Log In ${SERVER_USERNAME} ${SERVER_PASSWORD} host=${SERVER_IPv6}
199 Verify SSH Connection Via IPv6
207 SSHLibrary.Open Connection ${OPENBMC_HOST_IPv6}
210 …Open Connection And Log In ${SERVER_USERNAME} ${SERVER_PASSWORD} host=${SERVER_IPv6} alias=IPv…
211 SSHLibrary.Open Connection ${OPENBMC_HOST_IPv6}
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Deventservice_sse.hpp26 inline void createSubscription(crow::sse_socket::Connection& conn, in createSubscription()
80 inline void deleteSubscription(crow::sse_socket::Connection& conn) in deleteSubscription()

12345