summaryrefslogtreecommitdiffstats
path: root/socket_channel.hpp
Commit message (Collapse)AuthorAgeFilesLines
* style: cppcheck cleanupPatrick Venture2018-11-081-3/+2
| | | | | | | | | | | | | | | | | | | [command/guid.cpp:37]: (style) The scope of the variable 'rc' can be reduced. [socket_channel.hpp:44]: (performance) Variable 'timeout' is assigned in constructor body. Consider performing initialization in initialization list. [sd_event_loop.cpp:107]: (style) The scope of the variable 'instance' can be reduced. [sd_event_loop.cpp:108]: (style) The scope of the variable 'rc' can be reduced. [sd_event_loop.cpp:142]: (style) The scope of the variable 'instance' can be reduced. [sd_event_loop.cpp:304]: (style) The scope of the variable 'rc' can be reduced. Change-Id: Id090cb217ea7ed9019f1b8d39ebebd6bb73113b1 Signed-off-by: Patrick Venture <venture@google.com>
* netipmid: apply clang-format rulesVernon Mauery2018-11-021-91/+91
| | | | | | | | 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>
* explicit use of std::vector instead of buffer/BufferVernon Mauery2017-12-051-3/+2
| | | | | | | | | | There were several scoped 'using buffer = std::vector<uint8_t>;' in header files. This consolidates the code base to use std::vector<uint8_t> instead of buffer or Buffer. This makes the code easier to read and debug. Change-Id: I918a0f6ca9b8e4b9d331175dccff45cbf4c8379d Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* Fix compilation errors for x86-64 SDKTom Joseph2017-02-091-1/+1
| | | | | Change-Id: Ia515f3bb6687a1bfc1c37fb33e37602ab9d91950 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* IPMI Main HandlerTom Joseph2017-01-091-2/+2
| | | | | | | | | | | This patch contains the entry point for the IPMI RMCP Server. It registers the session setup commands and start the IPMI event handler. Resolves openbmc/openbmc#429 Change-Id: I98a615eef9becb29964f8ec93e59d061bfcdfac3 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* IPMI Socket Class to encapsulate the socket operationsTom Joseph2016-11-081-0/+124
This class represents the details regarding an IPMI client like IP address, port number and the file descriptor associated with it. The operations provided are reading the UDP packet, writing the packet. Change-Id: I58cde0edb04fd2fbedd3068de83379eebea8508d Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud