Home
last modified time | relevance | path

Searched full:session (Results 1 – 25 of 1146) sorted by relevance

12345678910>>...46

/openbmc/linux/net/can/j1939/
Dtransport.c
/openbmc/linux/net/bluetooth/hidp/
Dcore.c
/openbmc/qemu/crypto/
H A Dtlssession.c2 * QEMU crypto TLS session support
68 qcrypto_tls_session_free(QCryptoTLSSession *session) in qcrypto_tls_session_free() argument
70 if (!session) { in qcrypto_tls_session_free()
74 error_free(session->rerr); in qcrypto_tls_session_free()
75 error_free(session->werr); in qcrypto_tls_session_free()
77 gnutls_deinit(session->handle); in qcrypto_tls_session_free()
78 g_free(session->hostname); in qcrypto_tls_session_free()
79 g_free(session->peername); in qcrypto_tls_session_free()
80 g_free(session->authzid); in qcrypto_tls_session_free()
81 object_unref(OBJECT(session->creds)); in qcrypto_tls_session_free()
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DSession_v1.xml4 <!--# Redfish Schema: Session v1.8.0 -->
33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session">
37 <EntityType Name="Session" BaseType="Resource.v1_0_0.Resource" Abstract="true">
38 …nnotation Term="OData.Description" String="The `Session` resource describes a single connection (s…
39 …<Annotation Term="OData.LongDescription" String="This resource shall represent a session for a Red…
53 … <Annotation Term="OData.Description" String="Delete the `Session` resource to remove a session."/>
64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_0">
68 <EntityType Name="Session" BaseType="Session.Session">
72 … <Annotation Term="OData.Description" String="The username for the account for this session."/>
73 …matches an account recognized by the account service. When a creating a session through a Redfish…
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/
H A DSession_v1.xml4 <!--# Redfish Schema: Session v1.8.0 -->
33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session">
37 <EntityType Name="Session" BaseType="Resource.v1_0_0.Resource" Abstract="true">
38 …nnotation Term="OData.Description" String="The `Session` resource describes a single connection (s…
39 …<Annotation Term="OData.LongDescription" String="This resource shall represent a session for a Red…
53 … <Annotation Term="OData.Description" String="Delete the `Session` resource to remove a session."/>
64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_0">
68 <EntityType Name="Session" BaseType="Session.Session">
72 … <Annotation Term="OData.Description" String="The username for the account for this session."/>
73 …matches an account recognized by the account service. When a creating a session through a Redfish…
[all …]
/openbmc/linux/net/bluetooth/cmtp/
Dcore.c
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DSession.v1_8_0.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Session.v1_8_0.json",
3 "$ref": "#/definitions/Session",
61 "description": "The outbound connection associated with this session.",
62 …pe `OutboundConnection` that represents the outbound connection for this session. This property s…
90 "Session": { object
92 …"description": "The `Session` resource describes a single connection (session) between a client an…
93 … "longDescription": "This resource shall represent a session for a Redfish implementation.",
128 "description": "The IP address of the client that created the session.",
129 …Description": "This property shall contain the IP address of the client that created the session.",
138 "description": "A client-supplied string that is stored with the session.",
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DSession.v1_8_0.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Session.v1_8_0.json",
3 "$ref": "#/definitions/Session",
61 "description": "The outbound connection associated with this session.",
62 …pe `OutboundConnection` that represents the outbound connection for this session. This property s…
90 "Session": { object
92 …"description": "The `Session` resource describes a single connection (session) between a client an…
93 … "longDescription": "This resource shall represent a session for a Redfish implementation.",
128 "description": "The IP address of the client that created the session.",
129 …Description": "This property shall contain the IP address of the client that created the session.",
138 "description": "A client-supplied string that is stored with the session.",
[all …]
/openbmc/linux/kernel/trace/
Dtrace_stat.c
/openbmc/phosphor-net-ipmid/
H A Dsessions_manager.cpp4 #include "session.hpp"
15 namespace session namespace
18 static std::array<uint8_t, session::maxNetworkInstanceSupported>
29 index < session::maxNetworkInstanceSupported) in setNetworkInstance()
56 * Session ID is 0000_0000h for messages that are sent outside the session. in managerInit()
57 * The session setup commands are sent on this session, so when the session in managerInit()
58 * manager comes up, is creates the Session ID 0000_0000h. It is active in managerInit()
59 * through the lifetime of the Session Manager. in managerInit()
63 *getSdBus(), session::sessionManagerRootPath); in managerInit()
65 auto objPath = std::string(session::sessionManagerRootPath) + "/" + in managerInit()
[all …]
H A Dsession.hpp26 namespace session namespace
47 * @struct SequenceNumbers Session Sequence Numbers
49 * IPMI v2.0 RMCP+ Session Sequence Numbers are used for rejecting packets that
51 * two sets of Session SequenceNumbers for a given session.One set of inbound
55 * The individual Session Sequence Numbers is are initialized to zero whenever
56 * a session is created and incremented by one at the start of outbound
58 * as the sequence number, not 0). Session Sequence numbers are incremented for
84 * @class Session
86 * Encapsulates the data related to an IPMI Session
89 * a session. Once established, a session is identified by a Session ID. The
[all …]
H A Dmessage_parsers.hpp4 #include "session.hpp"
24 // RMCP Session Header Size
65 // IPMI partial session header
79 * @return A tuple with IPMI message and the session header type to sent the
80 * response packet. In case of success incoming message and session
81 * header type. In case of failure nullptr and session header type
89 * session header
92 * @param[in] authType - Session header type to be added to the IPMI
99 const std::shared_ptr<session::Session>& session);
131 * session header
[all …]
H A Dsessions_manager.hpp4 #include "session.hpp"
16 namespace session namespace
31 * to start a session, stop a session and get reference to the session objects.
42 // BMC Session ID is the key for the map
43 using SessionMap = std::map<SessionID, std::shared_ptr<Session>>;
68 throw std::runtime_error("failed to create session manager"); in get()
75 * @brief Start an IPMI session
77 * @param[in] remoteConsoleSessID - Remote Console Session ID mentioned
84 * @return session handle on success and nullptr on failure
87 std::shared_ptr<Session> startSession(
[all …]
/openbmc/linux/net/l2tp/
Dtrace.h
/openbmc/phosphor-net-ipmid/command/
H A Dsession_cmds.cpp42 auto session = session::Manager::get().getSession(handler->sessionID); in setSessionPrivilegeLevel() local
46 response->newPrivLevel = session->currentPrivilege(); in setSessionPrivilegeLevel()
50 static_cast<uint8_t>(session::Privilege::CALLBACK) || in setSessionPrivilegeLevel()
51 reqPrivilegeLevel > static_cast<uint8_t>(session::Privilege::OEM)) in setSessionPrivilegeLevel()
57 if (reqPrivilegeLevel > (static_cast<uint8_t>(session->reqMaxPrivLevel) & in setSessionPrivilegeLevel()
58 session::reqMaxPrivMask)) in setSessionPrivilegeLevel()
66 if (session->sessionChannelAccess.privLimit < in setSessionPrivilegeLevel()
67 session->sessionUserPrivAccess.privilege) in setSessionPrivilegeLevel()
69 minPriv = session->sessionChannelAccess.privLimit; in setSessionPrivilegeLevel()
73 minPriv = session->sessionUserPrivAccess.privilege; in setSessionPrivilegeLevel()
[all …]
H A Drakp34.cpp19 auto session = session::Manager::get().getSession(bmcSessionID); in applyIntegrityAlgo() local
21 auto authAlgo = session->getAuthAlgo(); in applyIntegrityAlgo()
27 session->setIntegrityAlgo( in applyIntegrityAlgo()
34 session->setIntegrityAlgo( in applyIntegrityAlgo()
46 auto session = session::Manager::get().getSession(bmcSessionID); in applyCryptAlgo() local
48 auto authAlgo = session->getAuthAlgo(); in applyCryptAlgo()
54 auto intAlgo = session->getIntegrityAlgo(); in applyCryptAlgo()
57 session->setCryptAlgo( in applyCryptAlgo()
82 // Session ID zero is reserved for Session Setup in RAKP34()
84 session::sessionZero) in RAKP34()
[all …]
/openbmc/openbmc-tools/reboot-ping-pong/
H A Drpp24 def __init__(self, session, prompt): argument
25 self.session = session
29 self.session.expect([".+".encode(), pexpect.TIMEOUT], timeout=5)
32 self.session.sendline()
34 self.session.sendline("obmcutil -w {}".format(cmd).encode())
35 self.session.expect(needle, timeout=None)
36 rc = self.session.after.decode()
53 self.session.sendline("obmcutil -w poweron")
54 self.session.expect(self.prompt)
57 self.session.sendline("obmcutil -w chassisoff")
[all …]
/openbmc/openbmc-test-automation/redfish/service_root/
H A Dtest_sessions_management.robot26 Create Session And Verify Response Code Using Different Credentials
27 [Documentation] Create session and verify response code using different
30 [Template] Create Session And Verify Response Code
40 Create Session And Verify Response Code Using Operator Credentials
41 [Documentation] Create session and verify response code using operator
44 [Template] Create Session And Verify Response Code
50 Set Session Timeout And Verify Response Code
51 [Documentation] Set Session Timeout And Verify Response Code.
53 [Template] Set Session Timeout And Verify
54 [Teardown] Set Session Timeout And Verify ${Default_Timeout_Value} ${HTTP_OK}
[all …]
/openbmc/linux/tools/perf/
Dbuiltin-daemon.c
/openbmc/phosphor-ipmi-blobs/
H A Dmanager.hpp52 uint16_t* session) = 0;
56 virtual bool stat(uint16_t session, BlobMeta* meta) = 0;
58 virtual bool commit(uint16_t session, const std::vector<uint8_t>& data) = 0;
60 virtual bool close(uint16_t session) = 0;
62 virtual std::vector<uint8_t> read(uint16_t session, uint32_t offset,
65 virtual bool write(uint16_t session, uint32_t offset,
70 virtual bool writeMeta(uint16_t session, uint32_t offset,
121 * Attempts to open the file specified and associates with a session.
125 * @param[in,out] session - pointer to store the session on success.
129 uint16_t* session) override;
[all …]
/openbmc/openbmc-test-automation/openpower/ext_interfaces/
H A Dtest_client_identifier.robot24 Create A Session With ClientID And Verify
25 [Documentation] Create a session with client id and verify client id is same.
27 [Template] Create And Verify Session ClientID
37 [Documentation] Create a session with client id and verify client id is same after the reboot.
39 [Template] Create And Verify Session ClientID
46 Create A Multiple Session With ClientID And Verify
47 [Documentation] Create a multiple session with client id and verify client id is same.
49 [Template] Create And Verify Session ClientID
57 …[Documentation] Create a multiple session with client id and verify client id is same after the r…
59 [Template] Create And Verify Session ClientID
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dsessionhelper.hpp8 * @brief parse session input payload.
10 * This function retrives the session id and session handle from the session
13 * "/xyz/openbmc_project/ipmi/session/channel/sessionId_sessionHandle"
15 * Ex: "/xyz/openbmc_project/ipmi/session/eth0/12a4567d_8a"
19 * @param[in] objectPath - session object path
20 * @param[in] sessionId - retrived session id will be asigned.
21 * @param[in] sessionHandle - retrived session handle will be asigned.
23 * @return true if session id and session handle are retrived else returns
33 // getting the position of session id and session handle string from in parseCloseSessionInputPayload()
39 // get the sessionid & session handle string from the session object in parseCloseSessionInputPayload()
[all …]
/openbmc/linux/tools/perf/Documentation/
Dperf-daemon.txt
/openbmc/phosphor-ipmi-blobs/blobs-ipmid/
H A Dblobs.hpp96 /* The methods below are per session. */
99 * Attempt to open a session from this path.
101 * @param[in] session - the session id.
104 * @return bool - was able to open the session.
106 virtual bool open(uint16_t session, uint16_t flags,
112 * @param[in] session - the session id.
117 virtual std::vector<uint8_t> read(uint16_t session, uint32_t offset,
123 * @param[in] session - the session id.
128 virtual bool write(uint16_t session, uint32_t offset,
134 * @param[in] session - the session id.
[all …]
/openbmc/linux/tools/perf/util/
Dsession.h

12345678910>>...46