summaryrefslogtreecommitdiffstats
path: root/sessions_manager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* netipmid: use std::shared_ptr instead of weak_ptr/lockVernon Mauery2018-11-061-6/+6
| | | | | | | | | | | | | All of the instances of getSession and startSession were assigning the result to a local shared_ptr via lock on the weak_ptr. It doesn't make sense to demote the shared_ptr (from the sessionsMap) to a weak_ptr via the return, only to promote to a shared_ptr again via lock. Tested-by: running ipmitool -H a.b.c.d -P 0penBmc -I lanplus mc info Sessions start and stop, same as before. Change-Id: Ic10779285891d73ee51115f16ed0000b38d1c52a Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* netipmid: apply clang-format rulesVernon Mauery2018-11-021-70/+69
| | | | | | | | Lots of whitespace change. Let clang-format do its job and keep the code looking nice. Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* Correct doxygen syntax in phosphor-net-ipmidTom Joseph2017-05-231-6/+6
| | | | | | | Resolves openbmc/openbmc#1147 Change-Id: I57ab1b09ec1bf308cc3d97cd30b2d18564beb38b Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Authentication Algo keeps record of the Confidentiality algoTom Joseph2017-02-241-1/+3
| | | | | | | | | The confidentiality algo negotiated during Open Session Request would be stored in the Authentication algorithm and is activated once the session setup is successful. Change-Id: I4d5efd71a992dd0cf505bcf7a6d9ebb394bcb880 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Authentication Algorithm keeps record of the Integrity algoTom Joseph2017-01-171-1/+3
| | | | | | | | | The Integrity algorithm negotiated during Open Session Request would be stored in the Authentication algorithm and is activated once the session setup is successful. Change-Id: I780680c8991487f8fd9030217793f2b0d0fa8a25 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Session Commands ImplementationTom Joseph2017-01-091-1/+3
| | | | | | | | Implements Set Session Privilege Command and Close Session command. Change-Id: I18aeee7bcae48db3eb8a61292c9333ca2304dcf1 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Sessions Manager to manage IPMI sessionsTom Joseph2016-12-121-0/+96
IPMI Sessions manager is responsible for managing IPMI sessions and routines for starting and stopping sessions. Change-Id: Ic5c559fdc0dab0145e463689026c2f1c66f24a59 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud